Skip to content

Using the NodOn soft button (D2‐03‐0A)

mak-gitdev edited this page Nov 7, 2023 · 2 revisions

Context

This page is to explain how to use this device as I saw on forums that people were having issues using it for automations.

What is it ?

image

The NodOn soft button is a small single pushbutton device that allows to trigger automation using 4 possible actions:

  • Simple press
  • Double press
  • Long press
  • Long press release

It also reports the battery level of the device. It is based on D2-03-0A EEP so any other device using this EEP will work in the same way.

How to use it ?

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:

image


Clicking on +4 entities not shown, you will discover 4 binary sensors, one per action listed above:

image


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.


image image

That's it !