LavermanJJ / home-assistant-solarfocus

🏡 Solarfocus eco manager touch integration for Home Assistant
Apache License 2.0
14 stars 4 forks source link

Fix heating target-temperature range #23

Closed LavermanJJ closed 1 year ago

LavermanJJ commented 1 year ago

The specified range for controlling the heating-circuit is from 7°C (for cooling) up to max value heating curve. However, setting it to 0°C resets the heating controller (from Solarfocus) to automatic (calculating the values from the set curve).

The max value depends on the installation itself, hence, I took a max value of 80°C, as this is the max value of the boiler.

0.0°C -> Supply Temperature controlled by Solarfocus 7°C - 35°C -> valid range when cooling is activated 22°C - max. temperature of heating curve (depends on setup) -> valid range when heating is activated

❗ After this change is implemented, any value from 0 - 80 °C will be accepted, even if invalid in certain cases.

bszattila commented 1 year ago

Where can i enter the value of 0? i cannot pull lower than 7 C.... And if i understand well, by setting to 22 - it will read the heat curvev temperature?

LavermanJJ commented 1 year ago

@bszattila until this PR is merged, I make use of the default Modbus integration of home-assistant and a script: Note: the hub: Solarfocus should be adapted, to whatever your hub is named.

alias: Solarfocus - Reset Target Temperature
sequence:
  - service: modbus.write_register
    data_template:
      unit: 255
      value: "[{{ 0 | int}}]"
      hub: solarfocus
      address: 32600
mode: single
icon: mdi:heating-coil
bszattila commented 1 year ago

I am sorry, but i am not so expert in codes :( should i add this to configuration.yaml? i tryed, and not working. Theoretically my hhub is named Solarfocus. or where can i check? or when do You expect to merge this PR?