Page 1 of 1

Error: MQTT: Unknown command received: setsetpoint

Posted: Wednesday 10 April 2024 21:38
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 ?

Re: Error: MQTT: Unknown command received: setsetpoint

Posted: Wednesday 10 April 2024 21:47
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

Re: Error: MQTT: Unknown command received: setsetpoint

Posted: Thursday 11 April 2024 8:39
by cbartetzko
Thank you so much.
That was the hint I was looking for.