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.

[BUG] NodOn on_off light switch seen as a dimmer

See original GitHub issue

Is your feature request related to a problem? Please describe. NodON SIN-4-2-20 light switch is quite well supported but ZHA offers dimming capability for it, while the module is only an on_off switch (confirmed with tech specs, and also tested with a dimming capable light, which didn’t work).

The problem is that there is an in_cluster 0x0008 twice in its signature one for each relay.

Describe the solution you’d like A quirck should be added for this device with a replacement, removing those 2 entries.

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.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=4747, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, 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": "0x0100", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0007", "0x0008", "0x1000", "0xfc57" ], "out_clusters": [ "0x0003", "0x0006", "0x0019" ] }, "2": { "profile_id": 260, "device_type": "0x0100", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0007", "0x0008" ], "out_clusters": [ "0x0003", "0x0006" ] }, "242": { "profile_id": 41440, "device_type": "0x0066", "in_clusters": [ "0x0021" ], "out_clusters": [ "0x0021" ] } }, "manufacturer": "NodOn", "model": "SIN-4-2-20", "class": "zigpy.device.Device" }

Additional context

dimmer_nodon

{ “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=4747, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, 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”: “0x0100”, “in_clusters”: [ “0x0000”, “0x0003”, “0x0004”, “0x0005”, “0x0006”, “0x0007”, “0x0008”, ### HERE ### “0x1000”, “0xfc57” ], “out_clusters”: [ “0x0003”, “0x0006”, “0x0019” ] }, “2”: { “profile_id”: 260, “device_type”: “0x0100”, “in_clusters”: [ “0x0000”, “0x0003”, “0x0004”, “0x0005”, “0x0006”, “0x0007”, “0x0008” ### HERE ### ], “out_clusters”: [ “0x0003”, “0x0006” ] }, “242”: { “profile_id”: 41440, “device_type”: “0x0066”, “in_clusters”: [ “0x0021” ], “out_clusters”: [ “0x0021” ] } }, “manufacturer”: “NodOn”, “model”: “SIN-4-2-20”, “class”: “zigpy.device.Device” }

Here is the problem. I would have write it myself, had I been proficient enough in python, which isn’t the case… I would need a bit of help 😉 Thanks in advance !

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
altmenorgcommented, Jun 15, 2022

@TheJulianJES : just did the PR. Thanks again for the help !

1reaction
altmenorgcommented, Feb 15, 2022

Thanks a lot for all this. I’ll try to get the job done. You gave me more than I needed 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Best In-Wall Smart Light Switch and Dimmer
We recommend the TP-Link Kasa Smart Wi-Fi Light Switch Dimmer HS220 ... Monoprice Stitch Smart In-Wall On/Off Light Switch With Dimmer.
Read more >
How to Change a Normal Light Switch to a Dimmer Switch
Video explaining how to safely change a normal light switch to a dimmer switch. Includes safe isolation procedures.
Read more >
On/Off Wall Dimmer Switch with Dimmable Slide, for LED/ ...
Single Pole and 3 Way Compatible: This slide control LED dimmer switch can be used in single pole or 3-way applications, making multi-location...
Read more >
ring light schedule not working
SONOFF D1 Smart Dimmer Switch LED Light WIFI Wireles…. If the white light does not start spinning, your doorbell is not in Setup...
Read more >
Delete philips hue account - Sport Castellano Reports
Tap the checkbox next to each light to turn Dec 10, 2012 · Philips hue review. ... manner of associated accessories like motion...
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

No results found

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