I'm running ESP_Easy_mega_20220328_normal_ESP8266_4M1M on Wemos D1 mini
I'm reading a DS18B20 temperature sensor and I can see temperature change when I heat or cool the sensor.
But now I want to send HTTP request when the temperature is over or above a limit.
So I have enable Rules and I made this one :
Code: Select all
on [TempECS#temperature] do
if [TempECS#temperature]>30
//Bascule sur OFF le module S1
SendToHTTP <IPaddress>,8083,/core/api/jeeApi.php?apikey=<MyJeedomAPIKey>&type=cmd&id=1663
endif
if [TempECS#temperature]<25
//Bascule sur ON le module S1
SendToHTTP <IPaddress>,8083,/core/api/jeeApi.php?apikey=<MyJeedomAPIKey>&type=cmd&id=1664
endif
endon
But When I blow on the sensor to make the temperature rise above 30°, the HTTP request is not sent.
I also try whith a much more simple rule :
Code: Select all
on [System#Wake] do
SendToHTTP <IPaddress>,8083,/core/api/jeeApi.php?apikey=<MyJeedomAPIKey>&type=cmd&id=1664
endon
Where is my mistake ?
Thank for your help.