Error: MQTT: Unknown command received: setsetpoint

Moderator: leecollings

Post Reply
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Error: MQTT: Unknown command received: setsetpoint

Post by cbartetzko »

Hi,
currently I'm developing some Node-Red-Flows in order to integrate Homematic-IP-Devices in Domoticz.
I tried this first with a Windor-Sensor and it works fine.
Second try is to integrate a thermostat.
When trying to update the Setpoint of the virtual Thermostat in Domoticz via MQTT I get the above error.
Strangely the same command (setsetpoint) is working fine when using the respectice JSON-Call in a webbrowser.
Is this a bug in the MQTT plugin ?
User avatar
waltervl
Posts: 5374
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Error: MQTT: Unknown command received: setsetpoint

Post by waltervl »

Could also be an issue in the nodered flow/library.
I don know what you mean with mqtt plugin...
If you mean the standard mqtt integration you could send an mqtt message (without node red) with the setpoint command.

To set a thermostat idx 1234 to value 22.5 use the following payload to domoticz/in

Code: Select all

{"command":"udevice", "idx":1234, "svalue":"22.5"}
See also https://www.domoticz.com/wiki/MQTT#MQTT_to_Domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
cbartetzko
Posts: 27
Joined: Sunday 25 December 2016 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Speyer/Germany
Contact:

Re: Error: MQTT: Unknown command received: setsetpoint

Post by cbartetzko »

Thank you so much.
That was the hint I was looking for.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests