Follow the steps again… then give me the content of the output panel after the device card shows up. If SimpleDescriptor isn’t in the output that means the device wasn’t actually removed from ZHA and it didn’t go through the discovery process again. Once you have the output containing SimpleDescriptor link it here and I’ll take a look. Also, what version of HA are you on? I just expanded support for Xiaomi switches / buttons in .100
Running .100 as I saw you updated the xiaomi switches, thanks for that!
I’ve removed them again to get proper logging, how would I go about making sure they are really removed from ZHA? They don’t show up in the UI anymore
Right, so here’s my log.
Might be some unrelated info in between regarding my lights
Does the below tell you anything?
Looks like it’s outputting to a cluster that’s not mentioned during setup?
[0x0000:zdo] ZDO request 0x0036: [60, <Bool.false: 0>]
Device 0xb807 (00:15:8d:00:01:70:ee:97) joined the network
[0xb807:zdo] ZDO request 0x0013: [0xb807, 00:15:8d:00:01:70:ee:97, 128]
[0xb807] Requesting ‘Node Descriptor’
[0xb807] Extending timeout for 0x02 request
Ignoring message (b’18000a050042116c756d692e73656e736f725f383673773201002004’) on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b’1c5f11010a01ff421b0121030c03281e0421a8010521f100062401000000000a210000’) on cluster 0: unknown endpoint or cluster id: 1
[0xb807] Node Descriptor:
Error calling listener.node_descriptor_updated: FOREIGN KEY constraint failed
[0xb807] Discovering endpoints
[0xb807] Extending timeout for 0x04 request
[0x41c5:3:0x0b04]: async_update
[0x1256:3:0x0b04]: async_update
[0xe957:3:0x0b04]: async_update
[0x1256:3:0x0b04] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=8 command_id=Command.Read_Attributes_rsp>
[0xb807] Discovered endpoints: [1, 2, 3]
[0xb807:1] Discovering endpoint information
[0xb807] Extending timeout for 0x0c request
[0x41c5:3:0x0b04] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=6 command_id=Command.Read_Attributes_rsp>
[0xb807:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=24321 device_version=1 input_clusters=[0, 3, 25, 65535, 18] output_clusters=[0, 4, 3, 5, 25, 65535, 18]>
[0xb807] Extending timeout for 0x0e request
[0xb807:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=14 command_id=Command.Read_Attributes_rsp>
[0xb807:1] Manufacturer: LUMI
[0xb807:1] Model: lumi.sensor_86sw2
[0xb807:2] Discovering endpoint information
[0xb807] Extending timeout for 0x10 request
[0xb807:2] Discovered endpoint information: <SimpleDescriptor endpoint=2 profile=260 device_type=24322 device_version=1 input_clusters=[3, 18] output_clusters=[4, 3, 5, 18]>
[0xb807:3] Discovering endpoint information
[0xb807] Extending timeout for 0x14 request
[0x78d3:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=18 command_id=Command.Default_Response>
[0x78d3:1:0x0006]: executed command: off with args: () with kwargs: {} and result: [0, <Status.SUCCESS: 0>]
light.ikea_of_sweden_tradfri_bulb_e14_w_op_ch_400lm_fe22ad73_1: turned off: [0, <Status.SUCCESS: 0>]
[0xb807:3] Discovered endpoint information: <SimpleDescriptor endpoint=3 profile=260 device_type=24323 device_version=1 input_clusters=[3, 12] output_clusters=[4, 3, 5, 12]>
Checking quirks for LUMI lumi.sensor_86sw2 (00:15:8d:00:01:70:ee:97)
Considering <class ‘zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01’>
Found custom device replacement for 00:15:8d:00:01:70:ee:97: <class ‘zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01’>
device - 0xb807:00:15:8d:00:01:70:ee:97 entering async_device_initialized - is_new_join: True
device - 0xb807:00:15:8d:00:01:70:ee:97 has joined the ZHA zigbee network
0xb807: started configuration
0xb807:ZDO: channel: ‘async_configure’ stage succeeded
[0xb807:1:0x0000]: finished channel configuration
[0xb807] Extending timeout for 0x18 request
[0xb807:1:0x0001]: finished channel configuration
[0xb807:1:0x0001]: channel: ‘async_configure’ stage succeeded
[0xb807:1:0x0012]: finished channel configuration
[0xb807:1:0x0012]: channel: ‘async_configure’ stage succeeded
[0xb807:1:0x0005]: finished channel configuration
[0xb807:1:0x0005]: channel: ‘async_configure’ stage succeeded
[0xb807:2:0x0012]: finished channel configuration
[0xb807:2:0x0012]: channel: ‘async_configure’ stage succeeded
[0xb807:2:0x0005]: finished channel configuration
[0xb807:2:0x0005]: channel: ‘async_configure’ stage succeeded
[0xb807:3:0x0012]: finished channel configuration
[0xb807:3:0x0012]: channel: ‘async_configure’ stage succeeded
[0xb807:3:0x0005]: finished channel configuration
[0xb807:3:0x0005]: channel: ‘async_configure’ stage succeeded
[0xc947:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=22 command_id=Command.Default_Response>
[0xc947:1:0x0006]: executed command: off with args: () with kwargs: {} and result: [0, <Status.SUCCESS: 0>]
light.ikea_of_sweden_tradfri_bulb_e14_w_op_ch_400lm_fef3337a_1: turned off: [0, <Status.SUCCESS: 0>]
[0xb807:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=24 command_id=Command.Read_Attributes_rsp>
[0xb807:1:0x0000]: initializing channel: from_cache: False
[0xb807:1:0x0000]: channel: ‘async_configure’ stage succeeded
0xb807: completed configuration
0xb807: stored in registry: ZhaDeviceEntry(name=‘LUMI lumi.sensor_86sw2’, ieee=‘00:15:8d:00:01:70:ee:97’, last_seen=1570802466.682901)
0xb807: started initialization
0xb807:ZDO: entry loaded from storage: ZhaDeviceEntry(name=‘LUMI lumi.sensor_86sw2’, ieee=‘00:15:8d:00:01:70:ee:97’, last_seen=1570802466.682901)
0xb807:ZDO: channel: ‘async_initialize’ stage succeeded
[0xb807] Extending timeout for 0x1a request
[0xb807:1:0x0001]: initializing channel: from_cache: False
[0xb807:1:0x0001]: channel: ‘async_initialize’ stage succeeded
[0xb807] Extending timeout for 0x1c request
[0xb807:1:0x0005]: initializing channel: from_cache: False
[0xb807:1:0x0005]: channel: ‘async_initialize’ stage succeeded
[0xb807] Extending timeout for 0x1e request
I can confim the new revision of Aoara buttons WXKG11Lm are now working with 0.100.1
So it seems. Cluster 1 and 6 even.
What does that mean? It doesn’t inform the coordinator about the existence? Yet it does send to those clusters?
Any tips? I reverted back to my aqara hubs, but they are very unreliable.
Would love for these to work in ZHA
I’m going to have to get my hands on one of these. I’ll report back when I have info. … actually after looking at the ST handler it may be easy to expand the existing quirks for the 2018 models to handle this revision as well. I looked really quick and it seems that it may just be the cluster id that is different.
Oh, how I wish I understood what that means
Anything I can help out, I know how to enter my hassio docker and edit some files…
Can you send a link where you got these from?
the actual switches or the codes?
The switches most probably from gearbest, maybe aliexpress.
Had them for a while, worked fine with the aqara gateway (besides te random wifi disconnects/reboots) and worked fine with zigbee2mqtt.
The switch. Are these wired wall switches? With or Without neutral?
Wireless, cr2032 powered
Has anyone been able to pair and use the hive thermostat boiler control and TRV vales with via ZHA and not the hive hub?
Centralite_3326l have been working perfectly for a long time now.
After update to 100.0 now 100.2 they are not working any more.
Running Raspberry Pi3 with Hass.io
HUSBZB-1 Stick & ZHA
Any ideas.
Open issue with homeassistant repo, enable debug logging. submit log and describe the problem in details.
Does anyone know how to get these xiaomi aqara Motion and temperature sensors to stay connected?
They will stay connected for anywhere from 6-24 hours then will just drop off… all sensors will show unavailable. It’s not a distance issue as im pretty close to the zha stick.
search this thread. It was covered quite a few times here
Pulled Batt
Held down reset button for 5 seconds
Then did a ZHA add device
They are now working again.