Zigbee binding

What is the best stick for your binding? what stick do you use for you? I’d like to know to have max compatibility :laughing:

I think you are referring to my statement that the TI firmware is no longer being updated. I was told this directly from TI.

Yeah I just happened to be there too and picked one up hoping it might work. It’s really small and neat, this could be a go to for anyone wanting a small battery switch. It’s cheaper than the Aqara ones even. It would be great to get them working.

I have the tradfri 5 buttons remote and had a good conversation with chris about this like 6 months ago (it should be somewhere in this forum). The Ikea remotes (and probably this one too) send the messages on the group layer, which is currently not supported in the zigbee binding. However zigbee2mqtt can do this with a flashed cc2531

I get this error while adding a new thing is a motion sensor aqara

00158D000366AB5D: Exception creating channels 

java.lang.IllegalArgumentException: Provider for thing zigbee:device:c20d8070:00158d000366ab5d cannot be determined because it is not known to the registry

	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl$1$1.run(ThingManagerImpl.java:254) ~[185:org.openhab.core.thing:2.5.0.M4]

	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl$1$1.run(ThingManagerImpl.java:1) ~[185:org.openhab.core.thing:2.5.0.M4]

	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]

	at org.eclipse.smarthome.core.thing.internal.ThingManagerImpl$1.thingUpdated(ThingManagerImpl.java:249) ~[185:org.openhab.core.thing:2.5.0.M4]

	at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.updateThing(BaseThingHandler.java:423) ~[185:org.openhab.core.thing:2.5.0.M4]

	at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.doNodeInitialisation(ZigBeeThingHandler.java:375) [210:org.openhab.binding.zigbee:2.5.0.M4]

	at org.openhab.binding.zigbee.handler.ZigBeeThingHandler.access$0(ZigBeeThingHandler.java:238) [210:org.openhab.binding.zigbee:2.5.0.M4]

	at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:232) [210:org.openhab.binding.zigbee:2.5.0.M4]

	at org.openhab.binding.zigbee.handler.ZigBeeThingHandler$1.call(ZigBeeThingHandler.java:1) [210:org.openhab.binding.zigbee:2.5.0.M4]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

any ideas

I’m not really sure what would cause this - how are you defining the thing? Is it in a text file or through the UI?

It was through UI but after removing and rediscover the Thing it did not show the error again, maybe it was something related to the information provide by the sensor.

Hi, I’m new here, and really am very much in the beginner bracket, taking my first dip into openhab. I’ve picked up a Bitronvideo ZigBee USB Radio Stick and attached it to a Linux device. It seems to be recognised by openhab just fine, but even with manual configuration I’m getting a statue of “OFFLINE - COMMUNICATION_ERROR”.

I have enabled logged as per the instructions, but to my newbie eyes, it doesn’t help very much.

I tried to attach the log, but I’m not allowed, so I’ve pasted here, hopefully in a way that won’t spam everybody.

I think it seems to be going all ok until I get to a EMBER_NOT_JOINED status.

Logs
22:08:02.780 [INFO ] [del.core.internal.ModelRepositoryImpl] - Refreshing model 'zigbee.things'
22:08:02.817 [DEBUG] [nding.zigbee.handler.ZigBeeSerialPort] - Serial port [/dev/zigbee] is initialized.
22:08:04.099 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspVersionResponse [protocolVersion=4, stackType=2, stackVersion=5800]
22:08:04.100 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EzspVersionResponse [protocolVersion=4, stackType=2, stackVersion=5800]
22:08:04.221 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=0]
22:08:04.341 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=5]
22:08:04.461 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=8]
22:08:04.581 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=0]
22:08:04.702 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=0]
22:08:04.823 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=3000]
22:08:04.943 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=30]
22:08:05.064 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=0]
22:08:05.185 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=1]
22:08:05.307 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=6]
22:08:05.427 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=0]
22:08:05.549 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=32]
22:08:05.670 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=10]
22:08:05.791 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=15]
22:08:05.911 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=16]
22:08:06.043 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=75]
22:08:06.044 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_INDIRECT_TRANSMISSION_TIMEOUT = 3000
22:08:06.045 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_TX_POWER_MODE = 0
22:08:06.045 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_KEY_TABLE_SIZE = 6
22:08:06.045 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_APS_UNICAST_MESSAGE_COUNT = 10
22:08:06.045 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_PACKET_BUFFER_COUNT = 75
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_STACK_PROFILE = 0
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_MAX_END_DEVICE_CHILDREN = 32
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_MAX_HOPS = 30
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_BROADCAST_TABLE_SIZE = 15
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_APPLICATION_ZDO_FLAGS = 0
22:08:06.046 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_ADDRESS_TABLE_SIZE = 8
22:08:06.047 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SOURCE_ROUTE_TABLE_SIZE = 0
22:08:06.047 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SUPPORTED_NETWORKS = 1
22:08:06.047 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_NEIGHBOR_TABLE_SIZE = 16
22:08:06.047 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE = 0
22:08:06.048 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SECURITY_LEVEL = 5
22:08:06.157 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_ALLOW_PRECONFIGURED_KEY_JOINS]
22:08:06.282 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_DISALLOW_BINDING_MODIFICATION]
22:08:06.400 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_MESSAGE_TAG_ONLY_IN_CALLBACK]
22:08:06.526 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_DENY_TC_KEY_REQUESTS]
22:08:06.526 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_BINDING_MODIFICATION_POLICY = EZSP_DISALLOW_BINDING_MODIFICATION
22:08:06.527 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_MESSAGE_CONTENTS_IN_CALLBACK_POLICY = EZSP_MESSAGE_TAG_ONLY_IN_CALLBACK
22:08:06.527 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_TC_KEY_REQUEST_POLICY = EZSP_DENY_TC_KEY_REQUESTS
22:08:06.527 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_TRUST_CENTER_POLICY = EZSP_ALLOW_PRECONFIGURED_KEY_JOINS
22:08:06.528 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_SOURCE_ROUTE_TABLE_SIZE, value=16]
22:08:06.647 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:06.647 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_SECURITY_LEVEL, value=5]
22:08:06.771 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:06.772 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_ADDRESS_TABLE_SIZE, value=8]
22:08:06.894 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:06.895 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE, value=2]
22:08:07.013 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.013 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_STACK_PROFILE, value=2]
22:08:07.132 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.133 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_INDIRECT_TRANSMISSION_TIMEOUT, value=7680]
22:08:07.253 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.253 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_MAX_HOPS, value=30]
22:08:07.374 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.374 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_TX_POWER_MODE, value=1]
22:08:07.496 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.496 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_SUPPORTED_NETWORKS, value=1]
22:08:07.617 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.617 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_KEY_TABLE_SIZE, value=4]
22:08:07.737 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.738 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_APPLICATION_ZDO_FLAGS, value=1]
22:08:07.858 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.858 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_MAX_END_DEVICE_CHILDREN, value=16]
22:08:07.979 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:07.979 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_APS_UNICAST_MESSAGE_COUNT, value=10]
22:08:08.099 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:08.100 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_BROADCAST_TABLE_SIZE, value=15]
22:08:08.222 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_ERROR_INVALID_VALUE]
22:08:08.222 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_NEIGHBOR_TABLE_SIZE, value=16]
22:08:08.341 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:08.341 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueRequest [configId=EZSP_CONFIG_PACKET_BUFFER_COUNT, value=255]
22:08:08.462 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetConfigurationValueResponse [status=EZSP_SUCCESS]
22:08:08.582 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=16]
22:08:08.703 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=5]
22:08:08.823 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=8]
22:08:08.944 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=2]
22:08:09.065 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=2]
22:08:09.186 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=7680]
22:08:09.306 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=30]
22:08:09.427 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=1]
22:08:09.547 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=1]
22:08:09.677 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=4]
22:08:09.805 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=1]
22:08:09.923 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=16]
22:08:10.044 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=10]
22:08:10.164 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=15]
22:08:10.285 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=16]
22:08:10.406 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetConfigurationValueResponse [status=EZSP_SUCCESS, value=255]
22:08:10.406 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_INDIRECT_TRANSMISSION_TIMEOUT = 7680
22:08:10.406 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_TX_POWER_MODE = 1
22:08:10.406 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_KEY_TABLE_SIZE = 4
22:08:10.406 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_APS_UNICAST_MESSAGE_COUNT = 10
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_PACKET_BUFFER_COUNT = 255
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_STACK_PROFILE = 2
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_MAX_END_DEVICE_CHILDREN = 16
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_MAX_HOPS = 30
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_BROADCAST_TABLE_SIZE = 15
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_APPLICATION_ZDO_FLAGS = 1
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_ADDRESS_TABLE_SIZE = 8
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SOURCE_ROUTE_TABLE_SIZE = 16
22:08:10.407 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SUPPORTED_NETWORKS = 1
22:08:10.408 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_NEIGHBOR_TABLE_SIZE = 16
22:08:10.408 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE = 2
22:08:10.408 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Configuration state EZSP_CONFIG_SECURITY_LEVEL = 5
22:08:10.526 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetPolicyResponse [status=EZSP_SUCCESS]
22:08:10.647 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetPolicyResponse [status=EZSP_SUCCESS]
22:08:10.768 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetPolicyResponse [status=EZSP_SUCCESS]
22:08:10.888 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspSetPolicyResponse [status=EZSP_SUCCESS]
22:08:11.009 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_ALLOW_PRECONFIGURED_KEY_JOINS]
22:08:11.130 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_CHECK_BINDING_MODIFICATIONS_ARE_VALID_ENDPOINT_CLUSTERS]
22:08:11.250 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_MESSAGE_TAG_ONLY_IN_CALLBACK]
22:08:11.371 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetPolicyResponse [status=EZSP_SUCCESS, decisionId=EZSP_GENERATE_NEW_TC_LINK_KEY]
22:08:11.371 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_BINDING_MODIFICATION_POLICY = EZSP_CHECK_BINDING_MODIFICATIONS_ARE_VALID_ENDPOINT_CLUSTERS
22:08:11.371 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_MESSAGE_CONTENTS_IN_CALLBACK_POLICY = EZSP_MESSAGE_TAG_ONLY_IN_CALLBACK
22:08:11.371 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_TC_KEY_REQUEST_POLICY = EZSP_GENERATE_NEW_TC_LINK_KEY
22:08:11.372 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Policy state EZSP_TRUST_CENTER_POLICY = EZSP_ALLOW_PRECONFIGURED_KEY_JOINS
22:08:11.492 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Ember local IEEE Address is 000D6F000C86D853
22:08:11.733 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspAddEndpointResponse [status=EZSP_SUCCESS]
22:08:11.853 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspNetworkInitResponse [status=EMBER_NOT_JOINED]
22:08:12.098 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetCurrentSecurityStateResponse [status=EMBER_NOT_JOINED, state=EmberCurrentSecurityState [bitmask=[], trustCenterLongAddress=FFFF000000000000]]
22:08:12.099 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - Error during retrieval of security parameters: EzspGetCurrentSecurityStateResponse [status=EMBER_NOT_JOINED, state=EmberCurrentSecurityState [bitmask=[], trustCenterLongAddress=FFFF000000000000]]
22:08:12.099 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP dongle initialize done: Initialised false
22:08:12.099 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to INITIALISING
22:08:12.100 [DEBUG] [gbee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=INITIALISING
22:08:12.101 [DEBUG] [gbee.handler.ZigBeeCoordinatorHandler] - ZigBee Initialise: Previous device configuration was: channel=CHANNEL_00, PanID=65535, EPanId=0000000000000000
22:08:12.101 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP dongle startup.
22:08:12.216 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspNetworkStateResponse [status=EMBER_NO_NETWORK]
22:08:12.217 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP networkStateResponse EMBER_NO_NETWORK
22:08:12.458 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspNetworkStateResponse [status=EMBER_NO_NETWORK]
22:08:12.459 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP networkStateResponse EMBER_NO_NETWORK
22:08:12.580 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - EzspGetCurrentSecurityStateResponse [status=EMBER_NOT_JOINED, state=EmberCurrentSecurityState [bitmask=[], trustCenterLongAddress=FFFF000000000000]]
22:08:12.581 [DEBUG] [tsystems.zigbee.dongle.ember.EmberNcp] - Error during retrieval of security parameters: EzspGetCurrentSecurityStateResponse [status=EMBER_NOT_JOINED, state=EmberCurrentSecurityState [bitmask=[], trustCenterLongAddress=FFFF000000000000]]
22:08:12.582 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Current Security State = null
22:08:12.701 [DEBUG] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - Current Parent Child Information = EzspGetParentChildParametersResponse [childCount=0, parentEui64=0000000000000000, parentNodeId=0]
22:08:12.942 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - Network state is updated to OFFLINE
22:08:12.943 [DEBUG] [gbee.handler.ZigBeeCoordinatorHandler] - null: networkStateUpdated called with state=OFFLINE
22:08:12.944 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'zigbee:coordinator_ember:stick' changed from UNKNOWN to OFFLINE: Failed to startup ZigBee transport layer
22:08:12.947 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'zigbee:coordinator_ember:stick' changed from OFFLINE: Failed to startup ZigBee transport layer to OFFLINE (COMMUNICATION_ERROR)
Thing
Thing zigbee:coordinator_ember:stick "Zigbee USB Stick" [zigbee_port="/dev/zigbee", zigbee_baud=57600, zigbee_flowcontrol=2, zigbee_childtimeout=864000, zigbee_concentrator=1, zigbee_meshupdateperiod=86400, zigbee_panid=16412, zigbee_extendedpanid="9D45E897E2B8E95A", zigbee_networkkey="54 90 6A 05 E1 C3 BF CF DB 31 95 C5 CB E3 D5 66", zigbee_powermode=1, zigbee_txpower=8]

Has anyone had success in adding a Smarthings button through the Zigbee binding? It joins/recognized in PaperUI as “Samjin button”, but doesn’t seem to have an item that would work as a button… only battery level, temperature, tamper, switch, batteryalarm,iaslowbattery, and batteryvoltage.

I think it may not be identifying correctly (it’s this one: https://www.smartthings.com/products/smartthings-button) as I don’t think it reports temperature… it does seem to be reporting something that it is interpreting as tempature though:

2019-12-26 17:47:41.566 [vent.ItemStateChangedEvent] - zigbee_device_b1e3d9b2_286d9700010ad2fe_286D9700010AD2FE_1_temperature changed from 83.624 °F to 83.246 °F

I’ve removed and readded the item as well, with the same results.

I would guess that it does report temperature. The way the binding works is to interrogate the device to find out what services it reports as supported. The binding has presumably found a temperature sensor, so it is providing this as a channel to you. Since I don’t have this device, it’s hard to know what other services it is supporting (ie the button itself). A log of the interrogation may help, or possibly the XML file for this device (in the {user data} folder).

The button would likely be linked with the switch channel. A press would cause it to go on as it is pressed.

Sorry - that was bad transcribing on my part. The “Switch” is the type of an item called tamper. Sorry about that.

XML for the device is attached. 286D9700010AD2FE.xml (77.1 KB) I’ve also attached the log of discovery with debug enabled; i’m not sure how to best trim out the extra, so there is no doubt a lt of fat in there… discovery.txt (231.0 KB)

Thanks.

That’s fine - thanks. I have my own fat trimming machine :slight_smile:

I don’t think the discovery is from the initial discovery, but the XML seems to contain the information…

The device is an IAS device, but it’s reporting as a “manufacturer specific type” (Type 0x8000) so the binding is not providing the channel for this I think.

Probably the best way to support this is to create a static definition of the device to allow this to be specified.

The temperature sensor is correct - the device reports that it supports this.

Just installed openHAB 2.5 final release yesterday and Zigbee is working so much better! Even Xiaomi Aqara devices are found at first try (using Ember controller). Great work Chris!

2 Likes

Thanks for taking a look at it Chris! I’ve not done a static definition before – is that something I can read up on and accomplish, or is it something that is part of the binding build and I should hold off for an update?

Edited: To include a new log, after having removed the device, removed the XML file from the system, and then rediscovering, in case that is helpful. stbutton.txt (425.2 KB)

It’s part of the binding - it requires a thing definition to be added using the standard ESH XML format, and defining the channels and discovery data.

If you have a development environment, then the files are in the following section in the ZigBee binding -:

You can probably use one of the other files as a template - the channels that need to be added are mostly as the binding already discovered them (ie the temperature, batter alarm, voltage etc) but the button channel needs defining differently to work around the manufacturer specific definition. We could possibly add a new channel type, or we could use one of the existing IAS channels and just give it a different name. I’m open to discuss this and I’d need to take a look to see what looks like the best fit.

Hi,
I have recently starting to migrate my lamps connected via the Philips Hue gateway/binding to an ember stick and ZigBee binding on 2.5 release (ubuntu x86).
On the HUE gateway I am using channel 25. It is “a must” since i have too much RF interferance on other channels.
The Ember stick is set to channel 11. If I change that to anything else in PaperUI, it becomes unresponsive, and the next time I go in to the settings - it is still on channel 11. Is it possible to change channels with the ZigBee binding? Is there something I am doing wrong here? Must I do a textual thing definition to change this attribute?

Hey, i tried today using the zigbee binding (2.5).

I have flashed my CC2531 and try to discover my Paulmann Spots. But the spot is not detected.
Then i tried it with zigbee2mqtt and the Spot is detected without problems an with the same firmware on the Stick. Here the output from zigbee2mqtt.

zigbee2mqtt@1.8.0 start /opt/zigbee2mqtt
> node index.js

zigbee2mqtt:info  2019-12-29 22:27:16: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2019-12-29.22-27-16'
zigbee2mqtt:info  2019-12-29 22:27:17: Starting zigbee2mqtt version 1.8.0 (commit #da4d26a)
zigbee2mqtt:info  2019-12-29 22:27:17: Starting zigbee-herdsman...
zigbee2mqtt:info  2019-12-29 22:27:27: zigbee-herdsman started
zigbee2mqtt:info  2019-12-29 22:27:27: Coordinator firmware version: '{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}}'
zigbee2mqtt:info  2019-12-29 22:27:27: Currently 0 devices are joined:
zigbee2mqtt:warn  2019-12-29 22:27:27: `permit_join` set to  `true` in configuration.yaml.
zigbee2mqtt:warn  2019-12-29 22:27:27: Allowing new devices to join.
zigbee2mqtt:warn  2019-12-29 22:27:27: Set `permit_join` to `false` once you joined all devices.
zigbee2mqtt:info  2019-12-29 22:27:27: Zigbee: allowing new devices to join.
zigbee2mqtt:info  2019-12-29 22:27:27: Connecting to MQTT server at mqtt://localhost
zigbee2mqtt:info  2019-12-29 22:27:27: Connected to MQTT server
zigbee2mqtt:info  2019-12-29 22:27:27: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
zigbee2mqtt:info  2019-12-29 22:27:27: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.8.0","commit":"da4d26a","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}},"log_level":"info","permit_join":true}'
zigbee2mqtt:info  2019-12-29 22:32:10: Device '0x00158d00031e1ce2' joined
zigbee2mqtt:info  2019-12-29 22:32:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00158d00031e1ce2"}}'
zigbee2mqtt:info  2019-12-29 22:32:10: Starting interview of '0x00158d00031e1ce2'
zigbee2mqtt:info  2019-12-29 22:32:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00158d00031e1ce2"}}'
zigbee2mqtt:info  2019-12-29 22:32:10: Successfully interviewed '0x00158d00031e1ce2', device has successfully been paired
zigbee2mqtt:info  2019-12-29 22:32:10: Device '0x00158d00031e1ce2' is supported, identified as: Paulmann SmartHome led spot (50064)
zigbee2mqtt:info  2019-12-29 22:32:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00158d00031e1ce2","model":"50064","vendor":"Paulmann","description":"SmartHome led spot","supported":true}}'

Is there a way to get it working with the zigbee binding?

Best Regards