Well the main reason behind this would be for triggers to say this room hasn’t been occupied for quite some time.. let’s turn off the lights, etc. This is how most of my motion based triggers work at present with my DSC alarm panel and travis/monstergerms plugin for it.. so for example in the hallway if the motion sensor hasn’t detected movement for 5 mins then it’ll turn off the lights. Ideally I’d want the same kind of trigger on your plugin so for rooms where there’s less motion but still presence the same logic would apply.. at the moment in my lounge I have a trigger set for 2 hours of inactivity because of course we might be sitting watching a movie then be plunged into darkness. With this AI functionality I want to be able to change that down to say 30 mins.
As for the presencedetected=yes/no ideally I’d want a slight delay on it changing.. say 1 min.. I want to find some way of getting this into HomeBridge as a presence device because I use a couple of triggers based on that in HomeKit already and that would greatly expand functionality.. I already use this with pressure pads under the bed to determine if we’re in bed or not... maybe that’d work with your switch idea?
Sent from my iPhone using Tapatalk Pro