zha-device-handlers: [BUG] Siren TS0216 exposed entities doesn't work
I have a siren that looks like this:
https://zigbee.blakadder.com/Tuya_TS0216.html
The siren was recognized by zha. The on / off switch works as well as the tamper switch. In the home assistant, I have some entities with functions such as the alarm type, the volume, the strobe function, but they do not work. The only way to change the volume is from the device itself. How can I activate these features in my device management?

Device signature:
{
"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=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=512, server_mask=11264, maximum_outgoing_transfer_size=512, 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": "0x0403",
"in_clusters": [
"0x0000",
"0x000a",
"0x0500",
"0x0502",
"0xef01"
],
"out_clusters": [
"0x0019"
]
}
},
"manufacturer": "_TYZB01_0wcfvptl",
"model": "TS0216",
"class": "zigpy.device.Device"
}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 34 (2 by maintainers)
Hello @javicalle! Will there be a quirk for siren support in terms of volume and duration? Do you need anything more from me?
Yes
No there are no logs when using squawk service. Only “Warning device warn” is working just to turn on siren.
It’s an OOTB ZCL command.
Ok. 😃 Now i see that signature is changed. Device is working the same way i told you in my previous comment. Changing clusters i can change device volume and duration.
Hello! I use conbee 2 and ZHA. I changed my logger to:
My log file is massive because i use a lot of zigbee devices. So i try to filter log results using “TS0216” and “_TYZB01_0wcfvptl” Below are filtered results.
I also download diagnostics from the device:
zha-26ec3139cb678489c574327ee16f28bc-_TYZB01_0wcfvptl TS0216-7e99fe56646d5cec7de410aa3312bee8.json.txt
Is there a way to filter the results you need? I also can upload entire log file if you need it.