Tips and tricks

Go down

Tips and tricks Empty Tips and tricks

Post by nico0481 on Wed Dec 28, 2016 11:00 am


I've to say it is a very nice app once again...

Playing with it daily, I've some tricks to share on forum.
Maybe it should be interesting to make a specific section in the forum...

For instance, you can use slider with only 2 steps (min=0 and max=1) to make a simple slider (toggle) switch...




Posts : 7
Join date : 2016-05-25

View user profile

Back to top Go down

Tips and tricks Empty Re: Tips and tricks

Post by Admin on Fri Jan 06, 2017 10:04 am

Thank you!
By the way, here is one more method for the toggle function, which I prefer, because it also gives feedback, so you know the command was received correctly by the remote device.

Here are the steps:
- add a button, set press action to "b1", set text to empty string
- add a text field on top of it, set id to "t1", set text to "OFF".
- at the remote device, check for the command "b1" and toggle a variable b1_state, and send back "t1 ON\n" if true, or "t1 OFF\n" if false.

If should behave like this:
The text on the button is "OFF", you press once, it changes to "ON", you press again, it changes back to "OFF".


Posts : 112
Join date : 2016-03-08

View user profile

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum