Hi,
Is there any internal solution to control a single channel relay board with ESPEasy?
Setup:
- ESP-01 (black)
-- GPIO-1: DS18B20
-- GPIO-2: Relay board
Eample:
If the temp. value goes above 25c the relay will be OFF state, but if the temp. value goes bellow 21c then the relay will be ON state.
Some example would be appreciated!
Thank you!
[SOLVED] Controlling Relay from ESPEasy directly?
Moderators: grovkillen, Stuntteam, TD-er
[SOLVED] Controlling Relay from ESPEasy directly?
Last edited by beic on 17 Oct 2016, 00:24, edited 1 time in total.
Re: Controlling Relay from ESPEasy directly?
Never did it but should be working with simple EVENT RULE:
Code: Select all
on Sensor#temperature>25 do
gpio,2,0
endon
on Sensor#temperature<21 do
gpio,2,1
endon
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Controlling Relay from ESPEasy directly?
Thank you, but how can I add EVENT RULES? Didn't find any documentation for it!papperone wrote:Never did it but should be working with simple EVENT RULE:
Code: Select all
on Sensor#temperature>25 do gpio,2,0 endon on Sensor#temperature<21 do gpio,2,1 endon
Re: Controlling Relay from ESPEasy directly?
Tools --> Advanced --> enable "Rules" checkmark
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Controlling Relay from ESPEasy directly?
Thank you!papperone wrote:Tools --> Advanced --> enable "Rules" checkmark
It's so hidden and luck of documentation (didn't find anything regarding on the WIKI)!
Who is online
Users browsing this forum: No registered users and 1 guest