Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target temperature and fan speed set wrongly #149

Open
mouth4war opened this issue Apr 14, 2022 · 3 comments
Open

Target temperature and fan speed set wrongly #149

mouth4war opened this issue Apr 14, 2022 · 3 comments

Comments

@mouth4war
Copy link

After the device goes unavailable (say after a power cut), once it comes back the target temperature is set to a new value which isn't the last set value.

Say it was at 26C, then goes unavailable. It comes back online in HASS at 20C.

@mouth4war
Copy link
Author

mouth4war commented Apr 14, 2022

Looking at the log, it looks like air_condition_configuration is changing and also the target temperature, led (false vs none), fan_speed (medium vs auto), :

from:

2022-04-14 18:13:44 DEBUG (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got new state: <AirConditioningCompanionStatus air_condition_brand=519 air_condition_configuration=11101CA1 air_condition_model=b'\x01\x05\x02\x07\x00\x01\x122\x01' air_condition_remote=70194 device_type=5 fan_speed=FanSpeed.Medium is_on=True led=False load_power=108 mode=OperationMode.Cool model_format=1 power=on power_socket=None state_format=1 swing_mode=SwingMode.On target_temperature=28>

to:

2022-04-14 18:14:44 DEBUG (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got new state: <AirConditioningCompanionStatus air_condition_brand=519 air_condition_configuration=111019B1 air_condition_model=b'\x01\x05\x02\x07\x00\x01\x122\x01' air_condition_remote=70194 device_type=5 fan_speed=FanSpeed.Medium is_on=True led=None load_power=640 mode=OperationMode.Cool model_format=1 power=on power_socket=None state_format=1 swing_mode=SwingMode.On target_temperature=25>

@mouth4war mouth4war changed the title Target temperature set wrongly after unavailable Target temperature and fan speed set wrongly Apr 14, 2022
@syssi
Copy link
Owner

syssi commented Apr 23, 2022

I am afraid you are describing the firmware behavior of the acpartner and the situation cannot be improved without introducing limitations.

@syssi
Copy link
Owner

syssi commented Apr 24, 2022

I've released a new version skipping target temperature reading of an unavailable target temperature sensor. I hope this improves your situation too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants