this post was submitted on 19 Sep 2024
12 points (100.0% liked)
Aotearoa / New Zealand
1656 readers
12 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use !politics@lemmy.nz
- Shitposts, circlejerks, memes, and non-NZ topics belong in !offtopic@lemmy.nz
- If you need help using Lemmy.nz, go to !support@lemmy.nz
- 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 have a loose definition of "week". This is the first thread in almost a month...
Anyway, a while back I asked about gateway routers, and @thevoyagekayaking@lemmy.nz recommended the Ubiquiti Dream Machine SE. I eventually built up the courage to spent that much money on it, and it arrived this week.
After a few challenges I managed to get it set up. It has now replaced my ISP router, and I've also replaced the Pi-hole with the UDM's options for local DNS entries and ad blocking. I also have set it up as a VPN client with Wireguard and ProtonVPN, and I can choose which devices are routed over the VPN and even customise it per domain so streaming services that don't like the VPN can be excluded.
I have a 300Mbps connection that normally averages about 280Mbps, and ProtonVPN lets me keep this speed (I'm on a paid plan).
The internet in general feels more snappy too, lower latency. I'm pretty happy with this purchase, and keen to get some cameras plugged into the PoE as soon as my wallet has recovered.
It begins! Here's a mug of kool-aid ;) So, who's taking odds on TTC and TTA*?
There's a legitimate criticisms to be made of Ubiquiti's products, but they perform very well, are relatively simple to setup and maintain and most importantly for me, you get a perpetual license in the up front purchase price - no annual ransomware like other similar providers. Plus you can host the controller yourself, you don't have to be tied to their cloud offering (if they even still bother with it).
I haven't setup their built-in ad blocking yet as the local DNS was a bit of a pain so I still use pi-hole for all my own home stuff's DNS anyway, and I have wireguard running off their box as I set that up when their implementation was very new and not quite what I was after. But only a matter of time before I switch to the same setup as yours.
*(time till cameras, time till access-points)!
Actually on cameras, I think Ubiquiti are adding Onvif support to Protect which should let you add non-Ubiquiti cameras to their setup too. Of course then you won't get the special detection features so i'll continue to use frigate & offload the "is human?" analysis to a GPU.
I've been looking at Reolink with built in detection. Would I still need frigate?
I'd want it integrated with Home Assistant anyway, so might not even need Unifi Protect in the stack.
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!
What trouble did you have with local DNS? I haven't had any issues.
What I like about Pi-hole is the control. With the block ads setting here, it's a checkbox on or off. Pi-hole lets me add custom block lists, and see a log of what's being blocked to help me resolve issues with sites not working.
Annoyingly I have Amplify APs which while made by Ubiquiti they aren't compatible with the Unifi range in terms of controller. They work fine but I have to manage them separately.
Its only recent releases of Unifi Network that have made it easy to setup local DNS entries - it used to be very kludgy or not possible back when I first deployed PiHole as DNS for me.
Maybe time for an automod to make the thread? If that exists on Lemmy
Tools exist that can do it, but there's always a pinned post at the top of c/nz if anyone wants to post something or read something.
The problem with using a bot is that people with bots disabled won't see it! I also just don't really like the idea, it seems so impersonal. Perhaps a good compromise is setting up the posts in advance with a post scheduling tool, so it's not a bot but my account still posting them.
Good idea with the scheduled posting. I gravitate to these kinds of threads, mainly as sometimes I don’t really have anything relevant to add to news or political posts.
If we're gonna get nice and structured, what's a good day to post? I've normally been aiming either for a Monday or Friday as I think people tend to have more to talk about just before or just after a weekend (normally pretty quiet on weekends themselves).
Thoughts?
Maybe Friday? People are generally more relaxed on a Friday than Monday is my thinking..
Sounds good. I'll set something up to try to get it consistent at perhaps 8am on Fridays.
I've scheduled the next post for Friday. Don't seem to be able to schedule it reoccurring quite with the complexity I need, but I'll try to keep em stacked up so they arrive on time each Friday.