i try to send data from Dust Sensor to Domoticz via these rules:
Code: Select all
On Rules#Timer=2 do
SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=41&nvalue=0&svalue=[dust#PM1.0]
SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=42&nvalue=0&svalue=[dust#PM10]
SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=43&nvalue=0&svalue=[dust#PM2.5]
GPIO,12,1
timerSet,1,10
endon
Code: Select all
1159762: ACT : SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=42&nvalue=0&svalue=58
1159772: Command: sendtohttp
1159796: ACT : SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=43&nvalue=0&svalue=46
1159806: Command: sendtohttp
Cheeers
ED
P.S.: I am using ESP_Easy_mega-20191003_test_ESP8266_4M_VCC.bin