1

Topic: Update control elements from the board

New feature for test.
You can send values of input variables from board to GUI and change control elements: switches, sliders, edit fields and others.

RemoteXY.switch_1 = 1;
RemoteXY_sendInputVariables ();

Manual of this function by link https://remotexy.com/en/help/api/
Supported in library for Arduino IDE ver.2.4.6

2

Re: Update control elements from the board

WOW, this is a major improvement!
Thank you very much.

This will make this tool much more functional.

3

Re: Update control elements from the board

Nice, finally! The most wanted feature, for me at least, and after trying, it works... Thx!

4

Re: Update control elements from the board

Nice !  and worth the wait.....

Now what would be even nicer is a way of configuring the "Edit Field" widget to NOT accept input.  That way we would have a nice "display only" tool we can use instead of having to convert all numbers to char arrays and display as Text objects.

Everything works with smoke - if you let it out, things stop working....

5 (edited by Seventh Dwarf 2020-07-06 12:07:58)

Re: Update control elements from the board

Hello,

I'm using RemoteXY since several years now for different ( simple ) project.
Now I have started a little bit more complex project and I like to show an animation of a wheel in the GUI.

As far as I could see, there is no possibility to show pictures, neither static nor as animation, in the GUI.
Therefore I tried to use the "Linear Level" indicator to animate a rotating wheel ( looking from above )

I recognized the new feature and wondering if it would be possible to change the center position parameter of the
indicator by the RemoteXY_sendInputVariables () function.
Or is it only possible to change the value?

with best regards
Seventh

EDIT: ok, I understood that this new feature is only for input variables, like switches, buttons etc.
Is there a way to manipulate the parameters of an output element?

6

Re: Update control elements from the board

Seventh Dwarf wrote:

Hello,


I recognized the new feature and wondering if it would be possible to change the center position parameter of the
indicator by the RemoteXY_sendInputVariables () function.
Or is it only possible to change the value?

with best regards
Seventh

EDIT: ok, I understood that this new feature is only for input variables, like switches, buttons etc.
Is there a way to manipulate the parameters of an output element?

The configured attributes of devices is decided at GUI build stage, and cannot be changed by any code. The GUI is uploaded to your RemoteXY app on your phone just once only, and that decides what each widget does, how it looks, etc.

Only the data elements named in the Input and Output variables section of the RemoteXY "#include" are exposed to your sketch.

Everything works with smoke - if you let it out, things stop working....

7

Re: Update control elements from the board

Thanks Daba for the reply.
I have to find another solution
best regards
Seventh