Hello everybody, I’ve been using Openhab for 3 years now and thanks to this forum I could resolve all my issues I had until now.
I am using Openhab to control all the lights, the heating system, some sound systems and a lot of other stuff in my house. Therefore I mainly use mqtt and zigbee2mqtt and of course some bindings.
- Platform information:
- Hardware: raspberry pi 3b
- OS: Openhabian
- openHAB version: 2.4
Currently I am trying to control a thermostat for my new installed electric floor heating. I am using following product:
The controller is sucessfully connected to zigbee2mqtt and I already can control it via mqtt.fx - everything fine until now.
I also can read the set values for the thermostat, e.g. current_heating_setpoint
The problem i have right know is to control these values, e.g. to change the current_heating_setpoint
Therefore I need to publish {“current_heating_setpoint”: VALUE}
I am still using the old 1.0 mqtt binding (the plan is to change to the new one, but therefore I need some time which I don’t have at the moment.
I have the following item definition, which is working for the incoming values
Number Fussbodenheizung_Gaestehaus_Setpoint "Fußbodenheizung" {mqtt="<[broker:zigbee2mqtt/Fussbodenheizung_Gaestehaus:state:JSONPATH($.current_heating_setpoint)]"}
Unfortunately I have no idea how I can control these values as I need to publish {“current_heating_setpoint”: VALUE}
I can easily just send the value via:
Number Fussbodenheizung_Gaestehaus_Setpoint "Fußbodenheizung" {mqtt=">[broker:zigbee2mqtt/Fussbodenheizung_Gaestehaus/set:command*:default"}
But this will only send the Value and is of course not accepted by the thermostat.
Can somebody help me out on this issue?
Thanks a lot
BR, Sebastian