Scenes and OZW, I can't get it to work

I am not sure if I am doing something wrong, don’t have a clue what I am doing or if there is a genuine problem

Problem:
I can’t get a scene to activate. When I give two quick taps to one of my z-wave switches (inovelli) my automation is not activating. I noticed in Open Zwave on the "User Values: tab it says I have 3 scenes (should be capable of 5 or 10) and the three it lists are all set to inactive but it will not allow me to drop down and set to active.

Hardware
HA on a Rpi 4
Homeseer Z-wave stick (sigma designs)
Inovelli LZW30-SN Red series switch

In the OZW Event list I show “Value Changed: Node 17, Instance1, Label Scene 2” but nothing is happening in my automation.

The Event Trigger code
‘entity_id: switch.deck_light_switch_2
node_id: 17
scene_data: 7860
scene_id: 2’

If anybody has some insight it would be greatly appreciated.

Thanks,
Dan

You are using the wrong scene data, and probably event. Use the Event Listener in Dev Tools to get the right data. https://www.home-assistant.io/integrations/ozw/#event-ozwscene_activated

1 Like

freshcoast,
Thanks for pointing me in the right direction on the event info. This is what I got. But this is so frustrating because I am struggling to find what I am supposed to do with this. how to structure the info ect in the automation. I will have to do more searching later I am out of time right now.

Event 1 fired 3:44 PM:

{
“event_type”: “ozw.scene_activated”,
“data”: {
“node_id”: 17,
“scene_id”: 2,
“scene_label”: “Scene 2”,
“scene_value_id”: 0,
“scene_value_label”: “Inactive”
},
“origin”: “LOCAL”,
“time_fired”: “2020-12-08T21:44:46.011538+00:00”,
“context”: {
“id”: “8bbe878e1351e4ef2e6f50745ae88c16”,
“parent_id”: null,
“user_id”: null
}
}

Event 0 fired 3:44 PM:

{
“event_type”: “ozw.scene_activated”,
“data”: {
“node_id”: 17,
“scene_id”: 2,
“scene_label”: “Scene 2”,
“scene_value_id”: 4,
“scene_value_label”: “Pressed 2 Times”
},
“origin”: “LOCAL”,
“time_fired”: “2020-12-08T21:44:45.011084+00:00”,
“context”: {
“id”: “ba4d2e4d51e13d12ecfa20da6976c116”,
“parent_id”: null,
“user_id”: null
}
}

You now use node_id, scene_id and scene_value_id as the event data.

1 Like

freshcoast,
Ok what am I missing here? I have scoured the internet and tried everything I can possibly think to try.

  alias: Heated Mats On
  description: Turns Heated Mats on with a double tap of light switch
  trigger:
  - platform: event
    event_type: ozw.scene_activated
    event_data:
      node_id: 17
      scene_id: 2
      scene value id: 4
  condition: []
  action:
  - type: toggle
    device_id: f771e641195211eba633033dcfc8b11c
    entity_id: switch.heated_mats_shelly1
    domain: switch

I am at a loss here. The automation works when manually cycled within the GUI (as in it toggles the wifi relay on and off. Its just not seeing the event.

-Dan

I think you might just have this minor mistake, try scene_value_id instead.

1 Like

freshcoast,
Thank you VERY MUCH, that was it I simply forgot to use the “_”. I greatly appreciate the help. Homeassistant has been an annoying thorn in my side for months now, because I have not been able to get all the simple automations I wanted, to work. There is nothing like sinking a bunch of time and money into it something and it being a failure. To add insult to the situation I had purchased several different brands of devices, none of which would work with Smarththings which is what I have been using for years and I am trying to migrate away from.

Thanks again, I greatly appreciate the help.

-Dan