Zigbee Adapter - works easily with HA

Hi folks,

I just wanted to share this ZigBee adapter I found, it was easy to setup in HA 0.69.

I had a couple of qualms about buying it from an unknown site, but it came in yesterday, and last night I moved half of my Zigbee devices over.

I know the husbzb-1 seems to be the platinum standard, but it’s also getting hard to find, I just wanted to share an option.

NigelL

1 Like

Its the same chip set, or very close anyway for zigbee. HUSBZB-1 uses Silicon Labs EM3581. The one you linked is Silicon Labs EM358. The last digit just changes how much RAM and flash it has.

Just noticed these too - have you got any Xiaomi devices?
Pondering if I can dump the Xiaomi bridge and connect directly to this.

I have the shield from Elelabs. Their support is very responsive. However in comparison with the CC2531 and the zigbee2mqtt addon this component seem to be a bit more unstable and doesn’t support as many devices.

Check https://github.com/danielwelch/hassio-zigbee2mqtt and https://github.com/Koenkk/zigbee2mqtt as alternatives. I will try and write a like for like comparison.

Sorry @KablammoNick I don’t have any Xiaomi devices. I only have a few Zigbee devices, Smartthings water/leak sensors, and some “Ecosmart” (I think) lightbulbs.

1 Like

Thanks @ciotlosm, will check that out too.

No worries @NigelL, might keep looking, am in no huge rush yet.

I have just received mine, will update this thread with my thoughts

Ive followed the instructions and have no service installed, did you have the same problem?

No, mine worked pretty much without issue. I don’t use HASSIO so I had to adapt their instructions.

I have some door sensors, they are seen as switches and therefore show as either on or off, which is just annoying me :slight_smile:

Did you have anything similar and manage to workaround it?

If I connected my device via a normal hub its seen as a sensor and also has the battery status visible, not seeing the battery at all as part of the usb elelabs discovery.

One of my door sensors was similar. Its State value would change from 23 to 22 instead of having an open/close state.

Looking through the forums I found someone mentioning creating a custom template binary sensor. This was what I came up with. I use this sensor instead of the actual door sensor.

  - platform: template
    sensors:
      house_to_garage_door:
        value_template: "{{ states.sensor.garage_door_inside_access_control.state == '22' }}"
        friendly_name: 'House to Garage Door'
        device_class: "opening"
        entity_id: sensor.garage_door_inside_access_control

value_template defines the state for On (for a door, Open)
Device_class was the key to making it work like a door sensor for the system

2 Likes

Did you see the battery status for the device?

Nope, actually none of my door sensors are showing battery levels.

Just had a reply in my thread saying its currently not supported as its waiting to be developed

Does this work with the zigbee2mqtt addon?

Im finding it not very stable with the window/door sensor, as soon as you restart HA they go… thats the end of it

This won’t work with zigbee2mqtt as that is only compatible with TI SDK.

I have a Elelabs ZigBee RPi Shield. I use Hassbian (v0.71.0) and setup successful, Zha component is loaded, zha.permit is started, device joined the network but i have some errors. My device is Xiaomi Mijia door & window contact sensor (MCCGQ01LM)

2018-06-18 23:35:43 INFO (MainThread) [homeassistant.components.zha] Permitting joins for 60s
2018-06-18 23:35:43 DEBUG (MainThread) [bellows.ezsp] Send command permitJoining
2018-06-18 23:35:43 DEBUG (MainThread) [bellows.uart] Sending: b’35692157540829fe017e’
2018-06-18 23:35:43 DEBUG (MainThread) [bellows.uart] Data frame: b’5469a15754081520757e’
2018-06-18 23:35:43 DEBUG (MainThread) [bellows.uart] Sending: b’8610be7e’
2018-06-18 23:35:43 DEBUG (MainThread) [bellows.ezsp] Application frame 34 (permitJoining) received
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’6469b557540915b3736c800cae5792c4894e23d6fe7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’87009f7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 35 (childJoinHandler) received
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’7469b15754ee3f4a59944b5e197e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’8070787e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 196 (changeSourceRouteHandler) received
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’0469b157540e3f4a93bd4e27aad887499d4e27ab94257e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’8160597e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 36 (trustCenterJoinHandler) received
2018-06-18 23:36:02 INFO (MainThread) [zigpy.application] Device 0xf82a (00:15:8d:00:02:04:29:ca) joined the network
2018-06-18 23:36:02 DEBUG (MainThread) [zigpy.application] Device 00:15:8d:00:02:04:29:ca changed id (0x09ac => 0xf82a)
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’416e2157541e1598a1944a20aa5592099d4e27a1e7cd6da105f6a77e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’156ea157541e1569f5697e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’82503a7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’256eb157546f11b259874a25aa5593499c70d87fc7369874f16d497136573ba5eb40cb6f0ffdcebe7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’83401b7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2018-06-18 23:36:02 DEBUG (MainThread) [zigpy.zdo] [0xf82a:zdo] ZDO request 0x0013: [63530, 00:15:8d:00:02:04:29:ca, 128]
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’356eb157546f15b658944a24ab5593499c71d87fc7369874e4de6383f97e7db587b8b306a18ca2b5a6bd1bd32b42ce82134fa7413e7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’8430fc7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2018-06-18 23:36:02 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py”, line 194, in handle_callback
handler(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 139, in ezsp_callback_handler
self._handle_frame(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 160, in _handle_frame
tsn, command_id, is_reply, args = self.deserialize(device, aps_frame.sourceEndpoint, aps_frame.clusterId, message)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/application.py”, line 73, in deserialize
return sender.deserialize(endpoint_id, cluster_id, data)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/device.py”, line 97, in deserialize
return self.endpoints[endpoint_id].deserialize(cluster_id, data)
KeyError: 1
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’456eb157546f15b658944a24ab5593499c0ed87fc7369874fade6283fd7e1fade9ed0d7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’8520dd7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2018-06-18 23:36:02 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py”, line 194, in handle_callback
handler(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 139, in ezsp_callback_handler
self._handle_frame(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 160, in _handle_frame
tsn, command_id, is_reply, args = self.deserialize(device, aps_frame.sourceEndpoint, aps_frame.clusterId, message)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/application.py”, line 73, in deserialize
return sender.deserialize(endpoint_id, cluster_id, data)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/device.py”, line 97, in deserialize
return self.endpoints[endpoint_id].deserialize(cluster_id, data)
KeyError: 1
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Data frame: b’556eb157546f15b658944a24ab5593499c0fd87fc7369874e0da579bfe743d58a7cbde7f8ede28d0f47a68a84623a9ec761a7aeb55c943b8e07e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.uart] Sending: b’8610be7e’
2018-06-18 23:36:02 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2018-06-18 23:36:02 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py”, line 194, in handle_callback
handler(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 139, in ezsp_callback_handler
self._handle_frame(*args)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 160, in _handle_frame
tsn, command_id, is_reply, args = self.deserialize(device, aps_frame.sourceEndpoint, aps_frame.clusterId, message)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/application.py”, line 73, in deserialize
return sender.deserialize(endpoint_id, cluster_id, data)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/device.py”, line 97, in deserialize
return self.endpoints[endpoint_id].deserialize(cluster_id, data)
KeyError: 1
2018-06-18 23:36:05 DEBUG (MainThread) [bellows.uart] Data frame: b’656eb15754aa5798a187cc7e’
2018-06-18 23:36:05 DEBUG (MainThread) [bellows.uart] Sending: b’87009f7e’
2018-06-18 23:36:05 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:09 DEBUG (MainThread) [bellows.uart] Data frame: b’756eb15754aa5798a1d4327e’
2018-06-18 23:36:09 DEBUG (MainThread) [bellows.uart] Sending: b’8070787e’
2018-06-18 23:36:09 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:14 DEBUG (MainThread) [bellows.uart] Data frame: b’056eb15754aa5798a17fe97e’
2018-06-18 23:36:14 DEBUG (MainThread) [bellows.uart] Sending: b’8160597e’
2018-06-18 23:36:14 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:16 DEBUG (MainThread) [bellows.uart] Data frame: b’156eb15754151598a1944a20aa5592099d4e2770e7a8675c127e’
2018-06-18 23:36:16 DEBUG (MainThread) [bellows.uart] Sending: b’82503a7e’
2018-06-18 23:36:16 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2018-06-18 23:36:18 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2018-06-18 23:36:18 DEBUG (MainThread) [bellows.uart] Sending: b’526f2157541e1598a1944a20aa5592099d4e27a0e6cd6ca105cc7d5d7e’
2018-06-18 23:36:18 DEBUG (MainThread) [bellows.uart] Data frame: b’266fa157541e156eb3467e’
2018-06-18 23:36:18 DEBUG (MainThread) [bellows.uart] Sending: b’83401b7e’
2018-06-18 23:36:18 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2018-06-18 23:36:20 DEBUG (MainThread) [bellows.uart] Data frame: b’366fb15754aa5798a1e17c7e’
2018-06-18 23:36:20 DEBUG (MainThread) [bellows.uart] Sending: b’8430fc7e’
2018-06-18 23:36:20 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:25 DEBUG (MainThread) [bellows.uart] Data frame: b’466fb15754aa5798a14aa77e’
2018-06-18 23:36:25 DEBUG (MainThread) [bellows.uart] Sending: b’8520dd7e’
2018-06-18 23:36:25 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:29 DEBUG (MainThread) [bellows.uart] Data frame: b’566fb15754aa5798a119597e’
2018-06-18 23:36:29 DEBUG (MainThread) [bellows.uart] Sending: b’8610be7e’
2018-06-18 23:36:29 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:31 DEBUG (MainThread) [bellows.uart] Data frame: b’666fb15754151598a1944a20aa5592099d4e2777e6a86769887e’
2018-06-18 23:36:31 DEBUG (MainThread) [bellows.uart] Sending: b’87009f7e’
2018-06-18 23:36:31 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2018-06-18 23:36:33 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2018-06-18 23:36:33 DEBUG (MainThread) [bellows.uart] Sending: b’676c2157541e1598a1944a20aa5592099d4e27a7e1cd6ba105d0747e’
2018-06-18 23:36:33 DEBUG (MainThread) [bellows.uart] Data frame: b’776ca157541e156ff7527e’
2018-06-18 23:36:33 DEBUG (MainThread) [bellows.uart] Sending: b’8070787e’
2018-06-18 23:36:33 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2018-06-18 23:36:36 DEBUG (MainThread) [bellows.uart] Data frame: b’076cb15754aa5798a136287e’
2018-06-18 23:36:36 DEBUG (MainThread) [bellows.uart] Sending: b’8160597e’
2018-06-18 23:36:36 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:41 DEBUG (MainThread) [bellows.uart] Data frame: b’176cb15754aa5798a165d67e’
2018-06-18 23:36:41 DEBUG (MainThread) [bellows.uart] Sending: b’82503a7e’
2018-06-18 23:36:41 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:45 DEBUG (MainThread) [bellows.uart] Data frame: b’276cb15754aa5798a191d47e’
2018-06-18 23:36:45 DEBUG (MainThread) [bellows.uart] Sending: b’83401b7e’
2018-06-18 23:36:45 DEBUG (MainThread) [bellows.ezsp] Application frame 128 (incomingRouteErrorHandler) received
2018-06-18 23:36:47 DEBUG (MainThread) [bellows.uart] Data frame: b’376cb15754151598a1944a20aa5592099d4e2776e1a867b8617e’
2018-06-18 23:36:47 DEBUG (MainThread) [bellows.uart] Sending: b’8430fc7e’
2018-06-18 23:36:47 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2018-06-18 23:36:47 ERROR (MainThread) [zigpy.device] Failed ZDO request during device initialization: Message send failure: EmberStatus.DELIVERY_FAILED

Im sort of giving up, going to get the DIY kit and create one using the guide on the zigbee2mqtt component… most of the stuff I want to add is all Xiaomi Aqara

2 Likes

@NigelL ,

How did you adapt their instructions for not hassio. Using Hasbian and getting:

2019-01-06 15:42:31 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry /dev/ttyAMA0 for zha
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config_entries.py", line 249, in async_setup
result = await component.async_setup_entry(hass, self)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/__init__.py", line 133, in async_setup_entry
APPLICATION_CONTROLLER = ControllerApplication(radio, database)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py", line 21, in __init__ super().__init__(database_file=database_file)
File "/srv/homeassistant/lib/python3.5/site-packages/zigpy/application.py", line 23, in __init__ self._dblistener = zigpy.appdb.PersistingListener(database_file, self)
File "/srv/homeassistant/lib/python3.5/site-packages/zigpy/appdb.py", line 31, in __init__ detect_types=sqlite3.PARSE_DECLTYPES)
sqlite3.OperationalError: unable to open database file

I bought this to get rid of the Lightify gateway that I have, I’d like to keep everything inside the network and without cloud services. So I installed the usb and made the config in HA, easy process, moved all my light bulbs, also easy process, but after a day or 2 all the lights stop responding. All this happened back in Nov/2018, I went back to lightify gateway and I haven’t tried since then, it was too unstable.
I might give it another shot later on.