zha-device-handlers
zha-device-handlers copied to clipboard
[Device Support Request] Motion sensor with illuminance TS0601 by _TZE200_ttcovulf
Problem description
Hello again. I recently bought motion sensor TS0601 by _TZE200_ttcovulf and it works, it shows Illuminance and motion sensors, but in manual I saw that there is one more option that I like to control - Illuminance polling interval, it is 60minutes by default and I want to change it to 30 minutes. From other thread on github I noticed that that it might be 0xEF00_ManufacturerSpecific cluster with attribute 0x0066_Custom: 60 [TUYA_32_BIT_INTEGER] but all my attempts to write to that cluster with write attribute command failed.
Solution description
Add quirk with polling interval option.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]
Device signature
Device signature
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, 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=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0402",
"input_clusters": [
"0x0000",
"0x0001",
"0x0400",
"0x0500"
],
"output_clusters": []
}
},
"manufacturer": "_TZE200_ttcovulf",
"model": "TS0601",
"class": "zigpy.device.Device"
}
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]
Logs
Logs
[Paste the logs here]
Custom quirk
Custom quirk
[Paste your custom quirk here]
Additional information
No response