Rules not working, Publish domoticz/in
Posted: 09 Nov 2019, 23:14
Hello, I am trying to send sensor data using rules(https://espeasy.readthedocs.io/en/lates ... Rules.html) to domoticz but I still get "Error: MQTT: Invalid data received!"
My sensor:
FW info:
Easyesp build mega-20191104
Domoticz version 4.11474
my rule:
The rest of the sensors work, but use the "Send to Controller" option
In this case, I can't use this option because I have a "custom sensor" in domoticz, it only reads one IDX.
My sensor:
FW info:
Easyesp build mega-20191104
Domoticz version 4.11474
my rule:
Code: Select all
on TES#tt do
Publish domoticz/in,{"idx":32,"nvalue":0,"svalue":"[TES#tt]"} //Own made up IDX 123456
endon
on TES#hh do
Publish domoticz/in,{"idx":33,"nvalue":0,"svalue":"[TES#hh]"} //Own made up IDX 654321
endon
In this case, I can't use this option because I have a "custom sensor" in domoticz, it only reads one IDX.