Zigbee binding

Excellent! The Osram discovery is now working too. Thank you! :slight_smile:
The thing created also uses the full product name instead of ā€œunknown ZigBee deviceā€ as it is for the HUE bulb (left is Philips, right is Osram):

You said above

ā€¦ so Iā€™d like to know if you are already interested in some device specific control issues or if it is to early to work on these. If so, donā€™t hesitate to tell me :wink:

For now, I can list, what is working and whatā€™s not:

Works:

  • discovery Philips HUE White and Color A60 and Osram Classic A60 TW (tunable white)
  • thing creation is ok for both, while for the Osram a valid name is choosen
  • switching: both
  • dimming: both
  • color: HUE

Donā€™t work

  • setting the color temperatur for Osram is currently not there (since it is a whitespectrum/tunable white bulb, the color command is not supported)
  • same for the HUE bulb for the white-spectrum mode
  • status in the UI is not updated if the state of the bulbs are changed outside openHAB (f.e. when the bulbs are connected to mains)

Works partially

  • setting the color/saturation/brightness for the HUE sometimes leads to a lag til up to 10 seconds until the command is sent out of the dongle. If you issue subsequent commands through UI, these commands seem to queued and executed sequentially after these lags.

Anyhow, this stuff is already very promising! Thank you Chris!
Iā€™m looking forward to use it and to get rid of the dedicated gateways.

If you want me to check something further, just let me know.

btw: I try to get hold of some IKEA Tradfri bulbs hopefully in the next week, and should also have an Osram RGBW lightstrip controller somewhere we can play with ā€¦

Hi Chris,

Well, yeah, I guess itā€™s not too uncommon for such cheap devices to violate the standard. It would be awesome if you could integrate them nevertheless they are non-compliant, 'cause they are so damn cheap. Is there anything I can provide to assist in getting support for them in? I do have the Door/Windows sensor, the push button and the temp/hum sensor lying around. Are you interessted in debug logs?

I agree - although my temp sensor just died, so cheap they might be - qualityā€¦ Not so much maybe ;).

Iā€™ve got the door sensor, and Iā€™ll get another temp sensor as well. It might not to be top of the priority list, but I would like to get these working. For now I wonā€™t worry about logs - Iā€™ve started to put together a log viewer (similar to the ZWave one) to make analyses easier, but as I have some of the devices I can work with them for nowā€¦

Hi Chris,
I did some more testing and can confirm, that the Osram Flex RGBW LED stripe controller can be discovered and is mainly working too. :wink:

It is discovered as ā€œunknown ZigBee deviceā€ and three channels (switch, dimmer, color) are created. It can be controlled via UI for all of the three channels but with same limitations as the HUE bulb (lagging for the color related controls).
The switch and dimmer channel work well if not just in the ā€œlag conditionā€ from a preceding color command.

Here is the log from the Osram RGBW Flex discovery:

2017-05-21 18:49:37.988 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - Starting ZigBee scan for zigbee:coordinator_cc2531:af6da79d
2017-05-21 18:49:37.995 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - Permit join for 60 seconds.
2017-05-21 18:49:38.000 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ManagementPermitJoiningRequest [0/0 -> 65532/0, cluster=0036, TID=76, permitDuration=60, tcSignificance=true]
2017-05-21 18:49:38.005 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 8418260000DA1EC3: Starting ZigBee device discovery
2017-05-21 18:49:38.005 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 001788011051E6AE: Starting ZigBee device discovery
2017-05-21 18:49:38.022 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 8418260000D9959B: Starting ZigBee device discovery
2017-05-21 18:49:38.023 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=13, apiId=24 01, data=FE 0D 24 01 FC FF 00 00 36 00 76 30 1F 03 00 3C 01 7A, checksum=7A, error=false)
2017-05-21 18:49:38.024 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 8418260000DA1EC3: Creating ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:af6da79d
2017-05-21 18:49:38.022 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 001788011051E6AE: Creating ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:af6da79d
2017-05-21 18:49:38.031 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:af6da79d:8418260000da1ec3' to inbox.
2017-05-21 18:49:38.032 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 8418260000D9959B: Creating ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:af6da79d
2017-05-21 18:49:38.033 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000DA1EC3: ZigBee node property discovery start
2017-05-21 18:49:38.034 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000DA1EC3: ZigBee node property discovery using 37750/3
2017-05-21 18:49:38.035 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 001788011051E6AE: ZigBee node property discovery start
2017-05-21 18:49:38.036 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=4, name=ManufacturerName, dataType=CHARACTER_STRING, lastValue=OSRAM]
2017-05-21 18:49:38.038 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=77, identifiers=[Attribute Identifier: attributeIdentifier=4]]
2017-05-21 18:49:38.040 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000D9959B: ZigBee node property discovery start
2017-05-21 18:49:38.040 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 001788011051E6AE: ZigBee node property discovery using 40021/11
2017-05-21 18:49:38.042 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000D9959B: ZigBee node property discovery using 60164/3
2017-05-21 18:49:38.043 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=4, name=ManufacturerName, dataType=CHARACTER_STRING, lastValue=OSRAM]
2017-05-21 18:49:38.044 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=4, name=ManufacturerName, dataType=CHARACTER_STRING, lastValue=Philips]
2017-05-21 18:49:38.044 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 60164/3, cluster=0000, TID=78, identifiers=[Attribute Identifier: attributeIdentifier=4]]
2017-05-21 18:49:38.048 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 40021/11, cluster=0000, TID=79, identifiers=[Attribute Identifier: attributeIdentifier=4]]
2017-05-21 18:49:38.048 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.050 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 04 EB 03 01 00 00 78 30 1F 05 00 78 00 04 00 E9, checksum=E9, error=false)
2017-05-21 18:49:38.079 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.081 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 77 30 1F 05 00 77 00 04 00 E3, checksum=E3, error=false)
2017-05-21 18:49:38.112 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.113 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 55 9C 0B 01 00 00 79 30 1F 05 00 79 00 04 00 C7, checksum=C7, error=false)
2017-05-21 18:49:38.148 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.421 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 77 B1)
2017-05-21 18:49:38.422 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=119)
2017-05-21 18:49:38.450 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 21 44 81 00 00 00 00 76 93 03 01 00 27 00 AB 49 B0 00 00 0D 08 77 01 04 00 00 42 05 4F 53 52 41 4D 76 93 1D FC)
2017-05-21 18:49:38.451 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=33, apiId=44 81, data=FE 21 44 81 00 00 00 00 76 93 03 01 00 27 00 AB 49 B0 00 00 0D 08 77 01 04 00 00 42 05 4F 53 52 41 4D 76 93 1D FC, checksum=FC, error=false
2017-05-21 18:49:38.453 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=77, records=[Read Attribute Status Record: attributeDataType=CHARACTER_STRING, attributeIdentifier=4, status=0, attributeValue=OSRAM]]
2017-05-21 18:49:38.464 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=5, name=ModelIdentifier, dataType=CHARACTER_STRING, lastValue=Flex RGBW]
2017-05-21 18:49:38.467 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7A, identifiers=[Attribute Identifier: attributeIdentifier=5]]
2017-05-21 18:49:38.469 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7A 30 1F 05 00 7A 00 05 00 E2, checksum=E2, error=false)
2017-05-21 18:49:38.503 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.723 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7A BC)
2017-05-21 18:49:38.724 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=122)
2017-05-21 18:49:38.757 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 25 44 81 00 00 00 00 76 93 03 01 00 24 00 51 4D B0 00 00 11 08 7A 01 05 00 00 42 09 46 6C 65 78 20 52 47 42 57 76 93 1D 4C)
2017-05-21 18:49:38.759 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=37, apiId=44 81, data=FE 25 44 81 00 00 00 00 76 93 03 01 00 24 00 51 4D B0 00 00 11 08 7A 01 05 00 00 42 09 46 6C 65 78 20 52 47 42 57 76 93 1D 4C, checksum=4C, error=false
2017-05-21 18:49:38.761 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7A, records=[Read Attribute Status Record: attributeDataType=CHARACTER_STRING, attributeIdentifier=5, status=0, attributeValue=Flex RGBW]]
2017-05-21 18:49:38.770 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=3, name=HWVersion, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=1]
2017-05-21 18:49:38.771 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 E9 01 78 57)
2017-05-21 18:49:38.773 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=Z_MAC_NO_ACK(233), TransID=120)
2017-05-21 18:49:38.774 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7B, identifiers=[Attribute Identifier: attributeIdentifier=3]]
2017-05-21 18:49:38.779 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7B 30 1F 05 00 7B 00 03 00 E4, checksum=E4, error=false)
2017-05-21 18:49:38.812 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:38.928 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 E9 01 79 56)
2017-05-21 18:49:38.930 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=Z_MAC_NO_ACK(233), TransID=121)
2017-05-21 18:49:38.978 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7B BD)
2017-05-21 18:49:38.980 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=123)
2017-05-21 18:49:39.089 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 7C 51 B0 00 00 08 08 7B 01 03 00 00 20 01 76 93 1D 24)
2017-05-21 18:49:39.091 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 7C 51 B0 00 00 08 08 7B 01 03 00 00 20 01 76 93 1D 24, checksum=24, error=false
2017-05-21 18:49:39.093 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7B, records=[Read Attribute Status Record: attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=3, status=0, attributeValue=1]]
2017-05-21 18:49:39.101 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=2, name=StackVersion, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=2]
2017-05-21 18:49:39.104 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7C, identifiers=[Attribute Identifier: attributeIdentifier=2]]
2017-05-21 18:49:39.107 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7C 30 1F 05 00 7C 00 02 00 E5, checksum=E5, error=false)
2017-05-21 18:49:39.138 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:39.167 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7C BA)
2017-05-21 18:49:39.169 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=124)
2017-05-21 18:49:39.506 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 99 56 B0 00 00 08 08 7C 01 02 00 00 20 02 76 93 1D C3)
2017-05-21 18:49:39.508 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 99 56 B0 00 00 08 08 7C 01 02 00 00 20 02 76 93 1D C3, checksum=C3, error=false
2017-05-21 18:49:39.510 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7C, records=[Read Attribute Status Record: attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=2, status=0, attributeValue=2]]
2017-05-21 18:49:39.519 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=0, name=ZCLVersion, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=1]
2017-05-21 18:49:39.523 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7D, identifiers=[Attribute Identifier: attributeIdentifier=0]]
2017-05-21 18:49:39.526 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7D 30 1F 05 00 7D 00 00 00 E7, checksum=E7, error=false)
2017-05-21 18:49:39.554 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:39.585 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7D BB)
2017-05-21 18:49:39.587 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=125)
2017-05-21 18:49:39.611 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 E2 57 B0 00 00 08 08 7D 01 00 00 00 20 01 76 93 1D B9)
2017-05-21 18:49:39.613 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 00 00 76 93 03 01 00 27 00 E2 57 B0 00 00 08 08 7D 01 00 00 00 20 01 76 93 1D B9, checksum=B9, error=false
2017-05-21 18:49:39.615 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7D, records=[Read Attribute Status Record: attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=0, status=0, attributeValue=1]]
2017-05-21 18:49:39.623 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=1, name=ApplicationVersion, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=3]
2017-05-21 18:49:39.627 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7E, identifiers=[Attribute Identifier: attributeIdentifier=1]]
2017-05-21 18:49:39.630 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7E 30 1F 05 00 7E 00 01 00 E6, checksum=E6, error=false)
2017-05-21 18:49:39.658 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:39.689 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7E B8)
2017-05-21 18:49:39.691 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=126)
2017-05-21 18:49:39.706 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 00 00 76 93 03 01 00 24 00 04 59 B0 00 00 08 08 7E 01 01 00 00 20 03 76 93 1D 52)
2017-05-21 18:49:39.707 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 00 00 76 93 03 01 00 24 00 04 59 B0 00 00 08 08 7E 01 01 00 00 20 03 76 93 1D 52, checksum=52, error=false
2017-05-21 18:49:39.709 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7E, records=[Read Attribute Status Record: attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=1, status=0, attributeValue=3]]
2017-05-21 18:49:39.717 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=6, name=DateCode, dataType=CHARACTER_STRING, lastValue=20140331CNWT****]
2017-05-21 18:49:39.721 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 37750/3, cluster=0000, TID=7F, identifiers=[Attribute Identifier: attributeIdentifier=6]]
2017-05-21 18:49:39.724 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 00 00 7F 30 1F 05 00 7F 00 06 00 E1, checksum=E1, error=false)
2017-05-21 18:49:39.749 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:39.777 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 7F B9)
2017-05-21 18:49:39.779 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=127)
2017-05-21 18:49:39.810 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 2C 44 81 00 00 00 00 76 93 03 01 00 24 00 46 5A B0 00 00 18 08 7F 01 06 00 00 42 10 32 30 31 34 30 33 33 31 43 4E 57 54 2A 2A 2A 2A 76 93 1D 4C)
2017-05-21 18:49:39.812 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=44, apiId=44 81, data=FE 2C 44 81 00 00 00 00 76 93 03 01 00 24 00 46 5A B0 00 00 18 08 7F 01 06 00 00 42 10 32 30 31 34 30 33 33 31 43 4E 57 54 2A 2A 2A 2A 76 93 1D 4C, checksum=4C, error=false
2017-05-21 18:49:39.814 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 37750/3 -> 0/1, cluster=0000, TID=7F, records=[Read Attribute Status Record: attributeDataType=CHARACTER_STRING, attributeIdentifier=6, status=0, attributeValue=20140331CNWT****]]
2017-05-21 18:49:39.822 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000DA1EC3: ZigBee node property discovery complete: {zigbee_manufacturer=OSRAM, zigbee_logicaltype=ROUTER, zigbee_powerlevel=FULL, zigbee_model=Flex RGBW, zigbee_networkaddress=37750, zigbee_powersource=MAINS, zigbee_stkversion=2, zigbee_datecode=20140331CNWT****, zigbee_zclversion=1, zigbee_hwversion=1, zigbee_appversion=3, zigbee_powermode=RECEIVER_ON_IDLE, zigbee_powersources=[RECHARGABLE_BATTERY, DISPOSABLE_BATTERY, MAINS]}
2017-05-21 18:49:39.826 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 8418260000DA1EC3: Update ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:af6da79d
2017-05-21 18:49:42.719 [DEBUG] [ee.internal.ZigBeeNetworkMeshMonitor] - 40021: ManagementLqiRequest returned null
2017-05-21 18:49:42.721 [DEBUG] [ee.internal.ZigBeeNetworkMeshMonitor] - 60164: Ieee Address request returned null
2017-05-21 18:49:42.721 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: IeeeAddressRequest [0/0 -> 40021/0, cluster=0001, TID=80, nwkAddrOfInterest=40021, requestType=1, startIndex=0]
2017-05-21 18:49:42.723 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ManagementRoutingRequest [0/0 -> 60164/0, cluster=0032, TID=81, startIndex=0]
2017-05-21 18:49:42.723 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 55 9C 00 00 01 00 80 30 1F 05 00 55 9C 01 00 80, checksum=80, error=false)
2017-05-21 18:49:42.749 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:42.752 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=12, apiId=24 01, data=FE 0C 24 01 04 EB 00 00 32 00 81 30 1F 02 00 00 58, checksum=58, error=false)
2017-05-21 18:49:42.778 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:45.206 [DEBUG] [zigbee.internal.ZigBeeHandlerFactory] - Creating coordinator handler for org.eclipse.smarthome.core.thing.internal.ThingImpl@7fa114bf
2017-05-21 18:49:45.225 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - Initializing ZigBee thing handler zigbee:device:af6da79d:8418260000da1ec3.
2017-05-21 18:49:45.231 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Coordinator status changed to ONLINE.
2017-05-21 18:49:45.234 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Coordinator is ONLINE. Starting device initialisation.
2017-05-21 18:49:45.246 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Initialising node
2017-05-21 18:49:45.249 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 4096
2017-05-21 18:49:45.251 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster 4096 is not implemented!
2017-05-21 18:49:45.253 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 0
2017-05-21 18:49:45.255 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster 0 is not implemented!
2017-05-21 18:49:45.257 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 3
2017-05-21 18:49:45.258 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster 3 is not implemented!
2017-05-21 18:49:45.260 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 4
2017-05-21 18:49:45.262 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster 4 is not implemented!
2017-05-21 18:49:45.264 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 5
2017-05-21 18:49:45.266 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster 5 is not implemented!
2017-05-21 18:49:45.268 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 6
2017-05-21 18:49:45.273 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 8
2017-05-21 18:49:45.277 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster 768
2017-05-21 18:49:45.281 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster -1020
2017-05-21 18:49:45.283 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster -1020 is not implemented!
2017-05-21 18:49:45.284 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Processing device 37750/3, cluster -1009
2017-05-21 18:49:45.285 [DEBUG] [handler.cluster.ZigBeeClusterHandler] - Cluster converter for cluster -1009 is not implemented!
2017-05-21 18:49:45.287 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Created 3 channels
2017-05-21 18:49:45.337 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Command for channel zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_switch_onoff --> REFRESH
2017-05-21 18:49:45.339 [WARN ] [ng.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_switch_onoff
2017-05-21 18:49:45.346 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Command for channel zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_switch_dimmer --> REFRESH
2017-05-21 18:49:45.348 [WARN ] [ng.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_switch_dimmer
2017-05-21 18:49:45.353 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 8418260000DA1EC3: Command for channel zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_color_color --> REFRESH
2017-05-21 18:49:45.355 [WARN ] [ng.zigbee.handler.ZigBeeThingHandler] - No handler found for zigbee:device:af6da79d:8418260000da1ec3:8418260000DA1EC3_3_color_color
2017-05-21 18:49:45.365 [DEBUG] [er.cluster.ZigBeeOnOffClusterHandler] - 8418260000DA1EC3: Initialising device on/off cluster
2017-05-21 18:49:45.367 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=0, name=OnOff, dataType=BOOLEAN, lastValue=true]
2017-05-21 18:49:45.368 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [On/Off: 0/0 -> 37750/3, cluster=0006, TID=82, identifiers=[Attribute Identifier: attributeIdentifier=0]]
2017-05-21 18:49:45.370 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 76 93 03 01 06 00 82 30 1F 05 00 82 00 00 00 E1, checksum=E1, error=false)
2017-05-21 18:49:45.396 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:45.631 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 82 44)
2017-05-21 18:49:45.633 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=130)
2017-05-21 18:49:45.663 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 1C 44 81 00 00 06 00 76 93 03 01 00 24 00 C3 A1 B0 00 00 08 08 82 01 00 00 00 10 01 76 93 1D A4)
2017-05-21 18:49:45.664 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=28, apiId=44 81, data=FE 1C 44 81 00 00 06 00 76 93 03 01 00 24 00 C3 A1 B0 00 00 08 08 82 01 00 00 00 10 01 76 93 1D A4, checksum=A4, error=false
2017-05-21 18:49:45.666 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [On/Off: 37750/3 -> 0/1, cluster=0006, TID=82, records=[Read Attribute Status Record: attributeDataType=BOOLEAN, attributeIdentifier=0, status=0, attributeValue=true]]
2017-05-21 18:49:45.668 [DEBUG] [er.cluster.ZigBeeOnOffClusterHandler] - 8418260000DA1EC3: ZigBee attribute reports ZclAttribute [id=0, name=OnOff, dataType=BOOLEAN, lastValue=true]
2017-05-21 18:49:45.668 [DEBUG] [er.cluster.ZigBeeOnOffClusterHandler] - 8418260000DA1EC3: ZigBee attribute reports ZclAttribute [id=0, name=OnOff, dataType=BOOLEAN, lastValue=true]
2017-05-21 18:49:45.669 [DEBUG] [er.cluster.ZigBeeOnOffClusterHandler] - 8418260000DA1EC3: ZigBee attribute reports ZclAttribute [id=0, name=OnOff, dataType=BOOLEAN, lastValue=true]
2017-05-21 18:49:48.082 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 8418260000D9959B: Manufacturer request timeout
2017-05-21 18:49:48.084 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=5, name=ModelIdentifier, dataType=CHARACTER_STRING, lastValue=Classic A60 TW]
2017-05-21 18:49:48.086 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 60164/3, cluster=0000, TID=83, identifiers=[Attribute Identifier: attributeIdentifier=5]]
2017-05-21 18:49:48.086 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 001788011051E6AE: Manufacturer request timeout
2017-05-21 18:49:48.088 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 04 EB 03 01 00 00 83 30 1F 05 00 83 00 05 00 E8, checksum=E8, error=false)
2017-05-21 18:49:48.088 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=5, name=ModelIdentifier, dataType=CHARACTER_STRING, lastValue=LCT007]
2017-05-21 18:49:48.091 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 40021/11, cluster=0000, TID=84, identifiers=[Attribute Identifier: attributeIdentifier=5]]
2017-05-21 18:49:48.115 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:48.117 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 55 9C 0B 01 00 00 84 30 1F 05 00 84 00 05 00 C6, checksum=C6, error=false)
2017-05-21 18:49:48.153 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-21 18:49:48.737 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 E9 01 83 AC)
2017-05-21 18:49:48.739 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=Z_MAC_NO_ACK(233), TransID=131)
2017-05-21 18:49:48.799 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 E9 01 84 AB)
2017-05-21 18:49:48.801 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=Z_MAC_NO_ACK(233), TransID=132)

Since the colort temperature control is not yet possible for the Osramā€™s as well as the HUE, do you plan to implement the color temperature control/color temperature channel? It is part of the color control cluster, color mode 0x02. I think, this is the mode, the ā€œtunable whiteā€/ā€œwhites spectrumā€ bulbs (Osram TW, Ikea Tradfri) rely on and the HUE as well when in white mode.

If this is there and the lag issue solved, we could start using this bundle :slight_smile:

This would be awesome!

I will take a look at this - it should be easy if itā€™s part of the color cluster.

Iā€™ll take a look at this during the week. It might be an issue lower down the stack so might take some thought.

At least things seem to be working a bit better now :slight_smile: .

Hi @chris,
as promised, Iā€™ve bought some Ikea Tradfri bulbs this week. I resetted one of them and tried to discover it.
Unfortunately, the binding canā€™t find it. This is the log:

tradfri.pdf (244.3 KB)

Sorry, for posting as pdf, but I donā€™t see another way to attach bigger logs :wink:

The
001788011051E6AE
8418260000DA1EC3
8418260000D9959B
are the formerly discovered devices (Philips+Osram).

Any idea how to get this discovered too?

I know - this is a pain. Can you post it as a text file, but name it pdf? A PDF is difficult to manageā€¦

Iā€™m in the process of doing some mods to improve the channels configuration (in support of adding color temperature)ā€¦

Sure :wink:
Here it isā€¦
tradfri.pdf (74.0 KB)

Ahh, very cool :slight_smile:

Iā€™ve done some search regarding compatibility of Ikea Tradfri with Zigbee ZLL. It is somehow contradictory:

Zigbee Alliance is listing them as being ZLL compliant:
http://www.zigbee.org/zigbee-products-2/#zigbeecertifiedproducts/productdetails3/5714d134d68b322d16de033d/

BUT:
HUE developer support claims it not beeing fully compliant to ZLL because of reporting their profile-id corresponding to ZHA:
https://developers.meethue.com/comment/2686#comment-2686

The Tradfri bulbs have been reported working in combination with a former firmware release of the HUE bridge (which supports ZLL-only according to Philips) and seem now beeing rejected by the HUE bridge from joining because of a more strict implementation (or interpretation) of the ZLL standard.

Not sure, if this relates to the discovery issue we see here - or if this is a real issue at all (besides the HUE bridge combination)

@Chris, you probably know all this already.
Nevertheless, I wanted to let you know just in case, you havenā€™t heard yet :wink:

Try the firmware named CC2531ZNP-Pro-Secure_LinkKeyJoin.hex from zstack, with that file loaded on the stick i have been able to control them with zigbee4java. I have tried pro, and pro-secure with zigbee4java and with them i am not able to join Ikea trƄdfri there.

//Mattias

Wow, @elevation thanks for that hint!

Just one question:
Do you have other brands of ZLL bulbs working in combination with that firmware.
Iā€™m asking especially about Philips and Osram (as you guess easily from my other posts ;-))

I think i joined hue lamps also, it has a while ago. Started using the stick from Dresden that they managed to get working instead.
The solution at https://kappa.io/download was working also, byt that old firmware was not accepted by zigbee4java.
Ikea lamps are based on the ember stack from silabs, i think i saw version 5.7.0 in some firmware file, tried to google and find if it was related to the stack itself or their implementation byt have not found anything.

//Mattias

Maybe the Ikea lamps are looking at ZigBee 3 compliance which does away with ZLL. ZLL isnā€™t used by the binding anyway and ZLL bulbs are meant to work with HA, so this shouldnā€™t matter. Iā€™ve not looked at the logs yet thoughā€¦

Version 5.7 of ember is reasonably new - they just released 5.9 a few weeks backā€¦ (I have all Ember developers kit here and am generally using 5.8).

Yes, that worked. Thanks again for sharing this @elevation ! As you said, the other lamps can join as well. Well - I had to rediscover them :wink:

So I currently have the Ikea, Osram and Philips in the same PAN. All can be controlled for level and switch cluster, the RGBs (HUE and the Osram stripe) can also controlled by the color cluster commands.

Now looking forward to @chrisā€™s color temp channel implementation :slight_smile:

2017-05-30 18:21:46.531 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000B57FFFE305336: Starting ZigBee device discovery
2017-05-30 18:21:46.532 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 64 3B 03 01 00 00 12 30 1F 05 00 12 00 06 00 5B, checksum=5B, error=false)
2017-05-30 18:21:46.539 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000B57FFFE305336: Creating ZigBee device zigbee:device with bridge zigbee:coordinator_cc2531:af6da79d
2017-05-30 18:21:46.544 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:af6da79d:000b57fffe305336' to inbox.
2017-05-30 18:21:46.546 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 000B57FFFE305336: ZigBee node property discovery start
2017-05-30 18:21:46.550 [DEBUG] [scovery.ZigBeeNodePropertyDiscoverer] - 000B57FFFE305336: ZigBee node property discovery using 8910/1
2017-05-30 18:21:46.552 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=4, name=ManufacturerName, dataType=CHARACTER_STRING, lastValue=IKEA of Sweden]
2017-05-30 18:21:46.553 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 8910/1, cluster=0000, TID=13, identifiers=[Attribute Identifier: attributeIdentifier=4]]
2017-05-30 18:21:46.556 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-30 18:21:46.558 [DEBUG] [31.network.impl.CommandInterfaceImpl] - ->  AF_DATA_REQUEST (Packet: subsystem=null, length=15, apiId=24 01, data=FE 0F 24 01 CE 22 01 01 00 00 13 30 1F 05 00 13 00 04 00 E8, checksum=E8, error=false)
2017-05-30 18:21:46.584 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-  AF_DATA_SRSP (FE 01 64 01 00 64)
2017-05-30 18:21:46.601 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- ZToolPacket (FE 03 45 C4 CE 22 00 6E)
2017-05-30 18:21:46.603 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=3, apiId=45 C4, data=FE 03 45 C4 CE 22 00 6E, checksum=6E, error=false
2017-05-30 18:21:46.604 [DEBUG] [e.dongle.cc2531.ZigBeeDongleTiCc2531] - Unhandled ZToolPacket type 0x45c4
2017-05-30 18:21:46.606 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- ZToolPacket (FE 03 45 C4 CE 22 00 6E)
2017-05-30 18:21:46.608 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=3, apiId=45 C4, data=FE 03 45 C4 CE 22 00 6E, checksum=6E, error=false
2017-05-30 18:21:46.609 [DEBUG] [e.dongle.cc2531.ZigBeeDongleTiCc2531] - Unhandled ZToolPacket type 0x45c4
2017-05-30 18:21:46.661 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_DATA_CONFIRM (FE 03 44 80 00 01 13 D5)
2017-05-30 18:21:46.663 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: AF_DATA_CONFIRM(Endpoint=1, Status=SUCCESS(0), TransID=19)
2017-05-30 18:21:46.668 [DEBUG] [31.network.impl.CommandInterfaceImpl] - <-- AF_INCOMING_MSG (FE 2A 44 81 00 00 00 00 CE 22 01 01 00 A0 00 34 41 35 00 00 16 18 13 01 04 00 00 42 0E 49 4B 45 41 20 6F 66 20 53 77 65 64 65 6E CE 22 1D 67)
2017-05-30 18:21:46.670 [DEBUG] [31.network.impl.CommandInterfaceImpl] - Received Async Cmd: Packet: subsystem=null, length=42, apiId=44 81, data=FE 2A 44 81 00 00 00 00 CE 22 01 01 00 A0 00 34 41 35 00 00 16 18 13 01 04 00 00 42 0E 49 4B 45 41 20 6F 66 20 53 77 65 64 65 6E CE 22 1D 67, checksum=67, error=false
2017-05-30 18:21:46.671 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReadAttributesResponse [Basic: 8910/1 -> 0/1, cluster=0000, TID=13, records=[Read Attribute Status Record: attributeDataType=CHARACTER_STRING, attributeIdentifier=4, status=0, attributeValue=IKEA of Sweden]]
2017-05-30 18:21:46.678 [DEBUG] [.zsmartsystems.zigbee.zcl.ZclCluster] - readSync request: ZclAttribute [id=5, name=ModelIdentifier, dataType=CHARACTER_STRING, lastValue=**TRADFRI bulb GU10 WS 400lm**]
2017-05-30 18:21:46.680 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: ReadAttributesCommand [Basic: 0/0 -> 8910/1, cluster=0000, TID=14, identifiers=[Attribute Identifier: attributeIdentifier=5]]

Nice that it worked. Is it possible to join the remote also? With deConz from dresden a new group is created when i join the remote, and the lamps added in that group can be toggled on/off and level cobtrolled, temp is not working (atleast with the versions i use). To join a remote in deConz i reset the remote with 4 (or 5, do not remember) quick presses on linkbutton on backside, then with network open i remove battery and put it back.

//Mattias

Sorry Mattias, I canā€™t help here.
Unfortunately, I donā€™t have Tradfri remotes (yet).

Hi all,
I recently got a CC2531 USB dongle on aliexpress and a smartrf04EB to flash the firmware using cc-tool on Linux:

reinhold@zweistein:~$ cc-tool -e -w CC2531ZNP-Pro-Secure_LinkKeyJoin.hex -v r 
  Programmer: SmartRF04EB
  Target: CC2531
  Erasing flash...
  Completed       
  Writing flash (242 KB)...
  Completed (7.89 s.)
  Verifying flash...
  Completed (78.21 s.)

However, when I try to add it to OpenHab on my Raspberry Pi 3, the binding (installed from the marketplace) claims that the tty does not exist:

2017-05-30 21:32:58.095 [DEBUG] [zigbee.internal.ZigBeeHandlerFactory] - Creating coordinator handler for org.eclipse.smarthome.core.thing.internal.BridgeImpl@d6e705f2
2017-05-30 21:32:58.126 [DEBUG] [ndler.ZigBeeCoordinatorCC2531Handler] - Initializing ZigBee CC2531EMK serial bridge handler.
2017-05-30 21:32:58.127 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initializing ZigBee network [zigbee:coordinator_cc2531:15c07b43].
2017-05-30 21:32:58.128 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Channel -1
2017-05-30 21:32:58.129 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - PANID 0
2017-05-30 21:32:58.131 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - EPANID 0000000000000000
2017-05-30 21:32:58.132 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Key 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2017-05-30 21:32:58.133 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initialising network
2017-05-30 21:32:58.134 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Created random ZigBee PAN ID [5DA0].
2017-05-30 21:32:58.186 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Created random ZigBee extended PAN ID [6F50A53C67F77800].
2017-05-30 21:32:58.229 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Key String 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2017-05-30 21:32:58.230 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Key array [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2017-05-30 21:32:58.231 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Key final array [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2017-05-30 21:32:58.274 [DEBUG] [ndler.ZigBeeCoordinatorCC2531Handler] - ZigBee Coordinator CC2531 opening Port:ā€˜/dev/ttyACM1ā€™ PAN:5da0, Channel:-1
2017-05-30 21:32:58.275 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Scheduling ZigBee start
2017-05-30 21:32:59.276 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee network starting
2017-05-30 21:32:59.277 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Initialising ZigBee coordinator
2017-05-30 21:32:59.279 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - Creating ZigBee discovery service for zigbee:coordinator_cc2531:15c07b43
2017-05-30 21:32:59.280 [DEBUG] [bee.discovery.ZigBeeDiscoveryService] - Activating ZigBee discovery service for zigbee:coordinator_cc2531:15c07b43
2017-05-30 21:32:59.315 [DEBUG] [org.openhab.binding.zigbee ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=422, service.bundleid=23 service.scope=singleton} - org.openhab.binding.zigbee
2017-05-30 21:32:59.317 [DEBUG] [bee.handler.ZigBeeCoordinatorHandler] - Key initialise [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2017-05-30 21:32:59.320 [DEBUG] [ndler.ZigBeeCoordinatorCC2531Handler] - Opening ZigBee CC2531 serial port
2017-05-30 21:32:59.321 [DEBUG] [ndler.ZigBeeCoordinatorCC2531Handler] - Connecting to serial port [/dev/ttyACM1]
2017-05-30 21:32:59.325 [ERROR] [ndler.ZigBeeCoordinatorCC2531Handler] - Serial Error: Port /dev/ttyACM1 does not exist

The serial device /dev/ttyACM1 does exist (by default with group dialout and permissions 660, but I changed it to 777 to be sure itā€™s not a permissions issue):

[22:26:30] root@openHABian:~# ls -la /dev/ttyACM1
crwxrwxrwx 1 root dialout 166, 1 May 30 21:39 /dev/ttyACM1

The dmesg command also shows that the serial device is properly created when I plug in the USB stick:

[70930.149076] usb 1-1.2: new full-speed USB device number 24 using dwc_otg
[70930.271804] usb 1-1.2: New USB device found, idVendor=0451, idProduct=16a8
[70930.271829] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[70930.271842] usb 1-1.2: Product: TI CC2531 USB CDC
[70930.271854] usb 1-1.2: Manufacturer: Texas Instruments
[70930.271867] usb 1-1.2: SerialNumber: __0X00124B0009EB0CE8
[70930.274523] cdc_acm 1-1.2:1.0: ttyACM1: USB ACM device

Any idea what might be wrong?

Thanks,
Reinhold

1 Like

Just to be sure:
Do you have installed:

as Chris mentioned above?

The binding wont even start if the serial bundle isnā€™t found. This will likely be the ā€œstandardā€ permissions problems that people have with RPi - even when they set the permissions. This is also reasonably common with ZWave and other serial bindings.

Unfortunately I donā€™t have an answer though, but ā€œport doesnā€™t existā€ is the standard response for permissions issuesā€¦

Ah, I see, thanks for clarifying.
Since I use openHABian on my ā€œdevelopement/testā€-RasPI-system, Iā€™ve probably not stumbled over this serial permission issue.

Another idea is to check:

/etc/default/openhab2 to permit the required serial port, similar to:

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/rdev/zwave:/rdev/rfxcom"