0

Wants To Know About trigger
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Wants To Know About trigger

by jay_raval on Wed Apr 10, 2019 1:50 pm

I have two feeds 1)Motor feed so by Switch i can turn it on or off.2) Temperature feed which shows the real time temperature.Now i wants to turn on motor if temperature is greater than 27.Can i do it by trigger?How?
also it check motor feed so if motor is on and Temp>27 do nothing,and if motor is off than it turns on.

jay_raval
 
Posts: 12
Joined: Fri Mar 22, 2019 6:58 am

Re: Wants To Know About trigger

by brubell on Thu Apr 11, 2019 12:12 pm

You'll want to set up two triggers.

Log into Adafruit IO and visit the trigger page
https://io.adafruit.com/triggers

From there, you can create a reactive trigger. Select the temperature feed, and set the comparison to greater than 27.

For the trigger's action - you can select the motor feed and set it to a value.

also it check motor feed so if motor is on and Temp>27 do nothing,and if motor is off than it turns on.

You would need another trigger to perform another action.

brubell
 
Posts: 332
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.