OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

How to handle OPENZWAVE_SCENES preprocessor #328

Closed robertsLando closed 4 years ago

robertsLando commented 5 years ago

I saw that you have used OPENZWAVE_SCENES preoprocessor to include/exclude scenes management in the build but you never set it on binding.gyp file. How about this? Could we enable it at least for scene_event ? In zwave2mqtt I have set up a custom scenes management but some nodes need to receive scene_event, how can I handle this? Could we enable it by default or maybe add a gyp preprocessor?

@Fishwaldo @ekarak

Fishwaldo commented 5 years ago

1.4 published changes to the SceneActivation CC class via Notifications. 1.6 changes that to ValueID’s as per all the other CC, and the Notification is depreciated (But still there till I remove it)

robertsLando commented 5 years ago

@Fishwaldo so how do I get a scene event in 1.6?

Fishwaldo commented 5 years ago

It’s a ValueID for each scene detected on the node. (Specifically a ValueList with each entry representing single/double taps etc. )