-
Notifications
You must be signed in to change notification settings - Fork 18
Using the NodOn soft button (D2‐03‐0A)
mak-gitdev edited this page Nov 7, 2023
·
2 revisions
The NodOn soft button is a small pushbutton device that allows to trigger automation using 4 possible actions:
- Simple press
- Double press
- Long press
- Long press release It also reportt the battery level of the device.
You can simply add it to your device file using:
[button_test]
address = <address of the device>
rorg = 0xD2
func = 0x03
type = 0x0A
After restart, it will then appear in Home Assistant like this:
Clicking on +4 entities not shown
, you will discover 4 binary sensors, one per action listed above.
By default, these buttons are disabled as I strongly discourage their use for automations.
In fact, it is not shown on the device page but you have access to additional device triggers that are better suited for automations.
To use those device triggers, simply start configuring a new automation and from the trigger condition, select the device trigger associated to the action you want to use for your automation.