EU Zigbee dongle

Where do I see when the Zigbee binding is building normally again and is (I guess) normally included into the snapshot distributed via apt-get?

At the moment the build seems to be broken. I’ve submitted a PR which I think will solve it, but let’s see once it’s merged.

Realy Great stuff - Thanks Chris! :slight_smile:

For the sake of simplicity I just bought a new white ambiance bulb. And guess what, this bulb was found immediately in the inbox as a Generic ZigBee Device and the best is: It works!

Many thanks Chris for your work!

Please let me know if I can help with logs or tests.

Hi Chris

I’ve recently seen posts where people have claimed to have gotten the Xiaomi sensors working directly with their SmartThings hub so I’d like to try my luck getting them to work directly with OH using a Zigbee USB stick.

I’ve recently received a TI CC2531 stick (this one - not sure if it’s a clone) - have you got any documentation/links/tips on how I can prepare it to start sniffing/communicating with ZigBee/Xiaomi devices?

Thanks

Not really. There is information on the repo site on github about programming the sticks, and I think TI have some sniffer firmware, but I don’t have much experience with either. I have one of these sticks for testing, but most of my development is done with Silabs hardware and sniffer.

If you search around the web though I’m sure you should find something on this.

Hi, Daniel. This post documents how I got a CC2531 USB dongle working.

Good luck!

HI Scott, I’m a bit confused. Using Raspbian I managed to flash the dongle with cc-tool but yet I don’t see it appearing in /dev so I’m unable to configure the binding.

Daniel,

I assume you disconnected the SmartRF04EB Firmware Downloader from the CC2531 ZigBee USB Dongle after flashing the dongle. Have you tried unplugging the CC2531 dongle, waiting several (say 5?) seconds, then plugging it back into your RPi? Once you’ve tried that, what does the output of lsusb show?

On my my system, I get the following:

[15:46:53] scott@rpi3:~$ lsusb
Bus 001 Device 007: ID 0803:3095 Zoom Telephonics, Inc. 
Bus 001 Device 009: ID 0803:3095 Zoom Telephonics, Inc. 
Bus 001 Device 008: ID 0658:0200 Sigma Designs, Inc. 
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 0451:16a8 Texas Instruments, Inc. 
...

The Texas Intstruments device with ID 0451:16a8 is my ZigBee dongle. Your CC2531 should have the same ID.

I have my CC2531 dongle symlinked to /dev/ttyUSBzigbee using a udev rule:

[15:54:57] scott@rpi3:~$ cat /etc/udev/rules.d/50-usb-serial.rules 
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="ttyUSBzwave", GROUP="dialout", MODE="0660"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="ttyUSBzigbee", GROUP="dialout", MODE="0660"

I had to modify the value of the EXTRA_JAVA_OPTS environment variable in /etc/default/openhab2 so java can “see” both my Z-Wave and ZigBee dongles:

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyACM2:/dev/ttyUSBzigbee:/dev/ttyUSBzwave"

You will have to reboot your RPi after updating the udev rules – more info available here.

Hopefully something in what I’ve provided here will get you going.

Good Luck!

Hello,
under Linux you can add the Qivicon dongle
without a custom made kernel.

echo 10c4 89fb > /sys/bus/usb-serial/drivers/cp210x/new_id

1 Like

I didn’t know that this is possible. Thank’s for the info!

Thanks - while I doubt many people will be keen on doing this, I’ll add it to the readme on the library repository as it’s useful info.

Would you know what the range is like for the ETRX357USB? Do you think it’s worth getting the LRS version for the average UK household?

Range is not such an easy thing to comment on. It’s dependant on the number of walls, and what they are made of. You’ve probably got brick/masonry walls which will kill range quite quickly.

Personally, I went for the LRS for the “the best possible range”… I’ve not tried to test the range in the house here though.

1 Like

Yep, fair enough. I’ll go for the LRS version to be on the safe side.

Cheers!

Hi Chris,

It has been a while since I tried my bulb with your binding. And it turns out that there is a problem. I didn’t realize it at first… :sunglasses:

If I power cycle the bulb (from off to on) the connection is not re-established and the bulb does not react any more. But if I restart the binding from the karaf console everything works as it should.

The bulb has never been part of my hue network. And it does not matter if the hue controller is online or not. Behaviour is the same. I’m running snapshot Build #1073 with your afore mentionend binding on Debian Jessie with Kernel 4.12 and Oracle Java (build 1.8.0_151-b12).

I attached a debug log. Maybe it is useful for you. I made some comments (marked with " → " and in bold) within the log for the following actions:

initial situation = bulb powered off

Timestamp 13-Nov-2017 20:57:43.102 = bulb powered on
Timestamp 13-Nov-2017 21:03:55.368 = openhab switch from on to off, nothing happens
Timestamp 13-Nov-2017 21:04:24.200 = bundle:stop in karaf
Timestamp 13-Nov-2017 21:04:44.587 = bundle:start in Karaf
Timestamp 13-Nov-2017 21:05:16.771 = openhab switch from on to off, works

And here is the log:

→ bulb powered on

13-Nov-2017 20:57:43.102 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - ZigBee Node discovered: ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 20:57:43.102 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 20:57:43.113 [INFO ] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - 0017880102E7B6B0: Starting ZigBee device discovery
13-Nov-2017 20:57:43.114 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery start
13-Nov-2017 20:57:43.114 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery using 16974/11
13-Nov-2017 20:57:53.116 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Manufacturer request timeout
13-Nov-2017 20:57:55.298 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 20:58:03.118 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Model request timeout
13-Nov-2017 20:58:13.120 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Hardware version request timeout
13-Nov-2017 20:58:23.122 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Stack version request timeout
13-Nov-2017 20:58:33.124 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZCL version request timeout
13-Nov-2017 20:58:43.126 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Application version request timeout
13-Nov-2017 20:58:53.128 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: Date code request timeout
13-Nov-2017 20:58:53.128 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery complete: {zigbee_logicaltype=ROUTER, zigbee_powerlevel=FULL, zigbee_networkaddress=49237, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[MAINS, DISPOSABLE_BATTERY, RECHARGABLE_BATTERY], zigbee_powersource=MAINS}
13-Nov-2017 20:58:53.128 [INFO ] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - 0017880102E7B6B0: Update ZigBee device zigbee:device with bridge zigbee:coordinator_telegesis:6933de2d
13-Nov-2017 20:59:25.275 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 21:00:55.321 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 21:02:25.299 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 21:03:55.368 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]

→ turned openhab switch off = nothing happens

13-Nov-2017 21:03:55.450 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_onoff → OFF
13-Nov-2017 21:04:24.200 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.config.core.ConfigOptionProvider, org.eclipse.smarthome.config.core.ConfigDescriptionProvider}={component.name=org.openhab.binding.zigbee.internal.ZigBeeConfigProvider, component.id=305, service.id=489, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee

→ bundle:stop in karaf

13-Nov-2017 21:04:24.220 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent UNREGISTERING - {org.openhab.binding.zigbee.internal.ZigBeeConfigProvider}={component.name=org.openhab.binding.zigbee.ConfigDescription, component.id=306, service.id=490, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee
13-Nov-2017 21:04:24.224 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - Handler disposes. Unregistering listener.
13-Nov-2017 21:04:24.233 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - Handler disposes. Unregistering listener.
13-Nov-2017 21:04:29.215 [INFO ] [g.zigbee.handler.ZigBeeCoordinatorTelegesisHandler] - Serial port [/dev/zigbee] is closed.
13-Nov-2017 21:04:29.234 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.zigbee.internal.ZigBeeHandlerFactory, component.id=307, service.id=491, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee
13-Nov-2017 21:04:29.265 [DEBUG] [org.openhab.binding.zigbee ] - BundleEvent STOPPING - org.openhab.binding.zigbee
13-Nov-2017 21:04:29.270 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=492, service.bundleid=14, service.scope=singleton} - org.openhab.binding.zigbee
13-Nov-2017 21:04:29.272 [DEBUG] [org.openhab.binding.zigbee ] - BundleEvent STOPPED - org.openhab.binding.zigbee

→ bundle:start in karaf

13-Nov-2017 21:04:44.587 [DEBUG] [org.openhab.binding.zigbee ] - BundleEvent STARTING - org.openhab.binding.zigbee
13-Nov-2017 21:04:44.602 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.core.ConfigOptionProvider, org.eclipse.smarthome.config.core.ConfigDescriptionProvider}={component.name=org.openhab.binding.zigbee.internal.ZigBeeConfigProvider, component.id=308, service.id=493, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee
13-Nov-2017 21:04:44.605 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent REGISTERED - {org.openhab.binding.zigbee.internal.ZigBeeConfigProvider}={component.name=org.openhab.binding.zigbee.ConfigDescription, component.id=309, service.id=494, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee
13-Nov-2017 21:04:44.611 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.zigbee.internal.ZigBeeHandlerFactory, component.id=310, service.id=495, service.bundleid=14, service.scope=bundle} - org.openhab.binding.zigbee
13-Nov-2017 21:04:44.615 [DEBUG] [org.openhab.binding.zigbee ] - BundleEvent STARTED - org.openhab.binding.zigbee
13-Nov-2017 21:04:44.635 [DEBUG] [enhab.binding.zigbee.internal.ZigBeeHandlerFactory] - Creating coordinator handler for org.eclipse.smarthome.core.thing.internal.BridgeImpl@55580b57
13-Nov-2017 21:04:44.650 [DEBUG] [g.zigbee.handler.ZigBeeCoordinatorTelegesisHandler] - Initializing ZigBee Telegesis serial bridge handler.
13-Nov-2017 21:04:44.651 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Initializing ZigBee network [zigbee:coordinator_telegesis:6933de2d].
13-Nov-2017 21:04:44.651 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Channel 22
13-Nov-2017 21:04:44.652 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - PANID 35279
13-Nov-2017 21:04:44.652 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - EPANID 5A754F916801953F
13-Nov-2017 21:04:44.653 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Key null
13-Nov-2017 21:04:44.653 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Key String
13-Nov-2017 21:04:44.654 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Key initialised BC60D26793ABAAD4285EBC6DE49C75D9
13-Nov-2017 21:04:44.654 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Key final array BC60D26793ABAAD4285EBC6DE49C75D9
13-Nov-2017 21:04:44.655 [DEBUG] [g.zigbee.handler.ZigBeeCoordinatorTelegesisHandler] - ZigBee Coordinator Telegesis opening Port:‘/dev/zigbee’ PAN:89cf, EPAN:5A754F916801953F, Channel:22
13-Nov-2017 21:04:44.655 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
13-Nov-2017 21:04:45.656 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - ZigBee network starting
13-Nov-2017 21:04:45.656 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Initialising ZigBee coordinator
13-Nov-2017 21:04:45.657 [DEBUG] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - Creating ZigBee discovery service for zigbee:coordinator_telegesis:6933de2d
13-Nov-2017 21:04:45.657 [DEBUG] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - Activating ZigBee discovery service for zigbee:coordinator_telegesis:6933de2d
13-Nov-2017 21:04:45.658 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=496, service.bundleid=14, service.scope=singleton} - org.openhab.binding.zigbee
13-Nov-2017 21:04:45.659 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Key initialise BC60D26793ABAAD4285EBC6DE49C75D9
13-Nov-2017 21:04:45.659 [INFO ] [g.zigbee.handler.ZigBeeCoordinatorTelegesisHandler] - Connecting to serial port [/dev/zigbee] at 19200
13-Nov-2017 21:04:45.671 [INFO ] [g.zigbee.handler.ZigBeeCoordinatorTelegesisHandler] - Serial port [/dev/zigbee] is initialized.
13-Nov-2017 21:04:45.799 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - initResponse is JOINED
13-Nov-2017 21:04:45.799 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - initializeNetwork is false
13-Nov-2017 21:04:45.830 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - Initialise done… 22 35279 5A754F916801953F
13-Nov-2017 21:04:45.832 [DEBUG] [enhab.binding.zigbee.internal.ZigBeeHandlerFactory] - Creating coordinator handler for org.eclipse.smarthome.core.thing.internal.ThingImpl@567b9952
13-Nov-2017 21:04:45.831 [DEBUG] [enhab.binding.zigbee.internal.ZigBeeHandlerFactory] - Creating coordinator handler for org.eclipse.smarthome.core.thing.internal.ThingImpl@ea06ddab
13-Nov-2017 21:04:45.839 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - Initializing ZigBee thing handler zigbee:device:6933de2d:0017880100be9f54.
13-Nov-2017 21:04:45.840 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - Initializing ZigBee thing handler zigbee:device:6933de2d:0017880102e7b6b0.
13-Nov-2017 21:04:45.840 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Coordinator status changed to ONLINE.
13-Nov-2017 21:04:45.840 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Coordinator is ONLINE. Starting device initialisation.
13-Nov-2017 21:04:45.847 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Coordinator status changed to ONLINE.
13-Nov-2017 21:04:45.847 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Coordinator is ONLINE. Starting device initialisation.
13-Nov-2017 21:04:45.851 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Command for channel zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_switch_level → REFRESH
13-Nov-2017 21:04:45.852 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_switch_level
13-Nov-2017 21:04:45.853 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_level → REFRESH
13-Nov-2017 21:04:45.853 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Command for channel zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_switch_onoff → REFRESH
13-Nov-2017 21:04:45.854 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_switch_onoff
13-Nov-2017 21:04:45.854 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_level
13-Nov-2017 21:04:45.854 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_onoff → REFRESH
13-Nov-2017 21:04:45.854 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Command for channel zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_color_color → REFRESH
13-Nov-2017 21:04:45.855 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_color_color
13-Nov-2017 21:04:45.855 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_onoff
13-Nov-2017 21:04:45.855 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Command for channel zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_color_temperature → REFRESH
13-Nov-2017 21:04:45.855 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_color_color → REFRESH
13-Nov-2017 21:04:45.855 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880100be9f54:0017880100BE9F54_11_color_temperature
13-Nov-2017 21:04:45.855 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_color_color
13-Nov-2017 21:04:45.857 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880100BE9F54: Initialising node
13-Nov-2017 21:04:45.857 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_color_temperature → REFRESH
13-Nov-2017 21:04:45.857 [WARN ] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_color_temperature
13-Nov-2017 21:04:45.858 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Initialising node
13-Nov-2017 21:04:46.300 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - ZigBee Node discovered: ZigBeeNode [IEEE=000D6F00049DC3EB, NWK=0000, Type=COORDINATOR]
13-Nov-2017 21:05:00.973 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Node updated - ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 21:05:00.973 [DEBUG] [ab.binding.zigbee.handler.ZigBeeCoordinatorHandler] - ZigBee Node discovered: ZigBeeNode [IEEE=0017880102E7B6B0, NWK=C055, Type=ROUTER]
13-Nov-2017 21:05:00.984 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Initialising node
13-Nov-2017 21:05:00.985 [INFO ] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - 0017880102E7B6B0: Starting ZigBee device discovery
13-Nov-2017 21:05:00.986 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Created 4 channels
13-Nov-2017 21:05:00.986 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery start
13-Nov-2017 21:05:00.987 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery using 49237/11
13-Nov-2017 21:05:01.427 [DEBUG] [inding.zigbee.converter.ZigBeeConverterSwitchLevel] - ZigBee attribute reports ZclAttribute [cluster=LEVEL_CONTROL, id=0, name=CurrentLevel, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=254] from 0017880102E7B6B0
13-Nov-2017 21:05:01.433 [DEBUG] [inding.zigbee.converter.ZigBeeConverterSwitchOnoff] - 0017880102E7B6B0: Initialising device on/off cluster
13-Nov-2017 21:05:02.076 [DEBUG] [inding.zigbee.converter.ZigBeeConverterSwitchOnoff] - 0017880102E7B6B0: ZigBee attribute reports ZclAttribute [cluster=ON_OFF, id=0, name=OnOff, dataType=BOOLEAN, lastValue=true]
13-Nov-2017 21:05:02.817 [DEBUG] [binding.zigbee.converter.ZigBeeConverterColorColor] - ZigBee attribute reports ZclAttribute [cluster=COLOR_CONTROL, id=0, name=CurrentHue, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=null] from 0017880102E7B6B0
13-Nov-2017 21:05:03.179 [DEBUG] [inding.zigbee.converter.ZigBeeConverterSwitchLevel] - ZigBee attribute reports ZclAttribute [cluster=LEVEL_CONTROL, id=0, name=CurrentLevel, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=254] from 0017880102E7B6B0
13-Nov-2017 21:05:03.180 [DEBUG] [binding.zigbee.converter.ZigBeeConverterColorColor] - ZigBee attribute reports ZclAttribute [cluster=LEVEL_CONTROL, id=0, name=CurrentLevel, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=254] from 0017880102E7B6B0
13-Nov-2017 21:05:03.645 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery complete: {zigbee_manufacturer=Philips, zigbee_logicaltype=ROUTER, zigbee_powerlevel=FULL, zigbee_model=LTW001, zigbee_networkaddress=49237, zigbee_powersource=MAINS, zigbee_stkversion=1, zigbee_datecode=20160810, zigbee_zclversion=1, zigbee_hwversion=20, zigbee_appversion=2, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[MAINS, DISPOSABLE_BATTERY, RECHARGABLE_BATTERY]}
13-Nov-2017 21:05:03.645 [INFO ] [ab.binding.zigbee.discovery.ZigBeeDiscoveryService] - 0017880102E7B6B0: Update ZigBee device zigbee:device with bridge zigbee:coordinator_telegesis:6933de2d
13-Nov-2017 21:05:04.052 [DEBUG] [binding.zigbee.converter.ZigBeeConverterColorColor] - ZigBee attribute reports ZclAttribute [cluster=COLOR_CONTROL, id=7, name=ColorTemperature, dataType=UNSIGNED_16_BIT_INTEGER, lastValue=366] from 0017880102E7B6B0
13-Nov-2017 21:05:04.052 [DEBUG] [g.zigbee.converter.ZigBeeConverterColorTemperature] - ZigBee attribute reports ZclAttribute [cluster=COLOR_CONTROL, id=7, name=ColorTemperature, dataType=UNSIGNED_16_BIT_INTEGER, lastValue=366] from 0017880102E7B6B0
13-Nov-2017 21:05:04.301 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Initializing ZigBee thing handler
13-Nov-2017 21:05:04.312 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery start
13-Nov-2017 21:05:04.312 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery using 49237/11
13-Nov-2017 21:05:06.050 [DEBUG] [ding.zigbee.discovery.ZigBeeNodePropertyDiscoverer] - 0017880102E7B6B0: ZigBee node property discovery complete: {zigbee_manufacturer=Philips, zigbee_logicaltype=ROUTER, zigbee_powerlevel=FULL, zigbee_model=LTW001, zigbee_networkaddress=49237, zigbee_powersource=MAINS, zigbee_stkversion=1, zigbee_datecode=20160810, zigbee_zclversion=1, zigbee_hwversion=20, zigbee_appversion=2, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[MAINS, DISPOSABLE_BATTERY, RECHARGABLE_BATTERY]}

→ turned openhab switch off = works

13-Nov-2017 21:05:16.771 [DEBUG] [.openhab.binding.zigbee.handler.ZigBeeThingHandler] - 0017880102E7B6B0: Command for channel zigbee:device:6933de2d:0017880102e7b6b0:0017880102E7B6B0_11_switch_onoff → OFF

I think there’s probably a rejoin issue, but I’ve not had a chance to look at it yet. The logs are too high level to help, and possibly only a sniffer log would really provide much insight into this sort of problem.

I’ll try and look into this sort of issue in the near future.

Please format logs with the </> button in future as it’s really difficult to view logs as they are (thanks).

O.K., I’m waiting.

Thanks

Peter

Hi Chris

I decided to abandon my CC2531 and get the Telegesis stick instead. Where can I find the src for the Telegesis build? I’m hoping to see what happens with the Xiaomi sensors.

Thanks

Give me a day or so - I’m just tidying up the build and then I’ll merge the latest, including the Telegesis driver.

Hi @chris

Thanks for your recent commits, I’ve now synced my repo and build the binding.

Have you any experience using the Telegesis dongle on Windows 10? It doesn’t automatically install the driver when I plug the stick in and I can’t seem to find the correct Silabs download.

Futhermore, I tested the binding with my Telegesis dongle on my RPi and turned trace mode on for both the Zigbee binding package and the telegesis driver java package. I managed to see some packets being received when I attempted to pair my Xiaomi devices (I pulled the battery out to try and reset it first) but ultimately nothing interesting happened. Have you any tips on where to start debugging first?

Thanks