This is a clever idea as I spent a bit more time on the MQTT plugin and could'nt find any link between the message sending and this code. Only in message reception.
BUT
I didn't subscribe to the topic domoticz/in , and I know I've never received any domoticz/in MQTT message in Eg.
Nevertheless
Yesterday I tried to subscribe to domoticz/in in Eg, for testing purpose. With no luck, I could'nt receive any message (I had already tried some month ago).
So, something looks strange with Eg and domoticz/in . The domoticz/in MQTT messages I started to generate yesterday are perfect clones of the Tasmota devices I use everyday. I could check that they are identical in the domoticz log.
Example :
Code: Select all
Topic: domoticz/in, Message: {"idx":14,"nvalue":1,"svalue":""}
Anyway, I'll look at this tonight.