I want to setup HA for the first time but Z-Wave is too expensive, there are more and more affordable Zigbee devices appearing (Osram, Xiaomi…).
I can’t find any good info on getting Zigbee to work with HA, even for Xbee there are several protocol/hardware versions and not sure which one to get.
Does this new code also apply to Xbee or just this stick?
Otherwise running a MQTT server in the Raspberry that supports all the usb sticks would also work and maybe an easier option? http://rijware.com/zigbee-and-mqtt
Hello, I just got this stick ( Nortek HUSBZB-1).
Can you help me with directions on how to install / setup ZHA.
I have few IRIS motion sensors, GE in wall dimmer and SmartThings tracker.
Please help with instructions (I am still new to Home Assistant)
thanks
Was able to pair a GE dimmer (Jasco Products 45857):
Any help?
EDIT: Further investigation:
first issue: it seems I have first endpoint = Devide.Dimmable_Light which is parsed. But the second “endpoint = DeviceType.DIMMER_SWITCH” is not. The Cluster does not have this definition
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/tasks.py”, line 235, in _step
result = coro.send(value)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/zha/init.py”, line 154, in async_device_initialized
used_clusters = profile.CLUSTERS[endpoint.device_type]
KeyError: DeviceType.DIMMER_SWITCH: 260>
second issue: I can control the first endpoint (turn on/off/dim) , but i can not parse the response. If i turn on/off the light manually , HAAS does not respond. I print out the data below
17-04-06 23:44:48 WARNING (MainThread) [bellows.zigbee.zcl] Data remains after deserializing ZCL frame: **data: b'\x00$\x11\x00\x00\x06\x00\x00\x00', value:[]**
17-04-06 23:44:48 WARNING (MainThread) [bellows.zigbee.endpoint] [0x6223:1] Message on unknown cluster 0x0019
Hello! I got Nortek USB stick and z-wave part is working, but how-to use zigbee part. Added zha to configuration.yaml in file zigbee.db appeared. Please help.
Note, this is for a hassbian install. My stick came up as /dev/ttyUSB0 and /dev/tty/USB1, I guess correctly that the USB1 was zigbee and the USB0 was z-wave.
once this is added, if it is working you will see zha under the Domains in the Services page of the Developer tools.
if you select zha, you can then call the permit service, call this, then run the steps to join the zigbee device to a network for the specific device.
I have only gotten a Iris contact sensor (From Lowes, aka CentraLite 3320-L) to connect. I tried a smartthings temp/humidity sensor I had, but I’m not sure I’m doing the correct joining procedure with it.
After running the permit service, and joining the device, I can see the contact sensor in HA as binary sensor for the contact and temperature sensor for the temp reading it supplies as well.
The biggest hurdle was understanding that the database_path requires the full path to zigbee.db, not just the file name as the docs say.
tube0013 thanks for the configuration. I tried it but I get an Invalid Configuration message -
The following components and platforms could not be set up:
zha
Please check your config
I added the zha config to the end of the configuration.yaml file and restarted hass.
BTW, I’m using the HUSBZB-1 adapter and I do see ttyUSB0 & ttyUSB1 created after I plugged in the device.
What am I missing?
Turned out I forgot to add homeassistant user to the dialout group to allow access to the USB stick. Now past that I tried to pair a Xiaomi PIR but ran into an exception:
2017-05-11 15:20:48 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’
BTW, it did look like the sensor pairing did happen based on some messages that scrolled by but I don’t see anything on the main page to show the sensor.
I tried pairing a button and this one also threw exceptions but based on logging it looks like something is working. Whenever I hit the button I get this message in the logs:
Tried updating bellows manually, as it looked like there were some recent updates using: pip3 install update bellows
that updated (within my hass venv) but still no dice … I think I’m close
I’m ready to give up. My button appeared to pair and I was getting warning messages logged whenever I pressed the button. After a while though there was a message about “device left” and then the button presses stopped working. Also, the button did not show up on the Home screen.
I have a feeling zigbee support is work in progress and is not ready for prime time yet. Also noticed something on github about bellows implementation not supporting ZDO & ZCL.
Same boat here … not ready to give up quite yet, but think more work is needed to make this project a success. I’ll report back any findings here. Very excited to get this working and ditch the Iris gear.
I believe the gen1 iris devices used a proprietary zigbee protocol, my understanding was they only worked with the iris hub. I have zha working with gen2 iris motion sensor.
Edit: I started a thread for tested zigbee devices:
Thanks for the feedback and the new thread too! - bummer if it is true that G1 stuff won’t work, but I know that others have hacked versions of G1 stuff working so I’ll not give up hope just yet.