Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

Reactive Trigger Use Case
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Reactive Trigger Use Case

by pthacker on Thu Mar 03, 2016 12:24 am

I want to turn "on" a toggle button if another feed is 1 or higher. Should I set the feed for the toggle to ON or 1 or ...

Sorry this is the first trigger I've tried to create.

Thanks in advance.

pthacker
 
Posts: 37
Joined: Sun Jan 06, 2013 2:34 pm

Re: Reactive Trigger Use Case

by jwcooper on Fri Mar 04, 2016 11:40 am

Set it to 1, but make sure that in your sketch you turn it back to 0, or it will continue triggering as the triggers are currently built. We'll change the triggers in the future to be a bit more intelligent about that though. You could also try ifttt.com as we're connected with them using realtime push as well.

jwcooper
 
Posts: 677
Joined: Tue May 01, 2012 9:08 pm

Please be positive and constructive with your questions and comments.