[RELEASE] Advanced Zooz Zen27 / Zen26 Central Scene Dimmer and Switch Drivers

Thanks Brian, but I think you are referring to the ZEN27 Dimmer. Your right that the dimmer doesn't have the press and hold scene control because that is reserved for the dimming functionality but on the ZEN26 Switch it has the capability for press and hold/release. Maybe this just needs to be added to the driver?

The built-in driver has the capability (emulated I'm sure) because the device does not send hold and release on central scene commands

Interesting okay thanks!

Not sure if this helps but here are the logs using the built in driver for each type of button press on the switch:

dev:5752020-05-08 05:08:43.219 pm infoDownstairs Closet Light Button 2 released
dev:5752020-05-08 05:08:43.217 pm debugCentralSceneNotification(keyAttributes:1, sceneNumber:1, sequenceNumber:102)
dev:5752020-05-08 05:08:42.460 pm infoDownstairs Closet Light Button 2 held
dev:5752020-05-08 05:08:42.458 pm debugCentralSceneNotification(keyAttributes:2, sceneNumber:1, sequenceNumber:101)
dev:5752020-05-08 05:08:40.322 pm infoDownstairs Closet Light Button 2 doubleTapped
dev:5752020-05-08 05:08:40.318 pm debugCentralSceneNotification(keyAttributes:3, sceneNumber:1, sequenceNumber:100)
dev:5752020-05-08 05:08:39.347 pm infoDownstairs Closet Light switch is off
dev:5752020-05-08 05:08:39.344 pm debugBasicReport(value:0)
dev:5752020-05-08 05:08:38.935 pm infoDownstairs Closet Light Button 2 pushed
dev:5752020-05-08 05:08:38.932 pm debugCentralSceneNotification(keyAttributes:0, sceneNumber:1, sequenceNumber:99)
dev:5752020-05-08 05:08:22.481 pm infoDownstairs Closet Light Button 1 released
dev:5752020-05-08 05:08:22.479 pm debugCentralSceneNotification(keyAttributes:1, sceneNumber:2, sequenceNumber:98)
dev:5752020-05-08 05:08:21.669 pm infoDownstairs Closet Light Button 1 held
dev:5752020-05-08 05:08:21.666 pm debugCentralSceneNotification(keyAttributes:2, sceneNumber:2, sequenceNumber:97)
dev:5752020-05-08 05:08:19.681 pm infoDownstairs Closet Light Button 1 doubleTapped
dev:5752020-05-08 05:08:19.678 pm debugCentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:96)
dev:5752020-05-08 05:08:18.045 pm infoDownstairs Closet Light switch is on
dev:5752020-05-08 05:08:18.043 pm debugBasicReport(value:255)
dev:5752020-05-08 05:08:18.021 pm infoDownstairs Closet Light Button 1 pushed
dev:5752020-05-08 05:08:18.019 pm debugCentralSceneNotification(keyAttributes:0, sceneNumber:2, sequenceNumber:95)

Here is what comes out with your driver using the same order of button presses:

dev:5752020-05-08 05:12:12.886 pm debugparse:zw device: 6F, command: 5B03, payload: 6E 81 01 , isMulticast: false
dev:5752020-05-08 05:12:12.071 pm debugparse:zw device: 6F, command: 5B03, payload: 6D 82 01 , isMulticast: false
dev:5752020-05-08 05:12:09.593 pm infoDownstairs Closet Light button 3 pushed
dev:5752020-05-08 05:12:09.590 pm debugparse:zw device: 6F, command: 5B03, payload: 6C 83 01 , isMulticast: false
dev:5752020-05-08 05:12:07.543 pm infoDownstairs Closet Light was turned off
dev:5752020-05-08 05:12:07.542 pm debugBasicReport(value:0)
dev:5752020-05-08 05:12:07.540 pm debugparse:zw device: 6F, command: 2003, payload: 00 , isMulticast: false
dev:5752020-05-08 05:12:07.127 pm infoDownstairs Closet Light button 1 pushed
dev:5752020-05-08 05:12:07.125 pm debugparse:zw device: 6F, command: 5B03, payload: 6B 80 01 , isMulticast: false
dev:5752020-05-08 05:12:03.158 pm debugparse:zw device: 6F, command: 5B03, payload: 6A 81 02 , isMulticast: false
dev:5752020-05-08 05:12:02.355 pm debugparse:zw device: 6F, command: 5B03, payload: 69 82 02 , isMulticast: false
dev:5752020-05-08 05:12:00.124 pm infoDownstairs Closet Light button 4 pushed
dev:5752020-05-08 05:12:00.121 pm debugparse:zw device: 6F, command: 5B03, payload: 68 83 02 , isMulticast: false
dev:5752020-05-08 05:11:57.932 pm infoDownstairs Closet Light was turned on
dev:5752020-05-08 05:11:57.930 pm debugBasicReport(value:255)
dev:5752020-05-08 05:11:57.904 pm debugparse:zw device: 6F, command: 2003, payload: FF , isMulticast: false
dev:5752020-05-08 05:11:57.859 pm infoDownstairs Closet Light button 2 pushed
dev:5752020-05-08 05:11:57.826 pm debugparse:zw device: 6F, command: 5B03, payload: 67 80 02 , isMulticast: false

If you notice in the log it’s just keyattribute and scenenumber.. Which according to zooz docs maps to:

Upper Paddle:
1 x tap: load on to last / custom brightness; Scene 1, attribute 00 (button 1)
2 x tap: on to full / max brightness; Scene 1, attribute 03 (button 3)
3 x tap: enter inclusion (pairing) mode; Scene 1, attribute 04 (button 5)
4 x tap: Scene 1, attribute 05 (button 7)
Lower Paddle:
1 x tap: load off; Scene 2, attribute 00 (button 2)
2 x tap: Scene 2, attribute 03 (button 4)
3 x tap: enter exclusion (unpairing) mode; Scene 2, attribute 04 (button 6)
4 x tap: Scene 2, attribute 05 (button 8)

How does this driver differ from the stock driver?

It offers all the config options, follows the zooz docs for central scene functionality all the features of the latest firmware versions

1 Like

Oh okay. That’s interesting that the double tap maps to “full brightness” event though it’s a switch with only on/off. Thanks for explaining.

Here .. Does this make you feel better:

Upper Paddle:
1 x tap: load on; Scene 1, attribute 00 (button 1)
2 x tap: Scene 1, attribute 03 (button 3)
3 x tap: enter inclusion (pairing) mode; Scene 1, attribute 04 (button 5)
4 x tap: Scene 1, attribute 05 (button 7)
6 x tap: change LED indicator mode (see parameter 2)

Lower Paddle:
1 x tap: load off; Scene 2, attribute 00 (button 2)
2 x tap: Scene 2, attribute 03 (button 4)
3 x tap: enter exclusion (unpairing) mode; Scene 2, attribute 04 (button 6)
4 x tap: Scene 2, attribute 05 (button 8)

https://www.support.getzooz.com/kb/article/315-zooz-s2-on-off-switch-zen26-ver-2-03-advanced-settings/

1 Like

Yes.. I posted the dimmer central scene docs.. Which map to the same attribute and scenes.. As you can see..

Hey, any chance your driver includes the inovelli code that allows you use the zwave association tool ?

No.. It’s easier.. Just put the node ids in preference

1 Like

on the source, you put the Node ID of the destination? or vice versa? or both?

destination.. Because the association is a one way thing.. It tells the device to send the command classes in that association to the associated nodes..

1 Like

so example: if you want to control a bulb from the dimmer..
You add the bulb’s node id in the list on the driver preference...

If you need some help PM me.. I’d be happy to explain it further

1 Like

@bcopeland

Hi Brian. So on my Zen27 I have the manual control re-enabled and I searched and found this from Joel to ‘bind’ my physical switch to the VS that Alexa controls. Initial testing looks good so far so I think I have a solution.

[RELEASE] Switch Bindings

1 Like

I'm not sure if the reports of what is supported are correct, but the actual behavior matches the command class specs per z-wave alliance...

  • sceneNumber: Which physical button
  • keyAttribute: which action was performed

1 Like

Interesting.. I'll have to do some more testing on this .. as I was following the zooz specs / docs...

Have you been working on a driver for the zooz zen30? I saw what I needed ordered away, but did not check the list woops, zen 30 is not there yet. Thanks

1 Like