DDF for Siglis zigfred uno and zigfred plus smart in-wall switches#6282
Conversation
Initial support for Siglis zigfred_uno device made with @Smanar.
… for realtime state change tracking while reducing network traffic.
|
I did a little test with my zigfred uno, it joined right away and the DDF was picked up. Cool that the color LED can be controlled with its own endpoint :) The button event cluster 0xFC42 was available after updating the switch from version 26 to version 29 via the app. The events x000, x001 and x003 are emitted for buttons 100x – 400x once they are all configured in the app. |
|
The x002 is already used for the double press event if I'm not wrong :) |
|
Not quite, the x002 is short released and x0004 is double press, the values were originally derived from the first Hue dimmer switch and have been extended over time. For a quick ref the sensor.h header has the defines for the last digit / action: Lines 19 to 32 in 449ab29 |
|
Ha yes, lol, haven't see that, but the "deconz rule" are here too https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Supported-Devices#events-legend Perhaps |
|
That means that a mapping should be done in the DDF. Is that something that could be done easily in the |
|
Yes ofc, it the place to do that, for this device all the "magic" is done in the DDF for the mapping.
|
I can confirm with this the expected x002 events are emitted. |
|
I've merged the PR and adapted the x002 events in 4464fe8 |
Initial support for zigfred uno and zigfred plus smart in-wall switches by Siglis.
This pull request builds upon and supersedes pull request GH-6280 and #6258
Many thanks go to @WhistleMaster and @Smanar for the initial code.
Best regards
Markus, Team zigfred