Page 1 of 1

Towards a better multi-phone geofence

Posted: Fri Aug 09, 2024 10:07 pm
by PeteDD
The android app and the ability to coordinate having multiple phones outside the fence to activate a change, for example, to an “away” schedule is a great feature. Thing is though that the geofence implementation in the android app has proven to be less than prompt or reliable.

I switched to using EgiGeoZone and http messages and that works great (for one phone). My entry/exit happens in precisely the same place on the road leaving or returning to my house every day. Not sure what they do differently, but that app really has nailed the geofence triggering. I have so far though found no way to coordinate multiple phones using EgiGeoZone with BlueIris.

I have an idea of one way and perhaps this might hopefully trigger a discussion on other ways as well.

What if I used the DIO states as a sort of flags and assign a different DIO to each phone. When exiting the geofence, EgiGeoZone could send an http message to set the DIO and similarly when returning, clear the DIO. Now the question becomes “Can I switch to my ‘away’ schedule based on an AND condition of two (or more) DIO states being true. And similarly switch back to my ‘at-home' schedule when the AND condition is not true?

Thanks in advance for advice and a look so alternative ideas.

Re: Towards a better multi-phone geofence

Posted: Sat Aug 10, 2024 10:02 am
by TimG
I don't use it, as I have Geofencing working from Homeseer with HSBuddy. Home automation with geofencing has many more possibilities, including Alexa saying "Tim is nearly home", and the ability to add multiple locations. Multiple users are a piece of cake :!:

Re: Towards a better multi-phone geofence

Posted: Sat Aug 10, 2024 1:14 pm
by PeteDD
@TimG
Does that address the multi-phone objective I am trying to achieve?

Re: Towards a better multi-phone geofence

Posted: Sat Aug 10, 2024 2:28 pm
by TimG
It means you can do anything you like with as many users and phones as you like. Homeseer is however quite expensive. I haven't looked into doing the same with Home Assistant, but I can be sure they have a solution too. Do you have a spare Raspberry Pi (And a lot of time !) ?
I use MQTT for comms between BI5 and HS4, and it does things like allowing CPAI confirmed "Person" Alert turns drive lights ON, but passing cars don't. The combination of BI5 and home automation will literally open doors for you :D

Re: Towards a better multi-phone geofence

Posted: Sat Aug 10, 2024 7:06 pm
by PeteDD
@TimG
I could probably cobble something up with code red to accept inputs fromEfiGeoZonebut was really hoping to keep it more self-contained withing BlueIris. Re doing it in BI, once I figure out how to get DIO states to trigger schedule changes, it would be relatively trivial.