It was a slack discussion about using Bayesian probability to determine whether or not there was someone ‘home’ and ensuring that users (us) don’t make the critical mistake of confusing presence for a known entity’s presence in regards to home automation security.
ie. Just because there is someone in the house - doesn’t mean that you want to turn off the alarm, sometime it will mean that the alarm should be triggered.
It was on slack, but It is not possible to read the history due to time limitations.
If I wasnt clear, I know of an app which will allow “aggerating sensor stats into a single (virtual) device”. As requested.
This would allow you to determine wheter someone is home by :
Assign values in flows when these are triggered and then remove said values after a delay.
It would be up to you to then use those stats in a flow to determin if someone is home.
I personally would do something like the folllowing, but you could do a much simplier version with simple boolean conditionals.
For example : IF ‘any’ door was opened {Bayesian = + 1} (delay 20 min - Bayesian = - 1} AND all doors open {Bayesian = +3} delay 45 min { Bayesian = -3} ; if motion down stairs { Bayesian = +7} delay 40 min - Bayesian=-7; etc etc etc
And then just a flow - when Bayesian changed and Bayesian > 10 then {someone is home}