Page 1 of 1

no effects in domoticz with MQTT request

Posted: Wednesday 05 April 2023 21:06
by Filnet
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.

Re: no effects in domoticz with MQTT request

Posted: Wednesday 05 April 2023 23:19
by waltervl
MQTT Autodiscover probably is not listening at Domoticz/in
But there is no problem that you add a normal MQTT gateway that listens to Domoticz/in. They can exist next to each other.