this post was submitted on 19 Sep 2024
12 points (100.0% liked)
Aotearoa / New Zealand
1651 readers
11 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use [email protected]
- Shitposts, circlejerks, memes, and non-NZ topics belong in [email protected]
- If you need help using Lemmy.nz, go to [email protected]
- NZ regional and special interest communities
Rules:
FAQ ~ NZ Community List ~ Join Matrix chatroom
Banner image by Bernard Spragg
Got an idea for next month's banner?
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I really like the frigate project, and the detection models it has are really really good, and that meant I could use really cheap Amcrest (I think) cameras because the brains was on the server end rather than camera end. Plus I kinda prefer the device side to be as dumb as possible as they can often have all sorts of vulnerabilities baked in the more IoT they are.
Though I also really hate Home Assistant so I use Frigate as a standalone app, and I manage notifications in a somewhat roundabout way (mqtt -> loki -> grafana -> pushover). I did that because I got heartily sick of how awful Home Assistant was at determining whether I was, or was not at home.
So now I use Unpoller to get my device states from the UDM, that gets stored in prometheus, and my Grafana alert rule works out if my partner or I are at home based on our device being connected to the WiFi or not; then each MQTT event for a detection it only sends a notification if both phones are away.
Haha I fought with Home Assistant on the home/not home thing too. It's really food now, though. I think the issue is HA uses the google significant motion update, so it doesn't get realtime location data but instead updates on some black box google schedule. They have a high accuracy mode but it still doesn't seem to poll regularly. It's unclear to me exactly what changes.
On my phone I also use PhoneTrack synced to Nextcloud for location tracking, and that updates every minute. I think this seems to allow HA to get more frequent updates, as it works great for me now. Still a massive problem on my wife's phone, who has no need for PhoneTrack. Detecting WiFi network is my next plan for her, which you can do in HA as well.
Yeah I was using HA to figure out presence from Unifi and that was very flakey as well. Have a look at Unpoller though, its a decent project and can push metrics to influxdb or prometheus.
Will do, thanks!