Page 1 of 1

MQTT issue? Change of text sensor not published

Posted: Thursday 03 January 2019 22:25
by wimd1908
Hi,

I noticed that an change of text sensor (in my case with a lua script event) is not published on domoticz/out.

Is there anything in my settings that I overlooked?


My work around for this is to have an extra switch sensor that changes state together with the change of the text sensor and use node red to trigger a 'getdeviceinfo' command but have a 2 seconds delay with this work around.

Re: MQTT issue? Change of text sensor not published

Posted: Friday 04 January 2019 3:46
by waaren
wimd1908 wrote: Thursday 03 January 2019 22:25 I noticed that an change of text sensor (in my case with a lua script event) is not published on domoticz/out.
Is there anything in my settings that I overlooked?
text sensors are not published
My work around for this is to have an extra switch sensor that changes state together with the change of the text sensor and use node red to trigger a 'getdeviceinfo' command but have a 2 seconds delay with this work around.
Much quicker would be to send a /json.htm?type=command&param=udevice&idx=<ix of custom sensor>&nvalue=0&svalue=YourText from a script or use os.execute with the mosquitto_pub command.

Re: MQTT issue? Change of text sensor not published

Posted: Monday 07 January 2019 20:29
by wimd1908
Thanks for the tip.
The addition switch I have is based on earlier and similar issue with MySensors.
With the os.execute command I don't have any delays yet.