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.
no effects in domoticz with MQTT request
Moderator: leecollings
- 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
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.
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests