Support to Scene modes using Remotec ZRC-90

It is consistant after reboot.
Thanks that helps.

Another question:
I’m able to trigger on zwave.scene_activated.
I’m using node-RED tiles for programming
Do you know how to detect scene_id and scene_data after triggering in node_RED?
Like here in code?


- id: '1234567890'
  alias: Double-press Button 2 to toggle all lights
  trigger:
  - platform: event
    event_type: zwave.scene_activated
    event_data:
      node_id: 7
      scene_id: 2
      scene_data: 3
  condition: []
  action:
  - data:
    service: light.toggle
      entity_id: group.all_lights

I did for trigger this:

I’m using NR too, but never tried automating the remotecs using it :slight_smile:
I’ll have a try tonight or tomorrow morning on it, but it doesn’t show up within the JSON payload of ‘knop ingedrukt’ or ‘knop 1’?

I did found out the right syntax

Something along these lines?
zwave.scene_activated as event shows the data nicely

Yes
But I got it working already.
Thanks for your attention

can you tell how you got it working ?? im trying to get the zwave.scene_activated data but its not showing ??

The scene sensor depends on the zwave you use. I’m using now zwave.js
to detect scene you need to use: zwave_js_value_notification then


my flow:


[{"id":"6507c25a.23014c","type":"switch","z":"93580661.c8ff28","name":"Gekozen knop","property":"payload.event.property_key_name","propertyType":"msg","rules":[{"t":"eq","v":"001","vt":"str"},{"t":"eq","v":"002","vt":"str"},{"t":"eq","v":"003","vt":"str"},{"t":"eq","v":"004","vt":"str"},{"t":"eq","v":"005","vt":"str"},{"t":"eq","v":"006","vt":"str"},{"t":"eq","v":"007","vt":"str"},{"t":"eq","v":"008","vt":"str"}],"checkall":"true","repair":false,"outputs":8,"x":216,"y":425,"wires":[["d12c78df.7c8448"],["7c164627.baaba8"],["6eec6d52.99e894"],["e4cb82e.8dc4a8"],["79ac59dd.dc9948"],["6ba5fb24.052074"],["e9eb9e29.0d351"],["ca2d3dc4.c280c"]]},{"id":"d12c78df.7c8448","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 1 (slapen)","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":487,"y":119,"wires":[["ab565249.c3cd3","c8cf3bd2.6fee88"],[],[],["9f09d7a1.4e05a8","d1b3ac3a.c0e27"]],"info":"Single press\t0\r\nLong press (2s)\t1\r\nRelease from hold\t2\r\nDouble-press\t3"},{"id":"9fe74864.372c48","type":"comment","z":"93580661.c8ff28","name":"Remotec afhandeling:","info":"knop 1 1x slapen: true\nknop 1 2x slapen false","x":100,"y":102,"wires":[]},{"id":"633f7a7e.c4ac54","type":"debug","z":"93580661.c8ff28","name":"knop ingedrukt","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":216,"y":340,"wires":[]},{"id":"8fe2bb98.295038","type":"server-events","z":"93580661.c8ff28","name":"zwave","server":"783e002.7fe69","event_type":"zwave_js_value_notification","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"x":50,"y":425,"wires":[["633f7a7e.c4ac54","6507c25a.23014c"]]},{"id":"7c164627.baaba8","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 2 licht","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":467,"y":204,"wires":[["b06853f5.6880f","4f019f00.41a14"],[],[],["c1626fa7.ba5ff","d56e2302.adc8a"]]},{"id":"6eec6d52.99e894","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 3 TV","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":467,"y":289,"wires":[["6e563fbe.cd02d","a55a7c1b.28c9"],[],[],["1eb68eb1.c42591","4a48e12.7876d2"]]},{"id":"e4cb82e.8dc4a8","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 4 dimmer","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":477,"y":442,"wires":[["78b71a1d.f711f4","f0766862.9921d8"],["9a86f355.516be","340e0881.a86468"],[],["34da0941.fa9c36","c28fe04.078c02"]]},{"id":"79ac59dd.dc9948","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 5 Overloop","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":487,"y":578,"wires":[["8e2c9965.5354e8","97d115d1.0955d8"],[],[],["972533fb.001d5","2d2c4184.ee8cee"]]},{"id":"6ba5fb24.052074","type":"switch","z":"93580661.c8ff28","name":"gekozen actie knop 6 Daan slapen","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyPressed","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"},{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyPressed2x","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":497,"y":663,"wires":[["4253caa5.bb72d4","e84313ea.ddae1"],[],[],["81452bd6.0de658","f3ed8168.91ddf"]]},{"id":"83cd6f9d.5c49d","type":"server-state-changed","z":"93580661.c8ff28","name":"boolean","server":"783e002.7fe69","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.dimmer_5","entityidfiltertype":"exact","outputinitially":false,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"for":"","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":526,"y":374,"wires":[["78b71a1d.f711f4"],["78b71a1d.f711f4"]]},{"id":"783e002.7fe69","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
1 Like

Thanks so much for this! Just migrated over to zwave js and was struggling to get this remote to work with node red