You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
After playing with Thinger.io for the past few days (it's amazingly awesome) I'm missing one great feature: a possibility to fire a single event on an Arduino right from the dashboard. Similar to what would happen if you pushed a physical push button.
For instance: I'm using Thinger.io to control the LED lightning in my Aquarium. On set times a sunrise or sunset effect would start to run. But I would love to create a way to fire additional effects like:
stopping all current effects
starting a lightning-strike-effect
Are there any plans to facilitate triggers for such purposes?
The text was updated successfully, but these errors were encountered:
Hi, @dhunink, thanks for your suggestion. It certainly takes sense to add a single button to fire callbacks in the code, as you can already define them as described in the documentation. I will add this feature to the list.
At this moment, you can simulate that by defining a simple input function, and assigning a button in the dashboard to this input. You will see how the button will turn off after pressing it, so you can click it any time you want. To avoid any undesired behaviour, you should check that the input is not empty.
thing["stop_effects"] << [](pson& in){
if(!in.is_empty()){
// do your stuff here
}
};
Hi!
After playing with Thinger.io for the past few days (it's amazingly awesome) I'm missing one great feature: a possibility to fire a single event on an Arduino right from the dashboard. Similar to what would happen if you pushed a physical push button.
For instance: I'm using Thinger.io to control the LED lightning in my Aquarium. On set times a sunrise or sunset effect would start to run. But I would love to create a way to fire additional effects like:
Are there any plans to facilitate triggers for such purposes?
The text was updated successfully, but these errors were encountered: