Zigbee stick for Europe. Any available? Retain state in HASS?

Unless it uses EmberZNet stack via ezsp protocol it’s not compatible.
If you view the comments against the PR if GitHub for zigbee update it mentions that the Dresden units are not compatible.
Really seems to be limited to silicon labs devices.
Just wish we could get a full list.

This £38 SILICON LABS ETRX357USB+8M Zigbee Transceiver Module uses EmberZNet, thinking to order and give it a try. Will come back with results.

http://uk.farnell.com/telegesis/etrx357usb-8m/zigbee-transceiver-module-2-4ghz/dp/2442933

1 Like

At de.farnell.com the long range version ETRX357USB-LRS+8M costs 43,37 € plus about 6 € shipping (Germany). Depending on the report you are going to give us, divdav, this is probably what I’m going to try.

Ah sadly I didn’t notice that long range version. I still haven’t had a chance to test this stick, works piled up. I’ll be sure to post back once I do

Any progress yet?

Also curious if there is a compatible for sale in europe.

To give an update to the use of the ETRX357USB

I bought one to test with and it turns out it cannot be used.

EZSP functionality requires having access to the full EmberZNet wireless mesh stack to be able to update the firmware on the dongle. Access to the wireless mesh stacks requires the purchase of one of the full Mesh Networking development kits from Silicon Labs

What other options do we have? As soon as I find a working stick I will post it here.

Is the software here a potential help?

Looks related.

Thanks! I did not find that myself
That looks related indeed. Now have to figure out if it can be used and how :slight_smile:

Keep you posted.

2 Likes

I have been able to change the firmware successfully unfortunately I have installed the wrong one and cannot figure out yet how to change it again, if possible at all.

There are two options: 115200 bps, RTS/CTS and 57600 bps, XON/XOFF

I installed em357-ncp-uart-rts-cts-use-with-serial-uart-bl-500
While bellows is expecting 57600bps with XON/XOFF.

Anyhow it seems uart works now:
$ ./uart-test-2 -n 0 -p 5 -t 1

Opening serial port and initializing EZSP… 08/16/2017 20:16:17: 0.000 Tx RST
08/16/2017 20:16:17: 0.135 RSTACK Rx
08/16/2017 20:16:17: 0.135 Tx ack(0)+
succeeded.

Checking EZSP version… 08/16/2017 20:16:17: 0.135 Tx data(0,0)
08/16/2017 20:16:17: 0.139 data(0,1) Rx
08/16/2017 20:16:17: 0.139 Tx ack(1)+
succeeded.

For anyone else who wants to try:
Upgrade guide: https://www.silabs.com/documents/public/user-guides/UG228.pdf
Package containing firmware: https://raw.githubusercontent.com/yqyunjie/Zigbee-Project/master/software/STACK/ember-stack-Z5.0.0.0-em35x-ezsp-dev.exe

Then use the correct image file:
EmberZNet5.0.0-GA\EM35x-EZSP\build\em35x-ezsp-images\EM357\em357-ncp-uart-xon-xoff-use-with-serial-uart-bl-500.s37

1 Like

Nice investigation - thanks!
Good luck to find a way to get the f/w you need on there…

I am now able to use the stick without changing the firmware. By changing the baudrate to 115200 and setting xonxoff to False in /bellows/uart.py line 260 and up. ( @rcloran Are you able to make this configurable? )

Home assistant is now successfully able to setup the zha component. And when I turn on my Ikea light bulb it is seen, but joining is still not successful :frowning:

2017-08-17 18:26:12 DEBUG (MainThread) [bellows.uart] Data frame: b'504db5cae1a78f4ca6c341251d237e'
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.uart] Sending: b'8610be7e'
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.ezsp] Application frame 98 (incomingSenderEui64Handler) received
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.uart] Data frame: b'604db1ed502a15a159944a2dae5592636381a48c12316b0a7ee1d6046680c0f0e0cd50c0957e'
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.uart] Sending: b'87009f7e'
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-08-17 18:26:12 DEBUG (MainThread) [bellows.zigbee.application] No such device 10115
2017-08-17 18:26:12 WARNING (MainThread) [bellows.zigbee.application] Message on unknown device 0x2783
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.uart] Data frame: b'704db18c6cc9a03fc36ab572a15593499c4e16657e'
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.uart] Sending: b'8070787e'
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.ezsp] Application frame 36 (trustCenterJoinHandler) received
2017-08-17 18:26:15 INFO (MainThread) [bellows.zigbee.application] Device 0xe338 (00:0b:57:ff:fe:9a:8d:b5) joined the network
2017-08-17 18:26:15 INFO (MainThread) [bellows.zigbee.device] [0xe338] Discovering endpoints
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.uart] Sending: b'0052219c5412f6b259914a25aa1593499c4f26a8ecf6844aa57e'
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.uart] Data frame: b'0152a19c54fc67737e'
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.uart] Sending: b'8160597e'
2017-08-17 18:26:15 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2017-08-17 18:26:16 INFO (SyncWorker_10) [homeassistant.components.device_tracker.ubus] Checking ARP
2017-08-17 18:26:20 DEBUG (MainThread) [bellows.uart] Data frame: b'1152b1975412f6b259914a25aa1593499c9826cdedbc487e'
2017-08-17 18:26:20 DEBUG (MainThread) [bellows.uart] Sending: b'82503a7e'
2017-08-17 18:26:20 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Data frame: b'2152b18cc756a03fc36ab572a15593499c4ecab47e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Sending: b'83401b7e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.ezsp] Application frame 36 (trustCenterJoinHandler) received
2017-08-17 18:26:21 INFO (MainThread) [bellows.zigbee.application] Device 0x7c93 (00:0b:57:ff:fe:9a:8d:b5) joined the network
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.zigbee.application] Skip initialization for existing device 00:0b:57:ff:fe:9a:8d:b5
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Data frame: b'3152b5cae1a78f4ca6c3412573b87e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Sending: b'8430fc7e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.ezsp] Application frame 98 (incomingSenderEui64Handler) received
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Data frame: b'4152b1ed502a15a159944a2dae5592c86381b4d712316b0a6ebad6046680c0f0e0cd50c92e7e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.uart] Sending: b'8520dd7e'
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-08-17 18:26:21 DEBUG (MainThread) [bellows.zigbee.zdo] [0x7c93:zdo] ZDO request 0x0013: [31891, 00:0b:57:ff:fe:9a:8d:b5, 142]
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'1553219c54b969b259914a25aa1593499c4c25a8eff68477057e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Data frame: b'5253a19c54f292987e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'8610be7e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Data frame: b'6253b1f1c756a03fc36ab572a1556d869c7b9b7e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'87009f7e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Application frame 89 (incomingRouteRecordHandler) received
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Data frame: b'7253b1f1c756a03fc36ab572a1556d869c659a7e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'8070787e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Application frame 89 (incomingRouteRecordHandler) received
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Data frame: b'0253b1ed542a15b7d9944a65aa5592cb6381b4d7123162897cfe808975687e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'8160597e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Data frame: b'1253b19754b969b259914a25aa1592499c9625abedf7c07e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.uart] Sending: b'82503a7e'
2017-08-17 18:26:22 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2017-08-17 18:26:22 WARNING (MainThread) [bellows.zigbee.device] [0x7c93] Failed ZDO request during device initialization: ('Endpoint request failed: %s', [129, 58168, []])

update:
It seems other users have the same issue with a Linear HUSBZB-1 stick.

I have been able to change the firmware. :smile:
In the package that also contains the firmware (https://raw.githubusercontent.com/yqyunjie/Zigbee-Project/master/software/STACK/ember-stack-Z5.0.0.0-em35x-ezsp-dev.exe) there was a tool to reset to the bootloader

in Ember/EmberZNet5.0.0-GA/EM35x-EZSP/
$ make -f standalone-bootloader-demo-gateway.mak
$ cd /build/standalone-bootloader-demo-gateway
$ ./standalone-bootloader-demo-gateway.exe -n 0 -p ttyS4 -t 1

This will give a nice menu:

demo-host>bootload serial-menu    
NCP Bootloader(host) v20 b00
1. upload ncp app image(.ebl)
2. switch to bootloader via EZSP
3. switch to bootloader via reset
4. switch to app reset
5. get running stack version
6. exit
BLH >

Select option 2. Now via the telegesis terminal application on baudrate 115200 I was able to upload a different image.
I am now running em357-ncp-uart-xon-xoff-use-with-serial-uart-bl-500.s37

Unfortunately my ikea buld is still not working. Might pick up a philips hue bulb somewhere to test that.

FYI, Dresden Elektronik have offered to donate RaspBee/ConBee hardware to developers Home Assistant if they would like to implement native support for them, see comment from manup here:

2 Likes

Which Driver did you use? The link you have provided is for the em358 model.

I think the driver was in this package:
https://raw.githubusercontent.com/yqyunjie/Zigbee-Project/master/software/STACK/ember-stack-Z5.0.0.0-em35x-ezsp-dev.exe

Thanks for the reply. I have checked the package and it isnt there.

I have managed to connect using linux however it appears the bootloader isnt present. ATI command works but AT+BLOAD fails to load the bootloader menu. I suspect it needs to be flashed with one via the programmer port.

I was hoping to use this device at some point with the aim of interfacing with a recently installed Smart Meter

For any one else with the same issues it appears I wasn’t using the correct baud rate (school boy error). This guide should provide what you need:

Hi!

We have created 2 new products, compatible with Home Assistant ZigBee component:

  • Elelabs ZigBee USB adapter
  • Elelabs ZigBee Raspberry Pi Shield]

I’m not posting a link here, not to spam the thread, but you can find them.
We have also created some user guides on how to get them working with Home Assistant, so you could get started easily.

As I can see those are no longer available. Can you tell me when it will be available?