Closed MindrustUK closed 7 years ago
I'm seeing a similar problem, although the stack trace is different. This also prevents Home Assistant from starting up.
2017-05-18 10:02:52 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/bellows/ezsp.py", line 175, in handle_callback
handler(*args)
File "/home/homeassistant/.homeassistant/deps/bellows/zigbee/application.py", line 149, in ezsp_callback_handler
self._handle_frame_failure(*args)
File "/home/homeassistant/.homeassistant/deps/bellows/zigbee/application.py", line 221, in _handle_frame_failure
send_fut.set_exception(Exception("Message send failure: %s" % (status, )))
File "/usr/lib/python3.4/enum.py", line 464, in __str__
return "%s.%s" % (self.__class__.__name__, self._name_)
AttributeError: 'EmberStatus' object has no attribute '_name_'
More information: Home Assistant version 0.44.1 Python 3.4.2
I should also mention that I'm using the Nortek HUSBZB-1 USB stick. This setup used to work fine with HA 0.44 and one hue bulb attached. Since then I upgraded HA to 0.44.1 and added a cree bulb and a Lutron remote. The setup continued to work (e.g. control the bulbs) until, after one restart, the web frontend failed to start and I found the stack trace listed above in the logs. Removing the zha section from config fixes the issue and the frontend starts again.
Currently open under: [https://github.com/rcloran/bellows/issues/18]() and referenced from [https://community.home-assistant.io/t/one-zigbee-gateway-to-rule-them-all/16803/31]()
@oafilipoai : "I'm seeing a similar problem, although the stack trace is different" ... a different stack trace probably means a different problem.
The issue with __name__
is fixed in https://github.com/rcloran/bellows/commit/72bc167a1b8752973b20ab04c4f9f2dc58acf278 - I'm going to bump the bellows version today and send a PR to update hass.
I'm not sure that ezsp 5 support should really be a Home Assistant issue. Please re-open if you disagree.
In any case, I'm waiting on #8308 and #8310 to be merged so that I can request https://github.com/rcloran/home-assistant/tree/bellows-split-cluster -- that will bring in bellows 0.3.1, which fixes the EZSP 5 support.
ZHA (Bellows) fails to start with EZSP compatible EM3588 Stick, firmware / protocol revision issue?
Home Assistant release (
hass --version
): 0.44.1Python release (
python3 --version
): Python 3.4.2Component/platform: zha (Zigbee Home Automation)
Description of problem: Component delivers a stack trace, prevents Home-Assistant startup.
Expected: Normal operation.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Setup ZHA. Start Home-Assistant.
Traceback (if applicable):
Additional info:
Output of Silicon Labs Scan.py tool:
Running the following works fine and doesn't issue any errors: