Fibaro Keyfob FGKF601 with Z-Wave JS

Hi everyone, just bought my raspberry pi today and got HA up and running, very excited! I’m tearing my hair out with the Fibaro Key Fob and Z-Wave JS though.

So far I set up Z-Wave JS using my Aeotec Z-Stick, all went well. I then included my Fibaro Key Fob as per the instructions and all went well. BUT as you can see below, only the device battery shows up as an entity.


How do I actually get to use the 6 buttons on there?? Make automations with them?
When I press a button, the following shows up on the Z-Wave JS log:
2021-04-10T00:50:20.686Z CNTRLR « [Node 005] received CentralScene notification {
“nodeId”: 5,
“ccId”: “Central Scene”,
“ccCommand”: “0x03”,
“payload”: “0x248001”
}

Thanks in advance and apologies for my lack of understanding! I’m coming over to HA after 6 years on Smartthings…

1 Like

Just to mention that I have tried rebooting several times, and also tried to look for the zwcfg file - it’s not there under /config!

There will be no zwcfg file. That was only for the old zwave integration.

But you will need to go to the developers tools page and select the “events” tab at the top.

Then scroll all the way down and in the section that ssys “listen for events” out in"zwave_js_value_notification" and click start listening.

Once you do that push a button on the remote and note down what you see there for each button press.

Then you will use that info to set up automation triggers.

1 Like

Thank you so much!!

1 Like

Where are you getting Zwave logs from? They don’t appear to be available in the HA UI, except in the DEVELOPERS TOOLS–>EVENT LISTENER. Events are not sufficient for troubleshooting nodes that aren’t fully supported by ZWave JS.

1 Like

Hello,
for this I have a blueprints

blueprint:
  name: Fibaro KeyFob
  description: Create automations for the Fibaro Keyfob
  domain: automation

  input:
    keyfob_device:
      name: KeyFob Device 
      description: A KeyFob device.
      selector:
        device:
          integration: zwave_js
          manufacturer: Fibargroup
          model: FGKF601

    button_1_pressed:
      name: Button 1 (square) Pressed
      description: Actions to run when button 1 (square) is pressed.
      default: []
      selector:
        action:

    button_1_held:
      name: Button 1 (square) Held Down
      description: Actions to run when button 1 (square) is held down.
      default: []
      selector:
        action:

    button_2_pressed:
      name: Button 2 (circle) Pressed
      description: Actions to run when button 2 (circle) is pressed.
      default: []
      selector:
        action:

    button_2_held:
      name: Button 2 (circle) Held Down
      description: Actions to run when button 2 (circle) is held down.
      default: []
      selector:
        action:

    button_3_pressed:
      name: Button 3 (cross) Pressed
      description: Actions to run when button 3 (cross) is pressed.
      default: []
      selector:
        action:

    button_3_held:
      name: Button 3 (cross) Held Down
      description: Actions to run when button 3 (cross) is held down.
      default: []
      selector:
        action:

    button_4_pressed:
      name: Button 4 (triangle) Pressed
      description: Actions to run when button 4 (triangle) is pressed.
      default: []
      selector:
        action:

    button_4_held:
      name: Button 4 (triangle) Held Down
      description: Actions to run when button 4 (triangle) is held down.
      default: []
      selector:
        action:

    button_5_pressed:
      name: Button 5 (minus) Pressed
      description: Actions to run when button 5 (minus) is pressed.
      default: []
      selector:
        action:

    button_5_held:
      name: Button 5 (minus) Held Down
      description: Actions to run when button 5 (minus) is held down.
      default: []
      selector:
        action:

    button_6_pressed:
      name: Button 6 (plus) Pressed
      description: Actions to run when button 6 (plus) is pressed.
      default: []
      selector:
        action:

    button_6_held:
      name: Button 6 (plus) Held Down
      description: Actions to run when button 6 (plus) is held down.
      default: []
      selector:
        action:


mode: single
max_exceeded: silent

trigger:
  platform: event
  event_type: zwave_js_value_notification
  event_data:
    device_id: !input keyfob_device
    command_class_name: "Central Scene"

action:
  - variables:
      action_name: "{{ trigger.event.data.value }}"
      property_key: "{{ trigger.event.data.property_key }}"
  - choose:
      - conditions: "{{ action_name == 'KeyPressed' and property_key == '001'}}"
        sequence: !input button_1_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '001' }}"
        sequence: !input button_1_held
      - conditions: "{{ action_name == 'KeyPressed' and property_key == '002' }}"
        sequence: !input button_2_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '002' }}"
        sequence: !input button_2_held
      - conditions: "{{ action_name == 'KeyPressed' and property_key == '003' }}"
        sequence: !input button_3_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '003' }}"
        sequence: !input button_3_held
      - conditions: "{{ action_name == 'KeyPressed' and property_key == '004' }}"
        sequence: !input button_4_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '004' }}"
        sequence: !input button_4_held

      - conditions: "{{ action_name == 'KeyPressed' and property_key == '005' }}"
        sequence: !input button_5_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '005' }}"
        sequence: !input button_5_held
      - conditions: "{{ action_name == 'KeyPressed' and property_key == '006' }}"
        sequence: !input button_6_pressed
      - conditions: "{{ action_name == 'KeyHeldDown' and property_key == '006' }}"
        sequence: !input button_6_held

1 Like

Thanks for sharing

Hello Jiri, if you have any time soon. Would you like to help me set this up? I am still new to Home Assistant and i dont know how to do it :slight_smile: . My discord is Death#0927

Thanks!