no effects in domoticz with MQTT request
Posted: Wednesday 05 April 2023 21:06
Hello,
I try sending a MQTT request to domoticz with the Terminal.
I create a device 'Barometer' (id 864).
In the Terminal, I write:
mosquitto_pub -h localhost -u XXXX -P XXXX -t 'domoticz/in' -m '{"command":"udevice", "idx":864, "svalue":"999;2"}'
Request appears in MQTT Explorer and in the domoticz's debug window:
2023-04-05 18:27:51.578 Debug: MQTT: topic: domoticz/in, message: {"command":"udevice", "idx":864, "svalue":"999;2"}
But no update in the device.
Notice that I use material 'MQTT auto discovery'. With materialMQTT without auto discovery, the device is update.
Thanks for your help.
I try sending a MQTT request to domoticz with the Terminal.
I create a device 'Barometer' (id 864).
In the Terminal, I write:
mosquitto_pub -h localhost -u XXXX -P XXXX -t 'domoticz/in' -m '{"command":"udevice", "idx":864, "svalue":"999;2"}'
Request appears in MQTT Explorer and in the domoticz's debug window:
2023-04-05 18:27:51.578 Debug: MQTT: topic: domoticz/in, message: {"command":"udevice", "idx":864, "svalue":"999;2"}
But no update in the device.
Notice that I use material 'MQTT auto discovery'. With materialMQTT without auto discovery, the device is update.
Thanks for your help.