ZHC5010 and central scenes in Home Assistant

In Home Assistant Central Scenes is not really supported out of the box. To get it to work it requires a bit of manual editing in the open zwave config file.

To do this follow below steps.

  1. Stop Home Assistant
  2. Go to the directory that contains your Home Assistant config files.
  3. Edit the file named something like zwcfg_0xefe3a97d.xml.
  4. Find your ZHC5010 device in the above file. You can do this by search for ZHC5010.
  5. Find the CommandClass XML node with the ID 91. This is COMMAND_CENTRAL_SCENE.
  6. Replace the entire XML node with below.
    <CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="5" innif="true" scenecount="4">
    <Instance index="1" endpoint="0" />
    <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="Single activation" 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="Release button" 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="Hold button" 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="Double activation" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
    </CommandClass>
  7. Start Home Assistant again.

With above changes your buttons should be able to trigger zwave.scene_activated in Home Assistant.

Comments are closed