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

Cannot install NHC2 on fresh install #45

Open
nexus256 opened this issue Apr 11, 2022 · 1 comment
Open

Cannot install NHC2 on fresh install #45

nexus256 opened this issue Apr 11, 2022 · 1 comment

Comments

@nexus256
Copy link

Hi,

I'm trying to move my HASS installation from RPI to VMWare (fresh installation)
Core Version: core-2022.3.0
Operating System: Home Assistant OS 7.4

This error originated from a custom integration.

Logger: root
Source: custom_components/nhc2/coco_discover_profiles.py:58
Integration: Niko Home Control II (documentation, issues)
First occurred: 14:22:11 (1 occurrences)
Last logged: 14:22:11

Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/config/custom_components/nhc2/coco_discover.py", line 61, in _scan_for_nhc
self._on_done()
File "/config/custom_components/nhc2/coco_discover_profiles.py", line 53, in _done_discovering_controllers_callback
CoCoProfiles(self._discover_profiles_callback(ctrl[0], ctrl[1]), ctrl[0],
File "/config/custom_components/nhc2/coco_profiles.py", line 37, in init
self._done_discovering_profiles_callback()
File "/config/custom_components/nhc2/coco_discover_profiles.py", line 58, in _done_discovering_profiles_callback
time.sleep(1)
NameError: name 'time' is not defined

The error above received when nothing is added to configuration.yaml. Also tried to reboot HASS & Niko home controller bus system entirely.

If I add host (IP address), username ("hobby"), port (8884) and password ("from Niko api website"), I'm able to read all entities but they are not updating. After rebooting both systems (HASS & Niko home controller bus system) all entities are unavailable.

@dimitridelanghe
Copy link

@nexus256 is this still an issue or after the updates its ok?
otherwise close the issue please!

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