Installed Aeontech Gen5+ stick and interviewed Ring 2 keypad. In developers log I can see the messages from the keypad.
I WOULD LIKE USE THE KEYBOARD TO OPEN DOOR GIVEN THE RIGHT CODE.
(the correct pin number would drive a relais to open a door)
For what I understand the numeric pin input on the ring2 keypad
- is NOT processed as an attribute of numeric_state change (but COULD it be ??)
- BUT is processed as an event_data.event_data inside a zwave notification event.
Is it right ?
Kindly Ask:
- In the example below what should I use as “node_id” inside the automation code:
** the event_data → “node_id” (got from from the developers log)
** the "data/device_id” (got from from the developers log) - should I double quote the node_id ?
- Should the pin number in the automation script, be inserted inside double quotes or not ?
automation:
- alias: "Open door from keypad when correct pin inserted"
trigger:
platform: event
event_type: "zwave_js_notification"
event_data:
command_class: 111
node_id: * ?? NODE_ID ???*
event_type: 2
event_data: 1234 # double quoted or not ?
action:
- service: switch.turn_on
entity_id: switch.vimar_switch_01
- delay:
milliseconds: 250
- service: switch.turn_off
entity_id: switch.vimar_switch_01