Hi,
I have an Adafruit Feather HUZZAH ESP32 hooked to both a DS18B20 temperature sensor and a Power Switch (Controllable Four Outlet Power Relay Module version 2). Both are working fine and I can see the current temperature and turn the power switch on and off with a button in the Adafruit IO dashboard.
What I want to do is turn the power switch on when the temperature exceeds a limit. I started creating an action and could only see ways to send messages based on the temperature comparison.
Is there a way to turn on the power switch when the temperature sensor exceeds a specified value using WipperSnapper?
WipperSnapper Reactive Action Question
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- embeddedprogrammer
- Posts: 9
- Joined: Fri Jan 29, 2021 10:11 am
- embeddedprogrammer
- Posts: 9
- Joined: Fri Jan 29, 2021 10:11 am
Re: WipperSnapper Reactive Action Question
I think I figured this out: I needed to publish a message to the power switch with a 1 or zero.
I haven't seen it trigger yet but I think I may need to reboot the esp32.
I haven't seen it trigger yet but I think I may need to reboot the esp32.
- embeddedprogrammer
- Posts: 9
- Joined: Fri Jan 29, 2021 10:11 am
Re: WipperSnapper Reactive Action Question
OK, fyi after a reboot it turned on the relay.
- brubell
- Learn User Page
- Posts: 2011
- Joined: Fri Jul 17, 2015 10:33 pm
Re: WipperSnapper Reactive Action Question
Yes! Is anything else causing issues for you?I think I figured this out: I needed to publish a message to the power switch with a 1 or zero.
- embeddedprogrammer
- Posts: 9
- Joined: Fri Jan 29, 2021 10:11 am
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.