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

Issues with loading zha via husbzb-1 #490

Closed
kenthua opened this issue May 31, 2018 · 2 comments
Closed

Issues with loading zha via husbzb-1 #490

kenthua opened this issue May 31, 2018 · 2 comments
Labels

Comments

@kenthua
Copy link

kenthua commented May 31, 2018

Image: homeassistant/qemux86-64-homeassistant

2018-05-19 16:07:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=group>
2018-05-19 16:07:33 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2018-05-19 16:07:33 INFO (MainThread) [homeassistant.loader] Loaded tts.google from homeassistant.components.tts.google
2018-05-19 16:07:33 INFO (MainThread) [homeassistant.loader] Loaded zha from homeassistant.components.zha
...
2018-05-19 16:07:37 INFO (MainThread) [homeassistant.setup] Setting up zha
2018-05-19 16:07:37 DEBUG (MainThread) [zigpy.appdb] Loading application state from /config/zigbee.db
2018-05-19 16:07:37 DEBUG (MainThread) [bellows.uart] Sending: b'1ac038bc7e'
2018-05-19 16:07:37 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-05-19 16:07:37 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-05-19 16:07:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-05-19 16:07:38 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-05-19 16:07:38 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2018-05-19 16:07:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>
2018-05-19 16:07:38 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
...
2018-05-19 16:07:40 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 6.4 seconds.
2018-05-19 16:07:40 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=notify>
2018-05-19 16:07:40 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-05-19 16:07:40 INFO (MainThread) [homeassistant.setup] Setup of domain config took 6.7 seconds.
2018-05-19 16:07:40 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-05-19 16:07:41 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
2018-05-19 16:07:41 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
2018-05-19 16:07:41 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 1.8 seconds.
2018-05-19 16:07:41 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-05-19 16:07:47 WARNING (MainThread) [homeassistant.setup] Setup of zha is taking over 10 seconds.

I setup a vanilla image using python:alpine and didn't have any issues loading up the zha component.

See some debugging I tried here:
zigpy/bellows#120

And discussion here:
home-assistant/core#8922 (comment)

@kenthua
Copy link
Author

kenthua commented May 31, 2018

I did not have issues with the home-assistant image, https://hub.docker.com/r/homeassistant/home-assistant/

At least for the time being it seems something in the hassio image build.

EDIT: I take it back, after adding a device, the same issue, I'll have to try non-dockered later in the week.
EDIT 2: Seems to start up okay in a virtualenv

@stale
Copy link

stale bot commented Apr 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2019
@stale stale bot closed this as completed Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant