Hank Four-key Scene Controller - need help setting up in HA

I have included a Hank 4-button z-wave scene controller in hass.io. The device shows up in HA with the following attributes:

node_id: 27 
node_name: Hank HKZW-SCN04 Scene Controller 
manufacturer_name: Hank 
product_name: HKZW-SCN04 Scene Controller 
old_entity_id: zwave.hank_hkzwscn04_scene_controller_27 
new_entity_id: zwave.hank_hkzwscn04_scene_controller 
query_stage: Session 
is_awake: false 
is_ready: false 
is_failed: false 
is_info_received: true 
max_baud_rate: 40000 
is_zwave_plus: true 
capabilities: beaming,routing 
neighbors: 1,10,17 
sentCnt: 5 
sentFailed: 2 
retries: 0 
receivedCnt: 0 
receivedDups: 0 
receivedUnsolicited: 0 
sentTS: 2018-02-01 11:47:46:257 
receivedTS: 2018-02-01 11:30:16:203 
lastRequestRTT: 0 
averageRequestRTT: 0 
lastResponseRTT: 0 
averageResponseRTT: 0 
battery_level: 100 
wake_up_interval: 0 
friendly_name: Hank HKZW-SCN04 Scene Controller

It responds to key presses by changing the values for receivedCnt, receivedUnsolicited and receivedTS, but nothing else. I can’t find any sensors associate with the controller.

Reading the manual, it says that the button can control other z-wave nodes or node groups.

Does anybody know how to set this up in HA? Will I get some sensors if I set associations with some of my other z-wave nodes first?

Help appreciated!
Thanks

I solved it! Followed the instructions here to edit the zwcfg xml file and adding automations such as:

  - alias: Hank Scene Button 1
    initial_state: on
    trigger:
      platform: event
      event_type: zwave.scene_activated
      event_data:
        entity_id: zwave.hank_hkzwscn04_scene_controller
        scene_id: 1
    action:
    - service: notify.telegram_bot
      data:
        message: "Hank scene 1 triggered"

Any chance you can share your modifications to the zwcfg file? I have the one button controller, and I cannot get it to work. I see a COMMAND_CLASS_CENTRAL_SCENE section in my zwcfg file, but I can’t understand if it needs modification or not.

<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" />
</CommandClass>

Thanks!

Not OP, but I found in the home assistant docs the Hank One Button:

<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="1" 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="Button One" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  </CommandClass>

Edit: Just in case someone stumbles upon this like I did without a solution present.

1 Like

For anyone looking for the COMMAND_CLASS_CENTRAL_SCENE section for the Hank 4-button z-wave scene controller. I just got it to work successfully with the zwcfg file section below.

                <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" />
                        <Value type="int" genre="system" instance="1" index="1" label="Button One" 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="2" label="Button Two" 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="3" label="Button Three" 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="4" label="Button Four" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
                </CommandClass>
2 Likes

working on getting the hank 4 button working, i have 17 entries under id 91 did you copy over all of these?

Thank’s guys,

starting from here, with some more searching, i have managed to get the Hank 4 button where i wanted it. Listenning to me :wink: