-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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 heat mode doesn't work from HomeKit #14405
Comments
The best way would be to contribute to As for the |
I had assumed it was unmaintained but I guess I should try a PR and find out :) "Heat" is the more correct term, I would argue, so I think it would be better to just fix it in pydaikin. |
I'm confused as to where pydaikin is coming from now. PyPi points to https://bitbucket.org/mustang51/pydaikin so I assumed it was this one, but when looking at the code that gets installed by Home Assistant it seems to match with https://github.com/andrei4002/pydaikin instead. Which should I submit a PR to? |
You can take a look at the |
As for the change to |
So I posted an issue on pydaikin but it's been two weeks now with no response. The real issue is that the codebase for v0.4 doesn't seem to exist anywhere - the bitbucket repo is v0.1. Which means I can't submit PRs. Would be such a bad thing for HA to simply incorporate and adapt the code itself? This could at least save multiple layers of value translations. |
You can incorporate it into the |
I am also having this issue (commented in issue #13122 ) but this comment thread seems more progressed. I am able to test but don't code and am not sure what changes are required? It sounds like changes to the @andrews05 is there anything I can do to help - considering I can't code? |
I fixed it in my local installation by changing 'hot' to 'heat' in both of these locations: I would like to integrate pydaikin into HA and make fixes to it there, but I can't promise a PR anytime soon. |
@rofrantz Can you take a look at this? I belive you're one of the original authors of the |
Im also keen to contribute but my python skills are non existent. I cant even get to applicance.py or daikin.py on my hass.io |
@GeradB did you ever get anywhere with finding how to edit those files on hass.io ? I am having a similar issue. Thanks. |
@charlietomo No sorry , couldn't get it to work maybe @cdce8p can point us in the right direction. |
Just wanted to add my 👍 to this, all works perfectly well in HA itself (except 'Hot' should be 'Heat', but it seems that mistake is upstream of HA). Will be attempting the hacks from @andrews05 and will report back. |
Alright, I've done a quick-and-dirty hack to daikin.py in order to show 'Heat' in HA, but send 'hot' over to the pydaikin dependency. Two additions have been made, search for File @ https://gist.github.com/maknz/5a0936c369d81993f21d30c57951d61d Place at Interestingly, pydaikin 0.4 (which daikin.py uses) uses 'cool' correctly, rather than 'cold'. However, the file in the master branch still shows 'cold' 🙄. Anyway, it means we only need to correct hot->heat. |
Hi all, It support correct operation mode interaction, and with that now it also support correct localization. The only bug remaining is the automatic reset of the target temperature to 22°, but I will have a look at it later. Thanks in advance if you can run some tests on my PR. |
@MatteGary nice work on the PR! I spotted it at the weekend but I kept getting “Unknown” when I tried it, although it looks like you had another commit since which might address that?
Re: the reset to 22deg, there’s another issue tracking that (unfortunately I don’t have it handy) and a participant has a workaround which involves some patches to pydaikin and the HA daikin component. Suffice to say it’s an unrelated issue to HomeKit.
…Sent from my iPhone
On 3/10/2018, at 9:08 PM, MatteGary ***@***.***> wrote:
Hi all,
I had the same issue, also regarding the interaction between the Daikin AC component and the Homekit interaction.
I made a PR for that, and now it is working fine (at least it seems to me 😄 ).
If you want you can try testing my PR you can find at
#16913
It support correct operation mode interaction, and with that now it also support correct localization.
Also Homekit interaction works good.
The only bug remaining is the automatic reset of the target temperature to 22°, but I will have a look at it later.
Thanks in advance if you can run some tests on my PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @maknz ! I found the issue you are referring to, as soon as this PR get merged in the stable stream I will investigate in the issue discussion to understand whether the patches to the pydaikin library works and if it is the only solution, or there are other possible solution. |
Thanks for your work @MatteGary and @maknz , this looks great. Is the fix likely to make its way to the main release branch then Hass.io ? Do you have a link to the 22deg reset issue as it would be good to follow that. Thanks. |
This is fixed in #16913 |
Home Assistant release with the issue:
0.69
Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian, Pi Zero
Component/platform:
climate.daikin
Description of problem:
The HomeKit bridge offers four modes for Daikin heat pumps: Off, Heat, Cool, Auto. The heat mode doesn't work because pydaikin for some reason decided to use the term "Hot" instead, so it doesn't understand "Heat".
Additional information:
I understand Home Assistant doesn't control pydaikin. I would be happy to fork pydaikin and fix this myself plus a number of other fixes/improvements but I'm not sure how that would get integrated back to Home Assistant.
The text was updated successfully, but these errors were encountered: