Closed pbackx closed 3 years ago
I did a tiny bit of extra investigation and I think I have located the source of the issue.
I tried to install the requirement manually, but on each restart of home assistant, it is installing paho-mqtt version 1.5.1.
It appears the library was upgraded in the latest home assistant.
As a follow-up. I manually installed nhc2-coco and that fixed it. I wasn't able to make things work through the hobby API (for some reason, it kept giving an unauthorized error with the token). But it's now working via the touchscreen interface. It also looks like dimmers are missing.
I'll see if I can test and debug some things later on and maybe come back with a pull request.
Thanks for the project! 💯
@packx Thanks for your posts above. I'm very new to this, please can you tell me how to manually installed nhc2-coco?
It depends on how your Home Assistant is set up. I have the "core" version and there it is a matter of becoming the home assistant user, activating the virtual environment and running "pip install nhc2-coco==1.3.3". If you are not sure how to do these steps, you probably don't have the core version.
If you have a different setup, I'm not sure how to do it, but it's always a matter of activating the right environment and doing a pip install.
@pbackx can I close this issue?
It's hard for me to reproduce and there is an easy workaround, so I would close it.
This or a similar issue seems to have happened again. Can anybody help fix this?
The March 2022 update to Home Assistant now fails to load the Niko integration:
https://github.com/home-assistant/core/issues/67794
It is clear the dependencies are a bit out of date. Whether this matters or not I cannot curently determine as I use Home Assistant OS so cannot simply try loading alternative packages of playing with the dependency constraints. Its the same or a very similar error report:
Unable to install package nhc2-coco==1.3.3
I note that nhc2-coco is now on version 1.4.1 since 24th June 2021 - https://pypi.org/project/nhc2-coco/#history
This or a similar issue seems to have happened again. Can anybody help fix this?
The March 2022 update to Home Assistant now fails to load the Niko integration:
It is clear the dependencies are a bit out of date. Whether this matters or not I cannot curently determine as I use Home Assistant OS so cannot simply try loading alternative packages of playing with the dependency constraints. Its the same or a very similar error report:
Unable to install package nhc2-coco==1.3.3
I note that nhc2-coco is now on version 1.4.1 since 24th June 2021 - https://pypi.org/project/nhc2-coco/#history
same issue here
The work around from boced66 and instructions from Sharnobile, efiten, et al has worked for me.
Midway down: https://github.com/filipvh/hass-nhc2/issues/38 . Remove the HACS Niko Hobby integration, reboot. Involved download of a minor variant of the nh2 repository which replaces the official repository in custom_components. It seems to just modify the dependency. Then reboot picks up the variant repository instead of the real one.
On Sun, 3 Apr 2022 at 16:28, williammorren @.***> wrote:
This or a similar issue seems to have happened again. Can anybody help fix this?
The March 2022 update to Home Assistant now fails to load the Niko integration:
home-assistant/core#67794 https://github.com/home-assistant/core/issues/67794
It is clear the dependencies are a bit out of date. Whether this matters or not I cannot curently determine as I use Home Assistant OS so cannot simply try loading alternative packages of playing with the dependency constraints. Its the same or a very similar error report:
Unable to install package nhc2-coco==1.3.3
I note that nhc2-coco is now on version 1.4.1 since 24th June 2021 - https://pypi.org/project/nhc2-coco/#history
same issue here
— Reply to this email directly, view it on GitHub https://github.com/filipvh/hass-nhc2/issues/13#issuecomment-1086891661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6CDDYTIPWV6YJ7D27SQFLVDG2ITANCNFSM4VM7MYNQ . You are receiving this because you commented.Message ID: @.***>
-- Nick Filer 15 Ravensway Prestwich Manchester M25 0EU Email: @.***
I have the latest Home Assistant Core (2020.12.1) and just added HACS and your custom integration (the released 1.5.0 version). When I try to add it, I see the following error in the logs.
I tried to manually install the requirement in the homeassistant, but that didn't help. I'm also not sure if that's the right way to do it (I'm pretty new to Home Assistant and the integrations)
Let me know if I can help with additional debugging or logs.