In addition, I need to use the rule for PMSx003 support because the device driver is not fully implemented yet. In particular, this applies to extending the lifespan of the laser diode.
Code: Select all
//BMP180 related
On Temperatura-i-Barometr#Temperatura do
If [Temperatura-i-Barometr#Temperatura]<60 and [Temperatura-i-Barometr#Cisnienie]<1100
SendToHTTP 192.168.0.25,8080,/json.htm?type=command¶m=udevice&idx=60&nvalue=0&svalue=[Temperatura-i-Barometr#Temperatura];[Temperatura-i-Barometr#Cisnienie];0;0
SendToHTTP 192.168.0.25,8080,/json.htm?type=command¶m=udevice&idx=116&nvalue=0&svalue=[Temperatura-i-Barometr#Temperatura]
SendToHTTP 192.168.0.25,8080,/json.htm?type=command¶m=udevice&idx=117&nvalue=0&svalue=[Temperatura-i-Barometr#Cisnienie]
EndIf
EndOn
// PMS related
On Rules#Timer=4 do
gpio,14,0
gpio,14,1
gpio,16,1
timerSet,3,30
endon
On Rules#Timer=3 do
TaskRun,5
SendToHTTP 192.168.0.25,8080,/json.htm?type=command¶m=udevice&idx=64&nvalue=0&svalue=[Jakosc-powietrza#pm1-0];[Jakosc-powietrza#pm2-5];[Jakosc-powietrza#pm10]
gpio,16,0
timerSet,4,240
endon
Logs indicate that all SendToHTTP are done correctly but Domoticz does not receive them. As I wrote, up to version 20190926 everything worked fine. So I came back to this version. What the problem it could be?