So I got the button to work semi stable, without double tabs being recognized yet.
First change your zwcfg config as stated here:
https://home-assistant.io/docs/z-wave/device-specific/
Note: Make sure that home assistant is switched off. Turning off the zwave network is not enough as some articles suggest. If you forget this home assistant will overwrite your changes. I also realized that my changes were overwritten at a later stage.
Then you got to write an automation to pick up changes:
- action:
- data:
entity_id: input_boolean.button1_button
service: input_boolean.turn_on
alias: Trigger Button
condition: []
id: '1515230231092'
trigger:
- event_data: {}
event_type: zwave.scene_activated
platform: event
- action:
- data:
entity_id: input_boolean.button2_button
service: input_boolean.turn_on
alias: Trigger Button 1 time
condition: []
id: '1515231355136'
trigger:
- event_data:
entity_id: zwave.redbutton
scene_id: 1
scene_data: 0
event_type: zwave.scene_activated
platform: event
Note:
- I would use the new automation manager to create the automations. This checks for errors. Also IDs are now needed
- I use the first automation for debugging, that is to check if I pick up any scene changed event. I have it quite often that I press the button, the button reacts but does not send a scence changed.
- Note the above article suggests values for the scene_data, however my values are different (also an article below has my values). You can find your values in the open zwave log:
2018-01-06 13:08:06.553 Info, Node005, Received Central Scene set from node 5: scene id=1 in 7800 seconds. Sending event notification.
2018-01-06 13:08:06.554 Detail, Node005, Refreshed Value: old value=7740, new value=7800, type=int
Current issues:
At the moment I am still debugging the set up. The button does not always send scene changes for whatever reason. I have no idea why. It wakes up, reports the battery state, but the central scene line is missing from the logs.
I am also not able yet to get the double triggers to work. The log mentions “new value=7800” which I put into the scene data, yet it does not trigger. So far only the most general automation (ignoring the scene_data) and the long push trigger.
Articles which helped:
https://community.home-assistant.io/t/scene-data-on-fibaro-system-fgpb101-button/28008/7
https://community.home-assistant.io/t/aeotec-wallmote-quad-zw130/12100/19