Scene_Data on FIBARO System FGPB101 Button

HI

I integrated my fibaro Button incl. the adaption in the zwcfg_xxxxx.xml (Command_class_central_scene). My Problem is, that the scene_data aren’t from 0 to 6 but 7680,7860,7920,7980 etc…

How can I change the scene_Data-Values to 0-6?

thx

You can’t change the values the device sends, you have to change your configuration to use the values it sends.

Hi!

So, what did you write in the zwcfg_xxxxx.xml for the button to work?

Thanks
/Johan

1 Like

So it working now? But how, OpenZwave haven’t released the CentralScene support yet?

Somebody identified a work around, see here for more.

For the button, the data appears to be:

Action scene_id scene_data
Single tap on 1 0
Double tap on 1 3
Triple tap on 1 4

or here

I had to look through some documentation and parse my zwave log to get this working so I thought I’ll post what I did, maybe it helps someone.

  1. Stop your Zwave Network

  2. Replace these blocks in your zwcfg-file.

Original

  	<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" issecured="true" innif="true" scenecount="0">
  		<Instance index="1" />
  		<Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  	</CommandClass>

New

  	<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" innif="true" scenecount="0">
  		<Instance index="1" />
            <Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="2" />
    		<Value type="int" genre="user" instance="1" index="1" label="Top Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
    		<Value type="int" genre="user" instance="1" index="2" label="Bottom Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  	</CommandClass>
  1. Re-start HA (just starting the zwave network will give you duplicated entities until next restart)

  2. Create automations according to the following trigger

  platform: event
  event_type: zwave.scene_activated
  event_data:
    entity_id: zwave.button
    scene_id: 1
    scene_data: XXXX

scene_data
1-Click: 7680
2-Click: 7860
3-Click: 7920
4-Click: 7980
5-Click: 8040
Long-Click: 7800

5 Likes

Thank You so much! Even I got it now… :slight_smile:

/Johan

Hello everyone,

I have a Fibaro Wall Switch (4 buttons) and after following this threads hints got the first positive result today: When clicking the button top-left an automation gets triggered! Unfortunately the other three buttons do not trigger so far.

This is what I attached at the end of each node:

<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" innif="true" scenecount="0">
  <Instance index="1" />
  <Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  <Value type="int" genre="system" instance="1" index="1" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="3" />
</CommandClass>

My OZW.Log.txt after pressing buttons 1, 2, 3 and 4:

2018-01-21 18:05:37.272 Detail, Node013, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0d, 0x05, 0x5b, 0x03, 0x81, 0x00, 0x01, 0x20
2018-01-21 18:05:37.272 Detail,
2018-01-21 18:05:37.272 Info, Node013, Received Central Scene set from node 13: scene id=1 in 0 seconds. Sending event notification.
2018-01-21 18:05:37.272 Detail, Node013, Refreshed Value: old value=0, new value=0, type=int
2018-01-21 18:05:37.272 Detail, Node013, Changes to this value are not verified
2018-01-21 18:05:37.273 Detail, Node013, Notification: ValueChanged

2018-01-21 18:05:39.558 Detail, Node013, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0d, 0x05, 0x5b, 0x03, 0x82, 0x00, 0x02, 0x20
2018-01-21 18:05:39.559 Detail,
2018-01-21 18:05:39.559 Info, Node013, Received Central Scene set from node 13: scene id=2 in 0 seconds. Sending event notification.
2018-01-21 18:05:39.559 Warning, Node013, No ValueID created for Scene 2

2018-01-21 18:05:41.192 Detail, Node013, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0d, 0x05, 0x5b, 0x03, 0x83, 0x00, 0x03, 0x20
2018-01-21 18:05:41.192 Detail,
2018-01-21 18:05:41.192 Info, Node013, Received Central Scene set from node 13: scene id=3 in 0 seconds. Sending event notification.
2018-01-21 18:05:41.192 Warning, Node013, No ValueID created for Scene 3

2018-01-21 18:05:42.863 Detail, Node013, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0d, 0x05, 0x5b, 0x03, 0x84, 0x00, 0x04, 0x20
2018-01-21 18:05:42.863 Detail,
2018-01-21 18:05:42.863 Info, Node013, Received Central Scene set from node 13: scene id=4 in 0 seconds. Sending event notification.
2018-01-21 18:05:42.863 Warning, Node013, No ValueID created for Scene 4

What do I have to change to get all buttons working?

Hints anyone? Please help…!

May anyone help to understand the logic behind this?

Thank you!

Your explanation helped me, only I found one thing:

entity_id: ’ z-wave.button’

With the single quote marks bracketing the ‘id’