Legrand Self-e batteryless switches (ZLGP1X)

@Smanar @fredericseiler will the supported button events be listed as pushed or released? I’d like new additions be as proper as possible so it will work without issue once device descriptions are formalized

In the PR from @Smanar, the single press action is associated with “S_BUTTON_ACTION_SHORT_RELEASED”, and the double press, when available, with “S_BUTTON_ACTION_DOUBLE_PRESS”. On the switch side, however, events are fired as soon as you press the button, not when you release it. Don’t know if that’s relevant.

1 Like

Good question ^^.
I have chosen RELEASED to normalise, for other switch, it s the same value Button Events - deCONZ REST-API

And as personnaly, I don’t see a big difference for switchs that don’t support long press …

Hi.
How did you manage to pair the Legrand green power switches with deconz (what process ?)

Thanks.

Hello, the PR is still in waiting list > https://github.com/dresden-elektronik/deconz-rest-plugin/pull/5111

And the author have now switched to z2m where the support was added some days ago.