[Device Support Request] SML003 sensitivity setting
See original GitHub issueIs your feature request related to a problem? Please describe. I bought an SML003 (hue motion sensor) to replace my Ikea ones because they support setting the sensitivity. However once paired in ZHA, that’s not an exposed setting and unfortunately the default is way too sensitive.
Describe the solution you’d like Add a way to set the sensitivity, Z2M apparently supports it
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{
"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=4107, maximum_buffer_size=82, maximum_incoming_transfer_size=128, server_mask=11264, maximum_outgoing_transfer_size=128, 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": {
"2": {
"profile_id": 260,
"device_type": "0x0107",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0400",
"0x0402",
"0x0406"
],
"out_clusters": [
"0x0000",
"0x0003",
"0x0006",
"0x0019"
]
}
},
"manufacturer": "Signify Netherlands B.V.",
"model": "SML003",
"class": "zigpy.device.Device"
}
Additional context This thread seems to suggest the way to do it is by setting ultrasonic_u_to_o_threshold and pir_u_to_o_threshold clusters but that doesn’t seem to do much currently. Might be better to look into how Z2M does it.
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (25 by maintainers)
Top GitHub Comments
Oh I see, they removed ZLL and left only ZHA ? That’s probably for the best, that was causing issues on other devices for me.
I do know what you mean, I have end devices connecting to the farthest possible router for some reason (especially philips hue dimmer switches !) but I just checked and that motion sensor is connected to one of the spots it’s bound to in the same hallway, seems logical. It’s been working well so far but it’s only been a couple of days, we’ll see how it goes in the next few months ! If it keeps working well I’m planning to replace all of my ikea motion sensors with these.
Thanks for approving the PR !
There is no set frequency