EU Zigbee dongle

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

No - I use a Mac. If you need a driver, it should be Silabs CP210x.

You will need a sniffer to see what is happening I guess - I don’t know what the Xiaomi devices do but as I understand it it’s not full ZigBee. To see what is happening you’ll need a sniffer.

Here’s a link to a thread about the Xiaomi devices working with the SmartThings hub. Based on that I would assume full Zigbee or close enough.

With regards to finding out what’s happening, do I really need a sniffer or can I see from the packet handling code in the driver?

Yes - you will need a sniffer to see what is happening. If it joins fine and works, then obviously you don’t need it, but if it’s not joining, then you’ll need to look at the low level data to see what’s up.

Is there a way that my ETRX2USB will work?

No - at least not unless the firmware can be upgraded to R309, but I’m not sure about this - it might be possible.

Unfortunately my copy of the “R3xx Firmware User Guide” dated Jan 2016 states:

R309 is not available for the ETRX2 module, for which the latest version is R308.

@chris & @Benjy

Thanks for your quick response !!

I am setting up an OpenHab for the same reason that I want the Xiaomi devices to integrate via Zigbee. I can confirm that the latest Xiaomi Aqara devices are actually Zigbee HA compatible however they are a little difficult to get paired and attached with other controllers than the original (SmartThings, Homey etc)

I am coming from Zipato and have worked with their developers to get the Aqara devices supported however they cannot change their join procedure (they wont) to support these devices so now it is time for OH.

Which leads me to the question, which usb stick to get, on Mouser I can find the following devices, but I do not seem to match anyone of the directly to the conversation above or the bindings site, can anyone confirm which one if any works with the binding?

Or simply point to a website where I can get a usb dongle that works.

Thank you in advance

The only one of these that you can use easily is the first one - the others will require programming, and it’s not so simple/cheap to do.

Alternatively, if you’re in the UK / Surrey area I could program the second one for you.

I currently have a few of the Xiaomi devices on the way so will try and test this out once they arrive (hopefully in a few days, but let’s see).

I am located in Denmark, so I went with the first one and it is ordered now. Once it gets here I will start testing with the Xiaomi devices, I already have a bunch.

Thanks for the help

I am a little stunned and amazed. It just works.

I have tested the Xiaomi Aqara Door/Window Sensor and the temperature / humidity / air pressure sensor

The door sensor just pairs and works when I add a switch item. It seems to have a little probability of not showing in the interface but this is my first 5 minute test.

The temp sensor also just works but only with the temperature not with the two other values.

For neither device I get battery level, but considering that I did not think anything would work out of the box I am amazed. This is with the ZigBee binding directly from the add-ons not manually installed.

Default install of OpenHab, default install of ZigBee and the Telegesis dongle I linked to above.

2 Likes

Nice one - thanks for the feedback. I should be receiving some devices any day now, so I’ll be able to test at least some sensors out (I’ve forgotten what I’ve ordered now!).