Supporting Scenes

19 views
Skip to first unread message

to...@eatbacon.org

unread,
Nov 11, 2020, 10:47:21 PM11/11/20
to OpenZWave
Hi all,
I have a Aeotec Wallmote which is successfully sending scene activations to my controller. I see messages like this upon tapping a button:

2020-11-11 16:37:38.225 Detail, Node063,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x3f, 0x05, 0x5b, 0x03, 0xf6, 0x00, 0x01, 0x65

2020-11-11 16:37:38.226 Info, Node063, Received Central Scene set from node 63: scene id=1 with key Attribute 0. Sending event notification.

2020-11-11 16:37:38.226 Info, Node063, Automatically Clearing Scene 1 in 1000ms

Note, I'm using openzwave-shared as the controller software.

The challenge is, I'm not able to "do anything" with this event. I've implemented the "scene event" handler:

zwave.on("scene event", function (nodeid, sceneid) { ... }

But this code is never triggered. I would have expected this to be called with arguments (63, 1) for nodeId=63, sceneId=1 but this isn't the case.

I also see that scene handling has changed in the underlying openzwave library:


It doesn't really say how to handle it.

Any tips would be super, thanks!
Reply all
Reply to author
Forward
0 new messages