Zwave-JS - CentralScene notification - Scene ID

Hi,

So I bit the bullet and started zwave JS… lots of work and I am hitting an issue.

I used to have a “scene controller” wokring with ozw.scene_activated succesfully.

Now I want to use that with Zwave-Js. I do see I am getting the coomands via Zwave-JS:

2021-11-10T21:49:27.577Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x2f0003"
                                  }
2021-11-10T21:50:55.254Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x300001"
                                  }
2021-11-10T21:50:57.074Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x310002"
                                  }
2021-11-10T21:50:58.948Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x320003"
                                  }
2021-11-10T21:53:11.436Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x330001"
                                  }
2021-11-10T21:53:12.331Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x340001"
                                  }
2021-11-10T21:53:12.910Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x350001"
                                  }
2021-11-10T21:53:32.519Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x360001"
                                  }
2021-11-10T21:53:33.040Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x370001"
                                  }
2021-11-10T21:53:33.920Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x380005"
                                  }
2021-11-10T21:53:36.103Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x390001"
                                  }
2021-11-10T21:53:40.752Z CNTRLR « [Node 004] received CentralScene notification {
                                      "nodeId": 4,
                                      "ccId": "Central Scene",
                                      "ccCommand": "0x03",
                                      "payload": "0x3a0001"
                                  }

I do not see them (any information) in homeassitant via the following listeners:
zwave_js_notification
zwave_js_value_notification
zwave_js_notification
zwave_js_value_updated

According to Z-Wave JS - Home Assistant I might have hit this? But I am not sure what and how to change in order for my device to work… And to pick up the commands.

EDIT: Listening to * does not show me any output as well…

Never Mind: Solved. It turns out the device does send out information to the zwave network without/prior to being waked up. If forgot to wake it up and after I did it now presents itself. I leave this here for others to find.

1 Like

I have Bali shade remotes that generate similar CentralScene notifications in the log file. How do I use this in an automation? I cannot figure out how to use the ‘zwave_js_xx_notification’ listeners. Could you give an example of an automation that triggers on the CentralScene notifications. Home Assistant create a device for my remote with battery status entities but there are not any useful entities like switches etc.

1 Like

Got it working.

alias: Bali Bottom Button
description: Bottom Button
trigger:
  - platform: event
    event_type: zwave_js_value_notification
    event_data:
      property_key: '002'
      value: 1
      node_id: 57
condition: []
action:
  - service: notify.paul_iphone_only
    data:
      message: bali bottom button
mode: single

I finally got my Z-Wave Remote type “Sunricher” to work. What helped was to do a querying step again (hold “I” & “O” on the remote for > 3 secs) and then the Z-Wave JS Events showed up in the Developer Tools Log. After that the post above helped me to set up an Automation that would send a Notification to my Mobile app. Sharing it below for completeness:

alias: Remote Button sends Android Notification
description: Button Press Message
trigger:
  - platform: event
    event_type: zwave_js_value_notification
    event_data:
      property_key: "001"
      value: KeyPressed
      node_id: 3
condition: []
action:
  - service: notify.mobile_app_my_phone
    data:
      message: Button press has been recognized!
mode: single