-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Daikin integration fan change upon changing other climate parameter #51268
Comments
daikin documentation |
I've reviewed the backend code and it tries to adopt to the fan auto modes. Could you please paste debugging info fråm pydaikin so we can see what is sent for the various modes. |
Hi Fredrike, thanks for looking into this. I've n ever run debugging before so had to google had to add it. I think i did it correctly by adding this to log.
I then turned system on to heat, changed it auto med, then changed to cool, then changed to auto med, then changed to off. At every change the system states that daikin is at med. Please let me know if you need anything else. Cheers
|
Just to make things clearer for me..
As you can see is the I'll contact you in the forum for some more testing.. |
Thank so much, that looks right. Happy to run a more accurate test with more commands if that helps to decipher. Cheers |
Hi, not entirely sure if my issue is related. But when I run an action to modify the mode ie. like so:
It also modifies the fan speed. I also noticed that there is no Airside option anywhere, which is the default option I use. So it is constantly setting the fan speed to high by default whenever changing the hvac_mode. Also, I would have expected there should be another fan_mode just called |
Well, it is actually a feature that the fan (and temp) setting follow each mode. But, it seems like the fan mode auto is missed somewhere in the process. I'm slammed with work now but will investigate it further soon, in the meantime I suggest that you send two set modes. |
Ok, got 10 minutes to spare so had a look at it. It seems like the "stored" modes doesn't contain fan-auto. Would an ok solution be to reuse the old value of fan-auto? So, if you have fan-auto ON in cool and go to heat it will follow that? The fan rate will still follow the mode so if you have fan-low on cool and switches to heat (where the fan was set to high) you will still get fan high when switching modes (this is how Daikin wants it). If that is the case you should find the self.values['f_auto'] = '1' if 'a' in self.values["f_rate"] else '0' to # self.values['f_auto'] = '1' if 'a' in self.values["f_rate"] else '0' |
Thanks for looking into this I will give your suggestion a go. Just so it's clear the main issue of fan speed maintaining issue isn't when I switch between modes but that it also happens when the temperature is changed it also looses the automation status. I think your solution should work though for this too as the script will just keep the previous fan mode anyway. I will give it a try and let you know. Cheers Edit just realised your previous comment was for maybe for discobeen and not the issue I was having? |
I can confirm this fixes the issue of overwriting the previous fan speed for me when switching However, there is still an issue with airside, because when airside is on, it is disabled whenever a call is made. I noticed this part in the code where
and it switches airside on, so I guess this parameter needs to be fetched/remembered instead of hardcoded somehow? |
Thank you @Tekno-man & @discobean! I'll update the pydaikin code and send a PR here. It might take some time though..
Try this instead: query_c = (
'aircon/set_control_info'
'?pow={pow}&mode={mode}&stemp={stemp}&shum={shum}'
'&f_rate={f_rate[0]}&f_auto={f_auto}&f_dir={f_dir}'
'&lpw=&f_airside={f_airside}'
).format(**self.values) |
using |
Cool fun to code on my phone :). |
The problem
The daikin integration has 6 fan options, low, mid, high, low/auto, mid/auto, high/auto. When the daikin climate entity has the fan parameter on any auto setting and then you change one of the other parameters such as the set point temperature or the mode the fan with change to the non auto variant of the speed selected. This doesn't happen when using the airbase app.
What is version of Home Assistant Core has the issue?
core-2021.5.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Daikin
Link to integration documentation on our website
https://www.home-assistant.io/integrations/daikin/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
using BRP15B61 and airbase app with BRC24Z4B zone controller
The text was updated successfully, but these errors were encountered: