I also have a scene controller remote at home. It is recognized by zWaveJSUI. But I integrated it directly as a scene link with the other devices.
I can look into integrating button handling: receiving the events. We’re not talking about handling associations, right (which could be another topic).
I’ll look into it over the next two weeks. Would that be okay?
The remote has 4 buttons with 4 different actions:
single click
double click
long press
button released
So there are 16 possibilities.
The « button released » action is only active after a « long press » according to the events
I’ve never understood the point of this mode. If anyone can enlighten me…
I haven’t really tested with my device yet. I just looked at the messages that are passing through. I need to find a way to test this while my installation is actually running.
Support for battery level => I’ll make a dedicated PR for that.
I just pushed an update to GitHub with the tests and code coverage.
I’m relying on the real values I see passing through MQTT, but I haven’t tested it on my Gladys installation yet… I need to think about how I can do it without breaking everything