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.

[Device Support Request] Neo/Tuya Siren without Sensors _TZE200_t1blo2bj TS0601

See original GitHub issue

This is a Neo/Tuya Siren without sensors.

Using Home Assistant 2022.2.8, no controls some in other than

Signature after adding:

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE200_t1blo2bj",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Logs:

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_rsp: [<Status.SUCCESS: 0>]
[0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_Permit_Joining_rsp([<Status.SUCCESS: 0>])
New device 0x517d (a4:c1:38:4c:8b:eb:9e:2b) joined the network
[0x517d] Scheduling initialization
Received frame on uninitialized device <Device model=None manuf=None nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x00}Q+\x9e\xeb\x8bL8\xc1\xa4\x8e'
[0x517d:zdo] ZDO request ZDOCmd.Device_annce: [0x517D, a4:c1:38:4c:8b:eb:9e:2b, 142]
Tries remaining: 3
[0x517d] Requesting 'Node Descriptor'
Tries remaining: 2
[0x517d] Extending timeout for 0x1f request
Received frame on uninitialized device <Device model=None manuf=None nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x1f\x00}Q\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0x517d] Got Node Descriptor: NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)
[0x517d] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=False> from ep 0 to ep 0, cluster 32773: b' \x00}Q\x02\x01\xf2'
[0x517d] Discovered endpoints: [1, 242]
[0x517d] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0x517d:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'!\x00}Q\x14\x01\x04\x01Q\x00\x01\x04\x04\x00\x05\x00\x00\xef\x00\x00\x02\x19\x00\n\x00'
[0x517d:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=81, device_version=1, input_clusters=[4, 5, 61184, 0], output_clusters=[25, 10])
Unknown cluster 61184
[0x517d:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=False> from ep 0 to ep 0, cluster 32772: b'"\x00}Q\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0x517d:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0x517d:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=35 command_id=Command.Read_Attributes_rsp>
[0x517d] Read model 'TS0601' and manufacturer '_TZE200_t1blo2bj' from <Endpoint id=1 in=[groups:0x0004, scenes:0x0005, None:0xEF00, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x517d] Discovered basic device information for <Device model='TS0601' manuf='_TZE200_t1blo2bj' nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=True>
Device is initialized <Device model='TS0601' manuf='_TZE200_t1blo2bj' nwk=0x517D ieee=a4:c1:38:4c:8b:eb:9e:2b is_initialized=True>
Checking quirks for _TZE200_t1blo2bj TS0601 (a4:c1:38:4c:8b:eb:9e:2b)
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 242}
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
device - 0x517D:a4:c1:38:4c:8b:eb:9e:2b entering async_device_initialized - is_new_join: True
device - 0x517D:a4:c1:38:4c:8b:eb:9e:2b has joined the ZHA zigbee network
[0x517D](TS0601): started configuration
[0x517D:ZDO](TS0601): 'async_configure' stage succeeded
Error handling '_save_attribute' event with (a4:c1:38:4c:8b:eb:9e:2b, 1, 0, 4, '_TZE200_t1blo2bj') params: FOREIGN KEY constraint failed
[0x517D:1:0x0000]: finished channel configuration
[0x517D:1:0x0019]: finished channel configuration
[0x517D:1:0x0000]: 'async_configure' stage succeeded
[0x517D:1:0x0019]: 'async_configure' stage succeeded
Error handling '_save_attribute' event with (a4:c1:38:4c:8b:eb:9e:2b, 1, 0, 5, 'TS0601') params: FOREIGN KEY constraint failed
[0x517D](TS0601): completed configuration
[0x517D](TS0601): stored in registry: ZhaDeviceEntry(name='_TZE200_t1blo2bj TS0601', ieee='a4:c1:38:4c:8b:eb:9e:2b', last_seen=1645382468.5321298)
[0x517D](TS0601): started initialization
[0x517D:ZDO](TS0601): 'async_initialize' stage succeeded
[0x517D:1:0x0000]: initializing channel: from_cache: False
[0x517D:1:0x0000]: finished channel initialization
[0x517D:1:0x0019]: initializing channel: from_cache: False
[0x517D:1:0x0019]: finished channel initialization
[0x517D:1:0x0000]: 'async_initialize' stage succeeded
[0x517D:1:0x0019]: 'async_initialize' stage succeeded
[0x517D](TS0601): power source: Mains
[0x517D](TS0601): completed initialization
[0xdd45:1:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=Command.Report_Attributes>
[0xdd45:1:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=0>)]]
[0xdd45:1:0x0702] Attribute report received: current_summ_delivered=0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:120 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
jerrmcommented, Mar 31, 2022

Confirming the merged quirk works as described above.

Summarizing for anyone landing here via search and doesn’t want to parse the whole thread:

  • ZHA recognizes the device as a router with a single on_off entity.
  • Melody, Volume, and Duration can be set using the TuyaMCUSiren cluster attributes on device’s “Manage Clusters” page, or equivalent zha service calls via script.
  • Likewise, battery percentage can be read from the TuyaMCUSiren battery attribute.
2reactions
jerrmcommented, Mar 24, 2022

I see that people point to the wrong place, here you can comment on your concerns…

Done

I do not take these comments badly, I can understand them, but there is not going to be an answer that can satisfy all of you.

Please don’t take anything I’ve said negatively. It’s meant as discussion, not criticism. I am nothing but appreciative.

My wife tells me I lack tact sometimes, she’s probably right.

But if someone can validate it…

I’ll test above changes this evening and report back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No entities in zigbee tuya siren with ZHA - ...
It seems the TS0601 by _TZE200_t1blo2bj is the cheaper Tuya siren ... post at: [Device Support Request] Neo/Tuya Siren without Sensors ...
Read more >
Neo TuYa ZigBee Siren 90db Review
In this review I am going to test the Neo Tuya ZigBee Siren 90db which is one of the cheapest siren alarms on...
Read more >
Seeking device handler for tuya smart air box
Anyone know if there are a device handler for this sensor? ... [Device Support Request] TS0601 _TZE200_yvx5lh6k (Smart Air Box).
Read more >
temperature sensor - notification setting (no siren alarm)
Or perhaps keep the single threshold but allow the user to choose if the siren is set off or not (in addition to...
Read more >
[RELEASE] Tuya Smart Siren Zigbee driver
Supported models : ... NEO ZigBee Siren Alarm Device Driver ... pports only the Tuya model without temperature and humidity sensors!
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

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