Zigbee binding

As I said though, this won’t necessarily work as there is a race condition. If the binding updates the item state before the rule triggers following the thing online update then it won’t work.

This is likely because the binding will automatically update the state of the device when it comes back online.

Couldn’t you use a timer to ensure the binding updates the new state and then use item.previousState.state to set the state back to where it was?

Why not managin cc2531 and all related with generic MQTT binding?
Thought zigbee bindining was designed for gateway integration

I’m not sure what that means, but the ZigBee binding is designed to attach to ZigBee devices - there is no gateway required.

Personally I would not recommend the TI device as the firmware is no longer supported by the manufacturer.

Are you sure?Where did you read this
What I read si about shepard libraries no more considered but the Project itself stil evolve and proceed

I think you are mixing up different things. The zigbee2mqtt project which is separate from openhab but can be connected via mqtt actually only works with cc2531usb stick. The Openhab Zigbee Binding manages a number of different sticks you can find in the documentation like the ember based ones directly. @chris is saying that the cc2531 will work and is easy to get but will do to missing manufacturer support not receive abilitys like for example dealing with zigbee 3.0 devices which will become more common in the future. So it is a limiting choice compared to other available sticks that work with the Openhab binding.
Johannes

1 Like

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)