no effects in domoticz with MQTT request

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
Filnet
Posts: 23
Joined: Tuesday 06 March 2018 13:55
Target OS: -
Domoticz version:
Contact:

no effects in domoticz with MQTT request

Post 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.
User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: no effects in domoticz with MQTT request

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests