Sorry for maybe a silly question but I tried everything and can't make it work...
I have a bme280 sensor and wanted to turn on/off a humidifier (connected to sonoff 4ch which is steered from my router over http using eWeLink python library)
I tried to create new rule name bme280#humidity but this gives me error.
Then I tried "clock#time" but even with this it looks like it's not getting triggered.
Current rule (with event name clock#time) looks like this:
Code: Select all
on clock#time do
LogEntry,'rule triggered'
if [bme280#humidity]<80
SendToHTTP 192.168.2.1,81,/mglaon.php
endif
if [bme280#humidity]>90
SendToHTTP 192.168.2.1,81,/mglaoff.php
endif
endon
What do I do wrong ?