How to make use of Central Scene Command Class?

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

How to make use of Central Scene Command Class?

Post by DomoArigato »

Hello again to all helpers out there :)

I am on domiticz beta 3.9390 and trying to add a Fibaro Button (FGPB-101) to my system.
The node is added as a Finaro Button and in the log I see that there are Central Scene Command Classes (CSCC) registered for it. I only got 6 or 7 devices (some switches, some alarm devices....I think - not in front of the system now...). One of it is a switch called ‚Level‘.
When i press the button once this switch ‚Level’ is switched ‚on‘. I get that event.
I changed the device config so that with 1,2 or 3 button presses an ‚on‘ command is send into the device associated groups.

Big question now is - how to work (i.e. automate) with the Central Scene Command Class?
Where does a device or node send those information?
Using dzVents (2.4.1) I tried to log ‚nValues‘ or ‚level‘ attributes of the device (‚Level‘-switch) - but failed big time - always got same values so no distinction to act upon :(

Does anyone of you uses a Fibaro Button or any other decive with CSCC support and has it up and running?
Where to get the information how often the button was pressed and to start different scenes based on that?
Or is maybe my set up not correct?

Questions over questions - sorry for that. Just trying to grasp the basics of CSCC and details of the Fibaro button :)

As usual... THANKS so much for any help or hints.
Regards.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to make use of Central Scene Command Class?

Post by waaren »

DomoArigato wrote: Friday 18 May 2018 22:34 I am on domiticz beta 3.9390 and trying to add a Fibaro Button (FGPB-101) to my system.
....
When i press the button once this switch ‚Level’ is switched ‚on‘. I get that event.
I changed the device config so that with 1,2 or 3 button presses an ‚on‘ command is send into the device associated groups.
...

Big question now is - how to work (i.e. automate) with the Central Scene Command Class?
Where does a device or node send those information?
Using dzVents (2.4.1) I tried to log ‚nValues‘ or ‚level‘ attributes of the device (‚Level‘-switch) - but failed big time - always got same values so no distinction to act upon :(
According to this post the number of times you push the button cannot be accessed directly in domoticz but need to be captured from OZW_Log.txt and from there send to domoticz (with curl or the likes)

Could be that in the mean time a native domoticz solution is at hand as this is quite an old post.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to make use of Central Scene Command Class?

Post by DomoArigato »

But shouldn’t the Central Scene Command Class work with the patch in OZW?
And since that patch is included in the beta 3.9390, shouldn’t it work there as well?

Unfortunately there seems to be some confusing information about this.

Maybe someone can say for this beta version if CSCC works in domoticz or not or point me to some places :)
Trying to get my Fibaro Button to work and I am never sure whether I am too stupid or CSCC is not working in my beta at all.

Thanks a lot for any hints.
kllngtme
Posts: 47
Joined: Tuesday 14 June 2016 16:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: East Coast, USA
Contact:

Re: How to make use of Central Scene Command Class?

Post by kllngtme »

It has been included in the beta for a while it seems: https://github.com/OpenZWave/open-zwave/pull/1125

I've been having issues getting it going as well with my device. I haven't been able to get an update on it for the most part. It seems like we're still waiting for it to be officially part of OZW.


This is my topic post relating to central scene as well: http://www.domoticz.com/forum/viewtopic ... 24&t=17793
It's also mentioned here: viewtopic.php?f=24&t=17330
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to make use of Central Scene Command Class?

Post by DomoArigato »

Thanks a lot for stepping in.

Hope we can solve that riddle of the CSCC :)
Maybe we can use this thread to collect all info and maybe someone of the developers might be able to step in as well to enlight us more.
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to make use of Central Scene Command Class?

Post by DomoArigato »

@gizmocuz
Is there any way to get some more knowledge on how this OpenZWave fix for the CSCC is implemented in domoticz?
And how one should be able to use it within domoticz?
Maybe zip are able to bring more light into the actual state and situation.

Thanks a lot and also thank you BIG times for all your work on domoticz!!
User avatar
gizmocuz
Posts: 2471
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: How to make use of Central Scene Command Class?

Post by gizmocuz »

I think you have to look at the code and search for the central scene class...
Not that hard
As mentioned double click and things are not implemented yet but there are already devices with let's say 8 buttons that work
Yes 8 buttons.. not double click
Still waiting for ozw to accept the patch or native implementation of click actions

Sent from my LG-H930 using Tapatalk

Quality outlives Quantity!
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to make use of Central Scene Command Class?

Post by DomoArigato »

Thanks a lot for this more detailed update.
gizmocuz wrote: Friday 01 June 2018 22:34 I think you have to look at the code and search for the central scene class...
Not that hard
Do I have to look into the domoticz code or the OZW code?
As mentioned double click and things are not implemented yet but there are already devices with let's say 8 buttons that work
Yes 8 buttons.. not double click
Which devices are supported yet? Do I have to look into the OZW device list or the domoticz device list?
User avatar
gizmocuz
Posts: 2471
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: How to make use of Central Scene Command Class?

Post by gizmocuz »

If you want to know how it is implemented in domoticz, i guess the domoticz code ?
For example the ZRC-90EU is supported
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest