WipperSnapper Reactive Action Question

adafruit.io wippersnapper BETA support, discussions, and more!

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.
Locked
User avatar
embeddedprogrammer
 
Posts: 9
Joined: Fri Jan 29, 2021 10:11 am

WipperSnapper Reactive Action Question

Post by embeddedprogrammer »

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?

User avatar
embeddedprogrammer
 
Posts: 9
Joined: Fri Jan 29, 2021 10:11 am

Re: WipperSnapper Reactive Action Question

Post by embeddedprogrammer »

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.

User avatar
embeddedprogrammer
 
Posts: 9
Joined: Fri Jan 29, 2021 10:11 am

Re: WipperSnapper Reactive Action Question

Post by embeddedprogrammer »

OK, fyi after a reboot it turned on the relay.

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: WipperSnapper Reactive Action Question

Post by brubell »

I think I figured this out: I needed to publish a message to the power switch with a 1 or zero.
Yes! Is anything else causing issues for you?

User avatar
embeddedprogrammer
 
Posts: 9
Joined: Fri Jan 29, 2021 10:11 am

Re: WipperSnapper Reactive Action Question

Post by embeddedprogrammer »

brubell wrote: Thu May 04, 2023 2:07 pm
I think I figured this out: I needed to publish a message to the power switch with a 1 or zero.
Yes! Is anything else causing issues for you?
No, everything is working great now. Thanks for your help.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Adafruit IO Wippersnapper Beta”