[PROJECT] Drivers for Securifi Devices (Sensors, Keyfob, Click, etc...)

v0.3 of the driver is now posted. I have added support for the Almond Click into the driver. It will register a single, double, or long press on the button. Single clicks will increment the ButtonPresses state by 1, double clicks by 2. When it hits 4 it wraps to 0 (so if you do two double clicks ButtonPresses will show 0). A long press will clear the ButtonPresses and start counting the number of long presses. Since there is only 1 button the various Hubitat events will only show either 1 (the button was pressed) or 0 if they were not relevant.

Example:

  1. A short press will send an event "pressed" as 1. The two other events "doubleTapped" and "held" will both be 0.
  2. A double press will show "pressed" and "doubleTapped" as 1 and "held" as 0.
  3. A long press will show "pressed" and "held" as 1 and "doubleTapped" as 0.

I think I got those implementations correct per the Hubitat design: