[userModule] Binary Sensor Filter

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
Post Reply
fez
Posts: 79
Joined: 20 Jul 2015 23:03

[userModule] Binary Sensor Filter

Post by fez » 26 May 2018 00:57

This module creates a virtual binary sensor. The value of the virtual sensor is based in the input device and its recent history. For example: if the polling interval is set to 5 minutes and filter level to 2 and level off the virtual sensor will keep the the on status as long as the input device is off for less then 2 intervals. A possible use case if a presence indicator while still keeping to motion sensor relative accurate (short on time The on & off option creates a hysteresis. In this mode the filter level alternates automatically once a stable level is reached according to the filter parameters.

Token: fermit_beta

Post Reply