my rule doesn't work as expected want to build a temperature controlled fan. The rotary encoder should be set the temperature level for switching on / off the relays board.
Hardware setup: esp8266, rotary encoder (RE01), display and a relay board (GPIO16).
I can show the rotary "counter" on my display but in the rules it does not work.
When I instead of "RE01#Counter" use numbers like 25,26, .. it works.
Can some one help me?
Code: Select all
on Sensor01#Temperature>RE01#Counter do GPIO,16,1 endon on Sensor01#Temperature<RE01#Counter do GPIO,16,0 endon