Add support for zwave COMMAND_CLASS_CENTRAL_SCENE

I recently bought the new Homeseer HS-WD-100+ light switches, which use the zwave COMMAND_CLASS_CENTRAL_SCENE when you double or triple tap the on/off switch, but these events are not seen by home assistant. In ozwcp, I can see these events logged:

2016-08-29 22:24:54.089 Info, Node036, Received Central Scene set from node 36: scene id=1 in 3 seconds. Sending event notification.
2016-08-29 22:24:54.089 Warning, Node036, No ValueID created for Scene 1
2016-08-29 22:24:55.246 Detail, Node036, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x24, 0x05, 0x5b, 0x03, 0x8c, 0x03, 0x02, 0x04
2016-08-29 22:24:55.246 Detail,

2016-08-29 22:24:55.246 Info, Node036, Received Central Scene set from node 36: scene id=2 in 3 seconds. Sending event notification.
2016-08-29 22:24:55.246 Warning, Node036, No ValueID created for Scene 2

There are several other devices that rely on this command class, such as remotes and it would be good to be able to trigger automatons / scenes based on this command class to be able to fully utilize these devices with HA.

2 Likes

More information and progress on this command class can be found at


issue: #367

With this PR applied OpenZwave supports CentralScene just fine.

https://github.com/OpenZWave/open-zwave/pull/1125

Now all is needed for Homeassistant to get the support for this and we’ll be rolling.

1 Like

I think that this will allow Fibaro The Button to work with Homeassistant as well. So +1!

+1 for me to.

It would be super great to get this working, hopefully one day I can use the Fibaro button I own…

Why is this still not integrated? This needs to be integrated asap!! waiting since almost a year now so I could use my zwave.me wallc-s controller

You do know that this is developed by mostly volunteers spending their own time on this project? Be nice!

2 Likes

Have a Fibaro “Button” - would love support to use it (should have checked before purchase!) - anything I can do to test / help?

Any progress with Fibaro button? I feel lost in space :confounded:

You need to ask the Open ZWave folks, since it needs to support Central Scene mode before Home Assistant can support any device that only uses that mode.

Didn’t drcain1 share how it’s already implemented in ozw? Or did I misinterpret that?

Edit: I read the discusscion here and it looks like they’re still working on it indeed. My bad:)

Found a workaround for the Fibaro button. And by that removing the need for the Central Scene.

You need to associate the “2nd association group – “On/Off”” to you’re unit running hass, probably ID 1.
Configure one, two and three key presses to send “SWITCH ON” to “2nd association group” and configure “value of SWITCH ON command” to something different for each of the three events.

Above is all taken from the manual and was possible to change using the hass GUI (0.50.2)

In automations trigger on zwave.node_event

 - alias: Button 1 Pressed once
   trigger:
     platform: event
     event_type: zwave.node_event
     event_data:
       entity_id: zwave.fibaro_system_fgpb101_button
       basic_level: 255

The “basic_level” is the value configured as “SWITCH ON” value.

In the OZW_Log.txt it looks like

2017-08-12 19:54:34.311 Info, Node003, Received Basic set from node 3: level=255.  Sending event notification.
2017-08-12 19:54:34.312 Detail, Node003, Notification: NodeEvent

I am for some reason receiving the event twice, which probably means the automations is triggered twice as well.

This works for one, two and three presses. You could probably get held button to work ass well, but I have not looked into that yet.

@AllanBrun that sounds amazing.

Could you elaborate a little more how you configured the button using the manual and ZWave UI?

Thanks!

Hello all, just curious where we are with this? Still waiting on openzwave?

Its already inplemented but I didnt try it yet because I forgot about my Fibaro button LOL

Has someone found the right values for the ZME Wallc-S ?

I’m using it, it might not be done (I know there is a pending pull request) but it’s working for me.

1 Like

Just got my wallc-s working after adding the following in ZWCFG. :

Just use the COMMAND_CLASS_CENTRAL_SCENE of Aeotec Wallmote

Could someone share what exactly to add to the zwcfg_xxx.xml for the WallC?
I added my Wall Controller as a secure node and I now get dropping message in the logs.
2019-02-15 14:15:22.107 Warning, Node010, Received a Clear Text Message for the CommandClass COMMAND_CLASS_CENTRAL_SCENE which is Secured
2019-02-15 14:15:22.107 Warning, Node010, Dropping Message