I encountered a problem with the Ruls and I hope you can help me further
Task:
If the air humidity is over 55%, a relay on the GPIO12 should be switched on for 5 seconds
If the air humidity is below 50%, an LED on the GPIO14 should be switched on for 5 seconds
Both state (GPIO12 and 14) reported via MQTT and LCD-Display.
Built ruls:
Is installed:On start-gpio12 do
LongPulse,12,1,5
Endon
On start-gpio14 do
LongPulse,14,1,5
endon
on BMx280#Humidity<50 do
Event start-gpio14
endon
on BMx280#Humidity>55 do
Event start-gpio13
endon
ESP_Easy_mega-20191208_normal_ESP8266_4M1M.bin
my problem:
I switch the GPIOs over: http://192.168.178.161/control?cmd=GPIO,14,1
The state are correctly reported on the MQTT and displayed on LCD display.
If the information for switching comes from the Ruls, the state is not reported via MQTT displayed on LCD display.
Does somebody has any idea?