[ST Edge] Issues with the driver "Z-Wave Button"

@nayelyz,

I have tried the Beta Driver stock Z-wave Button with a Fibaro KeyFob and it works, but the detail view is very very bad.

The KeyFob has:

  • 6 Buttons and each Button has actions:
    • Pressed
    • Pressed 2 times
    • Pressed 3 times
    • Held Pressed
    • Pressed down
  • Battery

What it shows in the details view:

  • Shows the messy buttons and there are 6 buttons + a main button, which matches in actions with button 1.
  • Each button shows:
    • Pressed 1 to 6 times and only works until pressed 3 times.
    • Pressed up 1 to 6 times
    • Pressed down 1 to 6 times
    • Missing Held Pressed on each button
    • The battery information comes after the Main button instead of at the end.
    • The order of the buttons is shown in details, and Routines: Button 1, Main, Battery, 6, 2, 3, 4, 5

A screenshot with a part of the detaills view:

Log configuration seems correct

2021-11-13T11:24:19.547051600+00:00 TRACE Z-Wave Button  Setup driver zwave_button with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_button
  default_handlers:
    added:
    driverSwitched:
    doConfigure:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_button -> Z-Wave multi button
      default_handlers:
        init:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_button -> Z-Wave multi button -> Aeotec keyfob
          default_handlers:
            doConfigure:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_button -> Z-Wave multi button -> Fibaro keyfob
          default_handlers:
            doConfigure:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_button -> Z-Wave multi button -> Aeotec Minimote
          default_handlers:
            doConfigure:
          child_dispatchers:

2021-11-13T11:24:19.555321600+00:00 TRACE Z-Wave Button  Setup driver zwave_button with Capability handlers:
CapabilityCommandDispatcher: zwave_button
  default_handlers:
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_button -> Z-Wave multi button
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_button -> Z-Wave multi button -> Aeotec keyfob
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_button -> Z-Wave multi button -> Fibaro keyfob
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_button -> Z-Wave multi button -> Aeotec Minimote
          default_handlers:
          child_dispatchers:

2021-11-13T11:24:19.567377266+00:00 TRACE Z-Wave Button  Setup driver zwave_button with Z-Wave handlers:
ZwaveDispatcher: zwave_button
  default_handlers:
    BATTERY:
      REPORT
    NOTIFICATION:
      REPORT
    CENTRAL_SCENE:
      NOTIFICATION
    WAKE_UP:
      NOTIFICATION
    SCENE_ACTIVATION:
      SET
  child_dispatchers:
    ZwaveDispatcher: zwave_button -> Z-Wave multi button
      default_handlers:
        SCENE_ACTIVATION:
          SET
        CENTRAL_SCENE:
          NOTIFICATION
      child_dispatchers:
        ZwaveDispatcher: zwave_button -> Z-Wave multi button -> Aeotec keyfob
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_button -> Z-Wave multi button -> Fibaro keyfob
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_button -> Z-Wave multi button -> Aeotec Minimote
          default_handlers:
            BASIC:
              SET
          child_dispatchers:

2021-11-13T11:24:19.621423267+00:00 TRACE Z-Wave Button  Received event with handler _resync
2021-11-13T11:24:19.627290600+00:00 TRACE Z-Wave Button  Received event with handler environment_info
2021-11-13T11:24:19.642383933+00:00 TRACE Z-Wave Button  Found DeviceLifecycleDispatcher handler in zwave_button -> Z-Wave multi button
2021-11-13T11:24:19.648202267+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:19.654399600+00:00 TRACE Z-Wave Button  Received event with handler environment_info
2021-11-13T11:24:19.659613933+00:00 DEBUG Z-Wave Button  Z-Wave hub node ID environment changed.
2021-11-13T11:24:19.672999933+00:00 TRACE Z-Wave Button  Received event with handler device_lifecycle
2021-11-13T11:24:19.679284267+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received lifecycle event: added
2021-11-13T11:24:19.687471933+00:00 TRACE Z-Wave Button  Found DeviceLifecycleDispatcher handler in zwave_button
2021-11-13T11:24:19.694073933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> emitting event: {"state":{"value":6},"component_id":"main","attribute_id":"numberOfButtons","capability_id":"button"}
2021-11-13T11:24:19.742959267+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> emitting event: {"state":{"value":["pushed","held","double","down_hold","pushed_3x"]},"component_id":"main","attribute_id":"supportedButtonValues","capability_id":"button"}
2021-11-13T11:24:19.761213933+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:19.768617933+00:00 TRACE Z-Wave Button  Received event with handler device_lifecycle
2021-11-13T11:24:19.774870600+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received lifecycle event: doConfigure
2021-11-13T11:24:19.793774933+00:00 TRACE Z-Wave Button  Found DeviceLifecycleDispatcher handler in zwave_button -> Z-Wave multi button -> Fibaro keyfob
2021-11-13T11:24:19.803031600+00:00 TRACE Z-Wave Button  Found CapabilityCommandDispatcher handler in zwave_button
2021-11-13T11:24:19.810547933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={}, cmd_class="BATTERY", cmd_id="GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
2021-11-13T11:24:19.820832267+00:00 TRACE Z-Wave Button  Z-Wave command(c8a5bad1) queued for radio transmission: CC:Battery, CID:0x02
2021-11-13T11:24:19.828575933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=21, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x15\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.839432267+00:00 TRACE Z-Wave Button  Z-Wave command(0b5028fa) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.847973600+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=22, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x16\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.860413933+00:00 TRACE Z-Wave Button  Z-Wave command(016b988c) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.869153933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=23, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x17\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.878068267+00:00 TRACE Z-Wave Button  Z-Wave command(4f84ffab) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.886409600+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=24, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x18\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.896708933+00:00 TRACE Z-Wave Button  Z-Wave command(1b6f7e46) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.905151933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=25, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x19\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.913924600+00:00 TRACE Z-Wave Button  Z-Wave command(00bacaa8) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.922748267+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> sending Z-Wave command: {args={configuration_value=15, default=false, parameter_number=26, size=1}, cmd_class="CONFIGURATION", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x1A\x01\x0F", src_channel=0, version=1}
2021-11-13T11:24:19.932530933+00:00 TRACE Z-Wave Button  Z-Wave command(c196d9b8) queued for radio transmission: CC:Configuration, CID:0x04
2021-11-13T11:24:19.937872600+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:19.977910267+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:20.026990933+00:00 TRACE Z-Wave Button  Z-Wave command(c8a5bad1) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:20.157271267+00:00 TRACE Z-Wave Button  Received event with handler unnamed
2021-11-13T11:24:20.174011933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received Z-Wave command: {args={battery_level=100}, cmd_class="BATTERY", cmd_id="REPORT", dst_channels={}, encap="S0", payload="d", src_channel=0, version=1}
2021-11-13T11:24:20.209298600+00:00 TRACE Z-Wave Button  Found ZwaveDispatcher handler in zwave_button
2021-11-13T11:24:20.216679933+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> emitting event: {"state":{"value":100},"component_id":"main","attribute_id":"battery","capability_id":"battery"}
2021-11-13T11:24:20.244251267+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:20.300818267+00:00 TRACE Z-Wave Button  Received event with handler device_lifecycle
2021-11-13T11:24:20.314769600+00:00 TRACE Z-Wave Button  Z-Wave command(0b5028fa) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:20.337409600+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received lifecycle event: infoChanged
2021-11-13T11:24:20.356433934+00:00 TRACE Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received unhandled lifecycle event: infoChanged     
2021-11-13T11:24:20.362864600+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
2021-11-13T11:24:20.447363600+00:00 TRACE Z-Wave Button  Z-Wave command(016b988c) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:20.596414267+00:00 TRACE Z-Wave Button  Z-Wave command(4f84ffab) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:20.786893934+00:00 TRACE Z-Wave Button  Z-Wave command(1b6f7e46) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:21.006488934+00:00 TRACE Z-Wave Button  Z-Wave command(00bacaa8) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:24:21.216456934+00:00 TRACE Z-Wave Button  Z-Wave command(c196d9b8) transmit status: TRANSMIT_COMPLETE_OK
2021-11-13T11:25:18.653887172+00:00 TRACE Z-Wave Button  Received event with handler device_lifecycle
2021-11-13T11:25:18.688361505+00:00 INFO Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received lifecycle event: infoChanged
2021-11-13T11:25:18.697798505+00:00 TRACE Z-Wave Button  <ZwaveDevice: 7a61f49e-d9c2-47d3-8fe1-fd02b9147cb1 [0F] (Fibaro KeyFob)> received unhandled lifecycle event: infoChanged     
2021-11-13T11:25:18.703317839+00:00 DEBUG Z-Wave Button  Fibaro KeyFob device thread event handled
1 Like

Good catch, @Mariano_Colmenarejo!
I’ll send you a DM to collect some private information in order to report this issue to the engineering team. Please check your messages, thanks!

1 Like

@nayelyz,
With the new version of the android app 1.7.75.23, detaills view on the remote Fibaro KeyFob has changed.

Buttons 1 to 6 still have 6 actions for pressed, pressed up, and pressed down.
For the “main” button the actions are now correct: pressed, pressed 2 times, pressed 3 times, held down, pressed down.
The main button is activated identically to what you press on any of the 6 buttons.

2021-12-19T17:11:03.547787808+00:00 TRACE Z-Wave Button  Received event with handler unnamed
2021-12-19T17:11:03.561391474+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> received Z-Wave command: {args={key_attributes="KEY_PRESSED_1_TIME", scene_number=6, sequence_number=7, slow_refresh=true}, cmd_class="CENTRAL_SCENE", cmd_id="NOTIFICATION", dst_channels={}, encap="S0", payload="\x07\x80\x06", src_channel=0, version=3}
2021-12-19T17:11:03.580304141+00:00 TRACE Z-Wave Button  Found ZwaveDispatcher handler in zwave_button -> Z-Wave multi button
2021-12-19T17:11:03.586952141+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button6","state":{"value":"pushed"},"state_change":true}
2021-12-19T17:11:03.608681474+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}

2021-12-19T17:11:14.480125480+00:00 TRACE Z-Wave Button  Received event with handler unnamed
2021-12-19T17:11:14.494031146+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> received Z-Wave command: {args={key_attributes="KEY_PRESSED_1_TIME", scene_number=2, sequence_number=8, slow_refresh=true}, cmd_class="CENTRAL_SCENE", cmd_id="NOTIFICATION", dst_channels={}, encap="S0", payload="\x08\x80\x02", src_channel=0, version=3}
2021-12-19T17:11:14.513293813+00:00 TRACE Z-Wave Button  Found ZwaveDispatcher handler in zwave_button -> Z-Wave multi button
2021-12-19T17:11:14.520155480+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"button2","state":{"value":"pushed"},"state_change":true}
2021-12-19T17:11:14.541503813+00:00 INFO Z-Wave Button  <ZwaveDevice: 51cf40f4-c6d0-42d1-ae96-095714dc97b0 [1C] (Fibaro KeyFob)> emitting event: {"attribute_id":"button","capability_id":"button","component_id":"main","state":{"value":"pushed"},"state_change":true}

The battery now seems to work

Other users say that in other models of remote controls the problem has been solved with the new version of the app
https://community.smartthings.com/t/ecosmart-zigbee-remote/180185/471?u=mariano_colmenarejo

Hi @nayelyz

It seems that the problem of showing in the app detail view and automations more actions than the button can do has been fixed.

I have noticed or it has been fixed by making a driver change and changing back to the Z-Wave Button driver

Rules view:


Ooh, do you mean the stock driver? I checked and there’s no profile with a custom presentation defined, so in this case, they are filtered only by the supportedButtonValues…

Yes, is with stock Z-wave Button.

The supportedEventValues event may already work

The thing is, I think it was fixed by changing the driver from Z-wave Things Mc to stock Z-Wave Button.

I guess that when changing the driver, that function emit supportedValues has been executed again, and it has worked well.