The reduced is the same as eco mode. It is a preset. So I could add option for reduced instead of default eco. I think i should indeed revisit the preset mode logic a bit.
If the mode is on auto it should switch to eco/reduced if the program is kicked in or you push the button.
The Brötje heaters Logic includes setting for
COMFORT (what I called HEATING) ,
REDUCED
AUTO (switching among COMFORT and REDUCED acc schedule)
PROTECTIVE OPERATION and
OFF
I would expect, that in
AUTO Mode the actual Setpoint of COMFORT or REDUCED is being shown in the Center and that adjusting will Change the Setpoint of the respective Mode.
Since I have done an hydraulic balancing , I would like to lock the setpoint.
Just from a Brötje System POV
Maybe not the same with other heaters
Yeah I think I mis the comfort when it is in Auto mode, lol. I will do this as the next sprint. Will add the reduced, remove eco as it’s not called eco in bsblan and add comfort to presets.
It would help if people review the pull requests. It will go faster through review
Parameter 700 Value → HVAC Mode + Preset Mode:
"0" (Protection):
- hvac_mode: HVACMode.OFF
- preset_mode: PRESET_NONE (or could be PRESET_FROST_PROTECTION if we add it)
"1" or "auto" (Automatic/Comfort):
- hvac_mode: HVACMode.AUTO
- preset_mode: PRESET_COMFORT
"2" (Reduced):
- hvac_mode: HVACMode.AUTO
- preset_mode: PRESET_REDUCED
"3" (Comfort as active heating):
- hvac_mode: HVACMode.HEAT
- preset_mode: PRESET_NONE (or PRESET_COMFORT if desired)
The problem is that we have only one parameter that set the mode on bsblan?
The climate platform in HA uses hvac-action and hvac-preset so we have to set both parameter base on the parameter 700.
But there is also the issue that when on heating you can’t set reduced. You have to be in auto to manual be able to switch to reduced.
I actually don’t know which parameter changes when you are in auto mode and switch to comfort or reduced? I assumed it was just parameter 700 but it is not. the parameter 700 stays on auto when switching between reduced and comfort.
The second byte (preset details) is only available in raw bus telegrams , not in the JSON API response. So we are on a dead track.
I check with @fredlcore
Maybe he can help and expose this in json api. Or I could maybe read and write it in another way?
(edit)
We can directly set is with this method
Now I need to figure out how to read it? lol
(edit)
Somehow I can’t set presence using this command? @fredlcore Any Ideas
The value
name: “Raumtemperatur-Sollwert”
state_topic: “BSB-LAN/8741”
is changing the Setpoint between the COMFORT Setpoint and the REDUCED Setpoint while in Auto Mode.
I think this is the same issue with the presence push command I have. It looks like it is removed from the firmware code. Hopefully @fredlcore can give some insight
The pull request didn’t make it in the beta So I hope it will be in for next month. Currently I am working on a refactor the library and looking into preset mode.
It looks like it sometimes does not work depending on the custom defs file not setup properly.
So I have to implement a check if the system supports preset mode and have a warning (with message how it could be resolved) and disable preset mode if the check does not succeed.