Assign actions to each of the Minimote’s buttons (press and hold) in an automation.
The Minimote must be configured as a Scene controller. See the In-Depth Guide for configuration instructions, or find help in some links below or elsewhere in the community.
This blueprint is compatible with Home Assistant 2021.04 or later.
blueprint:
name: Aeon Labs Minimote
description: Create automations for the Aeon Labs Minimote
domain: automation
input:
minimote_device:
name: Minimote Device
description: A Minimote device.
selector:
device:
integration: zwave_js
manufacturer: AEON Labs
model: DSA03XXX-ZW
button_1_pressed:
name: Button 1 Pressed
description: Actions to run when button 1 is pressed.
default: []
selector:
action:
button_1_held:
name: Button 1 Held Down
description: Actions to run when button 1 is held down.
default: []
selector:
action:
button_2_pressed:
name: Button 2 Pressed
description: Actions to run when button 2 is pressed.
default: []
selector:
action:
button_2_held:
name: Button 2 Held Down
description: Actions to run when button 2 is held down.
default: []
selector:
action:
button_3_pressed:
name: Button 3 Pressed
description: Actions to run when button 3 is pressed.
default: []
selector:
action:
button_3_held:
name: Button 3 Held Down
description: Actions to run when button 3 is held down.
default: []
selector:
action:
button_4_pressed:
name: Button 4 Pressed
description: Actions to run when button 4 is pressed.
default: []
selector:
action:
button_4_held:
name: Button 4 Held Down
description: Actions to run when button 4 is held down.
default: []
selector:
action:
mode: single
max_exceeded: silent
trigger:
platform: event
event_type: zwave_js_value_notification
event_data:
device_id: !input minimote_device
command_class: 43 # Scene Activation
property: sceneId
action:
- variables:
scene_id: "{{ trigger.event.data.value_raw }}"
- choose:
- conditions: "{{ scene_id == 1 }}"
sequence: !input button_1_pressed
- conditions: "{{ scene_id == 2 }}"
sequence: !input button_1_held
- conditions: "{{ scene_id == 3 }}"
sequence: !input button_2_pressed
- conditions: "{{ scene_id == 4 }}"
sequence: !input button_2_held
- conditions: "{{ scene_id == 5 }}"
sequence: !input button_3_pressed
- conditions: "{{ scene_id == 6 }}"
sequence: !input button_3_held
- conditions: "{{ scene_id == 7 }}"
sequence: !input button_4_pressed
- conditions: "{{ scene_id == 8 }}"
sequence: !input button_4_held
Changelog:
2021-04-07:
Changed event_type trigger to zwave_js_value_notification for release 2021.04.
Hi, am using z-wave JS , (using zwavejs2mqtt for the zwave server portion).
when I try and use the blueprint, it doesnt show any available devices
ZWaveJS2MQTT does not show the Prodcut Code like the rest of my zwave devices, instead it shows “Aeotec NanoMote Quad” as the model, not ZWA-003-C (printed on device) (ref other Aeotec devices show here as ZW100 etc). Netiher the ZWA003-C or the “Aeotec NanoMote Quad” product namesa re referenced within your Blueprint - you have DSA03XXX-ZW instead
The NanoMote Quad is an entirely different product than the Minimote. This blueprint only works with the Minimote. Others have posted blueprints for the NanoMote.
Yeah, I now see there aren’t any for zwave_js. You should be able to adapt one of the zwave/ozw ones to use zwave-js, or vice versa if that works for you. I believe the Nanomote uses Central Scene, so the event data is slightly different. Comparing the integrations, zwave_js events include device_id, so you can use the device selector instead of requiring a node id, which is much simpler.
Did you ever get it to work as I am having the same issue you described. Minimote appears to have paired successfully and I configured button 1 in the automation to toggle a light but nothing happens when I press the button.