SendToHTTP not work corectly in mega-20191003
Posted: 03 Oct 2019, 18:00
I am using the following set of rules to support PMSx003 and BMP180. For the purposes of PMSx003 support, I compile my own FW version based on "normal", adding it in the define_plugin_sets.h file _P053_PMSx003.ino and at the same time "commenting" on some unnecessary .ino files/drivers like P1 Gateway etc. So the size of the file after compilation is about 800k.
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.
Up to version 20190926 it worked fine. Version 20190928 I have not tested. In version 20191003 there were additional improvements to WiFi - ADC issue, very importand for me. At the same version, there were changes in the rules and HTTP as release notes stands.
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?
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?