JurajNyiri / HomeAssistant-Atrea

Custom component allowing control of Atrea ventilation units

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatible fan speeds

gustonator opened this issue · comments

Hi,
thanks for the integration. I have 1 issue with the fan speed.
I’m usint the Atrea RA5 unit, and I don’t have 15%, 20%…100% speeds there, but this:

for circulation:
Off, Min-Circ, Norm-Circ, max-Circ

for ventilation:
Off, Min-vent,Norm-vent, Max-vent

If I use the percentages, i get ‘undefined’ error.
image

Here are all possible combinations for my unit:
image

Unit: R-5 RA5
sw RD5 ver.: 2.03.25

If possible we should find a way that is automatic so that the integration detects and chooses the right method automatically. It is hard for me to do it without the access to the unit. If someone provides me the access via port forwarding I can probably get it work.

Hi, I have the same unit and use the same constant flow setting. A workaround is to set fan speeds as: 30,31,32,33,34,35,36,37,38 The values have the following meaning:
image. This works but it is far from ideal. Many changes would be needed in the code to allow values < 12 and also in the library.

Hi can you add or replace to const.py
DEFAULT_FAN_MODE_LIST = "10,11,12,20,21,22,30,31,32,33,34,35,36,37,38"

To utils.py
if not fan_mode.isnumeric() or int(fan_mode) < 1 or int(fan_mode) > 100:

and climate.py
async def async_set_fan_mode(self, fan_mode):
fan_percent = int(re.sub("[^0-9]", "", fan_mode))
if fan_percent < 10:
fan_percent = 10
if fan_percent > 100:
fan_percent = 100
if fan_percent >= 10 and fan_percent <= 100: