I’ve got a use case I can’t find a good example for on the forum - tracked devices (parents) NOT home, but babysitter and children HOME.
Device tracking for parents works really well.
Don’t want to do tracking for the children.
Looking to avoid arming the alarm if a babysitter is home with the kids.
I think a bayesian sensor is possibly the way forward, I just can’t figure out the logic.
Entities I thought might help:
Motion detected internally
Lights left on internally
Devices connected to the WiFi AP however the device_state will alternate between home/not_home throughout the babysit and might take ages to initially register so can’t be used instead of a bayesian sensor. Not reliable enough.
Whether parents are out
Whether non-family-member babysitter devices have connected to the AP that evening. Does not happenunless parents are due to go out.
Time of day. Whilst babysits during the day happen, much MORE likely to happen in the evening.
That’s a grand thing - but I was hoping to automate this
I’m working on this in the background - I’ve had some ideas for automations triggering input booleans. See how far I get! I think ideally bayesian is the way forward but I can’t do that on my own and make it reliable I don’t think
I use a guest mode input boolean as well. I do however use automations to turn on guest mode for a few scenarios. I have zwave lock, if any code unlocks the door and I’m not home, the guest mode turns on. Turning on the guest mode has the same overall affect as my wife or me coming home. Turns on some lights, sets heat, disarms security, etc
Of course I can also turn it on manually or with my echo.
Do you possibly use a google calendar for when you have a baby sitter? Maybe use that to not arm the security system after a specific time if babysitter is on the calendar?
I’ll keep an eye on this to see if you come up with a good bayesian sensor though. Seems like a good challenge.
Here are a few I’ve played out in my head, tho I’m. Not sure how you would achieve it, nodered maybe ?
If the frontdoor opens/closes and parent a and parent b tracking device go to away after 5 minutes of the door opening/closing and movement is still being detected in the house, turn on guest mode ?
Tho the Google Calendar thing gets my vote, that way you can also track how much u need to pay them, if hourly rate
I was thinking about something similar to this, and although this is an older post I wanted to share an idea that I haven’t tried yet (but want to):
In my router I can set a separate WiFi SSID that I want to start using for guests. If I can find a way to check whether or not devices are connected to that specific guest network, then that can function as a dynamic Bayesian sensor to enable/disable the guest mode.