-
Notifications
You must be signed in to change notification settings - Fork 12
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
HVAC Mode Mapping in v3.0.1 is mixed up #29
Comments
Same issue here: |
And there is more : The previous v2.2 actually worked fine with me (albeit with infrequent status updates) |
Almost same here.
Heat = cool.
And another issue is contant drop in comm between hass and pump.
I did not have these issues with V2.2
Den mån 29 maj 2023 11:04migueldc73 ***@***.***> skrev:
… And there is more :
when HA reboots, it does not see the Aquatemp HP as ON even though it is
on.
The previous v2.2 actually worked fine with me (albeit with infrequent
status updates)
—
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT66ZWTVZSAPE3UBM6X6U6TXIRRAZANCNFSM6AAAAAAYR5Q7E4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Will check it, probably mapped it incorrectly, sorry, Thanks |
In the scenario I asked auto --> configured in aquatemp as cool (but shown in HA as Auto) |
According to the original code, when extracting the temperature and mode, the code is the same: if self._hvac_mode == HVAC_MODE_COOL:
mode = 'R01'
elif self._hvac_mode == HVAC_MODE_AUTO:
mode = 'R03'
else:
mode = 'R02' current: MODE_TEMPERATURE_OFF = "0"
MODE_TEMPERATURE_COOL = "1"
MODE_TEMPERATURE_HEAT = "2"
MODE_TEMPERATURE_AUTO = "3"
HVAC_MODE_MAPPING = {
HVACMode.OFF: MODE_TEMPERATURE_OFF,
HVACMode.COOL: MODE_TEMPERATURE_COOL,
HVACMode.HEAT: MODE_TEMPERATURE_HEAT,
HVACMode.AUTO: MODE_TEMPERATURE_AUTO,
} problem was with mapping of performing actions (change HVAC mode): if hvac_mode == HVAC_MODE_COOL:
value = "0"
hm = HVAC_MODE_COOL
elif hvac_mode == HVAC_MODE_HEAT:
value = "1"
hm = HVAC_MODE_HEAT
elif hvac_mode == HVAC_MODE_AUTO:
value = "2"
hm = HVAC_MODE_AUTO
elif hvac_mode == HVAC_MODE_OFF:
code = "power"
value = "0"
hm = HVAC_MODE_OFF changed the mapping for action to be exactly as in the original code: HVAC_MODE_ACTION = {
HVACMode.COOL: "0",
HVACMode.HEAT: "1",
HVACMode.AUTO: "2",
} fix of actions will be part of v3.0.2 |
I just upgrade to v3.0.2 and the mismatched mapping behaviour is still the same as in v3.0.1 |
is it the turn off on restart issue introduced in this version?
What about presenting it? is it according to the app? thanks |
I performed some extra tests and can now confirm that the turning off on restart is just brief. The pump turns off and then back on, but only in HA, so it's probably just refreshing the UI. The mapping is indeed like you mentioned and it works in both directions. So if I would select "HEAT" in the aquatemp app, it would still appear as Cool in HA. Or selecting Heat in HA would result aquatemp going into Auto
|
ok, will try to check it later today changing in the app, see how it reflects in HA vice versa, I noticed that it takes time for the cloud to get updated, so it might be the delay you are experiencing, |
The target temperatures are changed properly, but in the wrong modes.
That behaviour was different in v3.0.1. There the temperature changed in the mismatched modes
Maybe when you did the remapping yesterday, it only affected the temperature and not the status. Another I mentioned is that when I change the fan speed to Low in Aquatemp, the HP appears as OFF in HA. |
i confirm v3.0.2 is not imporving the situation still regarding temperature HA climate is consistent with himself and is showing what should be the temperature associated with the mode it believes it is in, but the temperature in aquatemp is not modified |
seems that I found the mapping issue and also found that set temp / mode was running bit differently than the app and aligned it, v3.0.3 will be tested during the weekend. thanks |
I just installed v3.0.3 and it all seems to run fine now, except for a new issue, which occurred before intermittently but now consistently : when restarting HA, the Aquatemp heatpump is turned off. Both in HA as in the Aquatemp app. |
please upgrade to v3.0.4, if still happens, please set debug log level for component and send logs after HA is restarting, thanks |
ignore my comments, the shutting off is caused by one of my automations which kicks in when I restart My apologies |
that's ok :) |
can you pls close the issue? thanks |
I am not sure if I am the only one whose HVAC modes were mixed up after the upgrade to v3.0.1 ?
HASS mode AUTO sets my heatpump on mode COOL
HASS mode HEAT sets heatpump on mode AUTO
HASS mode COOL seats heatpump on mode HEAT
Luckily OFF stays OFF :-)
I solved this partially by changing these lines in const.py :
MODE_TEMPERATURE_OFF = "0"
MODE_TEMPERATURE_HEAT = "1"
MODE_TEMPERATURE_AUTO = "2"
MODE_TEMPERATURE_COOL = "3"
Now it works, but when I change temperature, it still changes them on my heatpump on the wrong modes, so I guess I need to edit some other lines
Anyone else with the same issues or just me ?
The text was updated successfully, but these errors were encountered: