Page 1 of 1

How to make use of Central Scene Command Class?

Posted: Friday 18 May 2018 22:34
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.

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

Posted: Friday 18 May 2018 22:54
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.

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

Posted: Monday 21 May 2018 20:48
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.

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

Posted: Tuesday 22 May 2018 20:13
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

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

Posted: Wednesday 23 May 2018 8:32
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.

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

Posted: Thursday 31 May 2018 23:34
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!!

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

Posted: Friday 01 June 2018 22:34
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


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

Posted: Saturday 02 June 2018 6:50
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?

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

Posted: Saturday 02 June 2018 7:55
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