question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Sengled 4 button controller

See original GitHub issue

Just picked this up from Bestbuy, able to pair it to HA via ZHA, but the buttons don’t generate events. This is what I get when pairing:

[0x0000:zdo] ZDO request 0x0036: [60, <Bool.false: 0>]
Device 0x6ae4 (b0:ce:18:14:03:5d:cb:63) joined the network
[0x6ae4:zdo] ZDO request 0x0013: [0x6ae4, b0:ce:18:14:03:5d:cb:63, 128]
[0x6ae4] Requesting 'Node Descriptor'
[0x6ae4] Node Descriptor: <Optional byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4448 maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=11264 maximum_outgoing_transfer_size=82 descriptor_capability_field=0>
Error calling listener.node_descriptor_updated: FOREIGN KEY constraint failed
[0x6ae4] Discovering endpoints
[0x6ae4] Discovered endpoints: [1]
[0x6ae4:1] Discovering endpoint information
[0x6ae4:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=260 device_version=0 input_clusters=[0, 1, 3, 32, 64529] output_clusters=[3, 4, 6, 8, 64528]>
[0x6ae4:1] Manufacturer: sengled
[0x6ae4:1] Model: E1E-G7F
Checking quirks for sengled E1E-G7F (b0:ce:18:14:03:5d:cb:63)
Considering <class 'zigpy.quirks.smartthings.SmartthingsMultiPurposeSensor'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1}
Considering <class 'zhaquirks.lutron.lzl4bwhl01remote.LutronLZL4BWHL01Remote2'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
Fail because endpoint list mismatch: {3} {1}
Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
Fail because endpoint list mismatch: {1, 2} {1}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xbee.xbee_io.XbeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor'>
Fail because device_type mismatch on at least one endpoint
[0x6ae4](E1E-G7F): started configuration
[0x6ae4:ZDO](E1E-G7F): channel: 'async_configure' stage succeeded
0x6ae4:1:0x0000: bound  'basic' cluster: Status.SUCCESS
[0x6ae4:1:0x0000]: finished channel configuration
0x6ae4:1:0x0001: bound  'power' cluster: Status.SUCCESS
0x6ae4:1:0x0006: bound  'on_off' cluster: Status.SUCCESS
[0x6ae4:1:0x0006]: finished channel configuration
[0x6ae4:1:0x0006]: channel: 'async_configure' stage succeeded
[0x6ae4:1:0x0000] Unexpected ZCL reply 0x0001: [[<ReadAttributeRecord attrid=4 status=0 value=sengled>, <ReadAttributeRecord attrid=5 status=0 value=E1E-G7F>]]
0x6ae4:1:0x0008: bound  'level' cluster: Status.SUCCESS
[0x6ae4:1:0x0008]: finished channel configuration
[0x6ae4:1:0x0008]: channel: 'async_configure' stage succeeded
[0x6ae4:1:0x0000]: initializing channel: from_cache: False
[0x6ae4:1:0x0000]: channel: 'async_configure' stage succeeded
0x6ae4:1:0x0001: reporting 'battery_voltage' attr on 'power' cluster: 30/900/1: Result: '[[<ConfigureReportingResponseRecord status=Status.SUCCESS>]]'
0x6ae4:1:0x0001: reporting 'battery_percentage_remaining' attr on 'power' cluster: 30/900/1: Result: '[[<ConfigureReportingResponseRecord status=Status.SUCCESS>]]'
[0x6ae4:1:0x0001]: finished channel configuration
[0x6ae4:1:0x0001]: channel: 'async_configure' stage succeeded
[0x6ae4](E1E-G7F): completed configuration
[0x6ae4](E1E-G7F): stored in registry: ZhaDeviceEntry(name='sengled E1E-G7F', ieee='b0:ce:18:14:03:5d:cb:63', last_seen=1566698421.7629156)
[0x6ae4](E1E-G7F): started initialization
[0x6ae4:ZDO](E1E-G7F): entry loaded from storage: ZhaDeviceEntry(name='sengled E1E-G7F', ieee='b0:ce:18:14:03:5d:cb:63', last_seen=1566698421.7629156)
[0x6ae4:ZDO](E1E-G7F): channel: 'async_initialize' stage succeeded
[0x6ae4:1:0x0006]: initializing channel: from_cache: False
[0x6ae4:1:0x0006]: channel: 'async_initialize' stage succeeded
[0x6ae4:1:0x0008]: initializing channel: from_cache: False
[0x6ae4:1:0x0008]: channel: 'async_initialize' stage succeeded
[0x6ae4:1:0x0000]: initializing channel: from_cache: False
[0x6ae4:1:0x0000]: channel: 'async_initialize' stage succeeded

When pressing buttons, I get the following (single tap each button top to bottom, then double tap top to bottom, then press+hold top to bottom):

[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x01\x00\x00\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x03\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x04\x00\x00\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x05\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x03\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x02\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x07\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x06\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x03\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x02\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x02\x00\x02\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x03\x00\x02\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x03\x00\x02\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
Unknown cluster-specific command 0
[0x6ae4:1:0xfc10] ZCL request 0x0100: b'\x08\x00\x01\x00'
[0x6ae4:1:0xfc10] No handler for cluster command 0
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1
[0x6ae4:1:0x0001] ZCL request 0x000a: [[<Attribute attrid=33 value=<TypeValue type=uint8_t, value=200>>]]
[0x6ae4:1:0x0001] Attribute report received: battery_percentage_remaining=200
[0xbb9a:10:0x0019] ZCL request 0x0101: [0, 4425, 1, 500, None]
[0xbb9a:10:0x0019] No handler for cluster command 1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:35 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
blathers123commented, Jan 8, 2021

Not sure of the beer to taco conversation rate but I took a stab at it. Awesome work @compeek

2reactions
compeekcommented, Jan 8, 2021

By the way, the PR is merged! Sounds like it will probably make it into the next release of Home Assistant: https://github.com/zigpy/zha-device-handlers/pull/707#issuecomment-757016275

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add support for Sengled 4 button controller #140 - GitHub
Just picked this up from Bestbuy, able to pair it to HA via ZHA, but the buttons don't generate events. This is what...
Read more >
Setting up the Sengled Smart Switch to control Sengled bulbs ...
1) Open the SmartThings app and press the “+” sign on the main page. 2) Then, press “Add Automation”. 3) Choose “Smart Lighting”...
Read more >
Adding a Sengled Smart Switch/Remote to your Sengled hub
The first thing you would want to do is open the Sengled Home app and press the three dots in a circle symbol...
Read more >
Adding a Sengled Smart Switch to your Samsung ...
Adding a Sengled Smart Switch to your Samsung SmartThings hub · 1) Open the SmartThings app · 2) Tap “Devices” · 3) Tap...
Read more >
Sengled Home app - legend
1. Power Button · 2. Icon of the Element Classic bulb · 3. Icon of the Element Plus bulb · 4. Icon of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found