I also have a JSON subtopic (nibe/modbus/47398/json) with some additional information:
{
"register": "47398",
"factor": 10,
"size": "s16",
"mode": "R/W",
"titel": "Room sensor setpoint S1",
"info": "Sets the room temperature setpoint for the system",
"unit": "Ā°C",
"min": "50",
"max": "300",
"data": 20.5,
"raw_data": 20.5,
"timestamp": 1599769038067,
"logset": false
}
The sensor are working fine, I can get the value set in the heating-system. Now I want to be able to set the temperature from HA.
The topic I can send to are: nibe/modbus/47398/set with raw payload e.g. 21.5. In steps of 0.5, max and min values can be āhard-codedā, they donāt change so reading the JSON max and min are not necessary.
Ah, of course I shuld use that oneā¦ I didnāt know/realize!
After reading it through I donāt find any water-heater states included. Is there a way to āextendā/customize the integration?
Home Assistant is an open-source project so all of its source code is available for inspection/modification. If you are experienced with python, you can create a custom component based on MQTT HVAC.
Hmm, after trying to deal with the MQTT HVAC, I find the modes to be fixed (its a component more suited for air-heater/ac). I have to create ādummyā modes for my machine to work.
But fan speed and temperature (current and commanded) works great!
I have a water-heater in my system.
And the mode I have are: Auto, Manual, Additive heat only
When Selecting Manual mode, then I can set two topics true or false: Allow heating, Allow additive heating.
So my mode are actually 3 MQTT topics.
Is there a way to just change the names of the modes in UI?
Because, I can be fin with just having Auto and Manual as modes for the climate device.
The Manual - sub-modes I can set somewhere elseā¦