A button to trigger automations

I have a FIBARO BUTTON FGPB-101-2 V3.2 button which does not work, I know there are various threads which I have read and attempted to get some functionality but nothing has worked so far, eg:

Manual; http://manuals.fibaro.com/content/manuals/en/FGPB-101/FGPB-101-EN-T-v1.0.pdf

Does anyone have one of these buttons and have it working to trigger an automation or anything?

On another note, does anyone have a ‘button’ that I can use with HA that works? Happy for alternatives and to forget about this one until OpenZWave have the feature. Please be aware I am in Australia so whatever you suggest needs to be compatible… I suppose the button its self does not need to be ZWave either. Just anything.

I use Xiaomi buttons but they are zigbee and require the Xiaomi hub as its a propriety Xiaomi version of zigbee. That said, they work great and the hub is cheap plus adds other functionality (in my case is doubles as a doorbell chime speaker and hallway night light).

I am using the Aeon Minimote remotes and the Hue Remote Dimmers and both work well. Much of the configuration for “odd” devices, which all of these are, is about capturing the output from the Ozw_Log.txt file or whatever log as you tap the buttons. Once you know what a button press looks like you can write a template, automation or whatever top turn that into an action.

Can I get some more info there?

2017-12-26 11:12:54.912 Detail, Node032,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x20, 0x03, 0x80, 0x03, 0x5a, 0x08
2017-12-26 11:12:54.913 Detail,
2017-12-26 11:12:54.913 Info, Node032, Received Battery report from node 32: level=90
2017-12-26 11:12:54.913 Detail, Node032, Initial read of value
2017-12-26 11:12:54.913 Detail, Node032, Notification: ValueChanged
2017-12-26 11:12:56.742 Detail, Node032,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x20, 0x05, 0x5b, 0x03, 0x42, 0x80, 0x01, 0x4e
2017-12-26 11:12:56.742 Detail,
2017-12-26 11:12:56.742 Info, Node032, Received Central Scene set from node 32: scene id=1 in 7680 seconds. Sending event notification.
2017-12-26 11:12:56.742 Warning, Node032, No ValueID created for Scene 1
2017-12-26 11:12:56.742 Detail, Node032,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x20, 0x05, 0x5b, 0x03, 0x42, 0x80, 0x01, 0x4e
2017-12-26 11:12:56.742 Detail,
2017-12-26 11:12:56.742 Info, Node032, Received Central Scene set from node 32: scene id=1 in 7680 seconds. Sending event notification.
2017-12-26 11:12:56.743 Warning, Node032, No ValueID created for Scene 1

is what you get when you hit the button once…

You could try something like this replacing for your devices.

  - alias: 1_button_pressed
      trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.XXXX
      scene_id: 1
      action:
      service: light.toggle
      entity_id: light_lamp

ok, cool!

- alias: Button 1 Pressed once
  trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.black_button
      scene_id: 1
  action:
    service: notify.phone
    data:
      message: 'test the black button'

this is what I am doinb but it does not work… :frowning:

I found this; “Central Scene” Command Class - Fibaro Swipe, HomeSeer WS-100D Switches

after stopping HA and add

    <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="4" />
    <Value type="int" genre="user" instance="1" index="1" label="1" 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="2" 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="3" label="3" 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="4" label="4" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
</CommandClass>

to my zwcfg*.xml, I can get an automation to trigger on button press… but I do not seem to have the ability to trigger different scenes based on the amount of times the button was pressed basically it does not matter how many times you hit the button only one thing is triggered… as far as I can tell anyway. :slight_smile:

I’m fiddling with this too and can’t really get scenes to work. I’ve added the lines in the xml file but all clicks are reported as scene 1.

This is what I get in the OZW log. (1, 2 & 3 clicks)

core-ssh:/config# tail -f OZW_Log.txt | grep scene
2018-12-01 11:36:37.377 Info, Node035, Received Central Scene set from node 35: scene id=1 in 7680 seconds. Sending event notification.
2018-12-01 11:36:44.994 Info, Node035, Received Central Scene set from node 35: scene id=1 in 7860 seconds. Sending event notification.
2018-12-01 11:36:49.721 Info, Node035, Received Central Scene set from node 35: scene id=1 in 7920 seconds. Sending event notification.

So the only parameter than changes is seconds?

This automation works, but it’s not the same as outlined in the documentation.

- alias: 'Button Test'
  initial_state: true
  trigger:
    - platform: event
      event_type: zwave.scene_activated
      event_data:
        entity_id: zwave.fibaro_system_fgpb101_button
        scene_id: 1
        scene_data: 7680

I could of-course be happy that it works and just go with it, but I would like to know why and how I get it to work as it’s supposed to.

I’m currently running Hass.io 0.83.2