frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•1y ago
Ubiquiti recently added HTTPS REST APIs to their Network and Protect applications. While exploring what was available, I came across a pair of interesting endpoints that promised to stream Protect events like detections, motions, doorbell rings, etc. over a Websocket connection.

My UniFi doorbell works great, but I frequently miss the sound of the doorbell because the main chime is far from my workstation, plus I prefer to mostly silence my phone while I'm working. Physical UniFi Chimes are available, but are usually out of stock, and their price seems to keep going up! So my initial motivation was to write enough of a client to enable a doorbell application which would play a sound whenever a "ring" event was emitted by Protect's API.

A few dozen commits later, I found I had built a half decent client and CLI command utility for talking to the Network and Protect APIs. So I'm pleased to announce the initial v0.1.0 release of `unified`:

`unified` is a command line utility (and Golang client) for talking to UniFi Network and Protect APIs.

You can check out the code at: https://github.com/ClifHouck/unified

v0.1.0 supports the following:

UniFi Network API V1 is fully supported as of Network application version "9.1.120".

UniFi Protect API V1 is only partially supported, with the following endpoints supported:

- `/v1/meta/info`

- `/v1/subscribe/devices`: only partial type support.

- `/v1/subscribe/events`

- `/v1/cameras/`

- `/v1/cameras/{id}`

But I'm committed to working towards full Protect API V1 support.

I think there's a lot of potential for interesting uses of these APIs. Hopefully someone besides me finds this useful.

Disclaimer: This client is not in any way affiliated with Ubiquiti. I do not take any responsibility for any harm that may come to your device(s) by utilizing this client. Use at your own risk!

Margaret Hamilton, who led software development for Apollo program, dies at 90

https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007
3•muglug•2m ago•0 comments

Bending Spoons' Luca Ferrari says capital is no longer Europe's big barrier

https://thenextweb.com/news/bending-spoons-luca-ferrari-says-capital-is-no-longer-europes-big-bar...
1•T-A•3m ago•0 comments

Fraudster jailed for using 10K bots and AI songs to outstream Taylor Swift

https://arstechnica.com/tech-policy/2026/10/outstreaming-taylor-swift-is-easy-with-10k-bots-and-a...
1•Alephinitesimal•3m ago•2 comments

Show HN: Chloe is a TypeScript AI agent

https://chloejs.org/compare
1•carlosmartinezt•6m ago•0 comments

Show HN: SheetRelay – Google Sheets as a back end for web pages and AI agents

https://sheetrelay.com/
2•Amirso•10m ago•0 comments

Show HN: Play Netpanzer Compiled to WASM

https://netpanzer.io/play/
1•winrid•11m ago•0 comments

What today's software owes to Bronze Age clocks

https://planetscale.com/blog/leaky-buckets-in-software-explained
2•bddicken•11m ago•0 comments

WSL3 Performance is about 5-60% faster than WSL2 depending on the workload

https://tonym.us/wsl2-vs-wsl3-benchmarks.html
3•tonymet•11m ago•0 comments

Succinct Sounds-Like Starting Vowels

https://wiredream.com/vowels/
1•ingve•12m ago•0 comments

Energy Icons for the Energy Transition

https://energyicons.com/
2•ly0n•15m ago•0 comments

Scientists name ancient crocodile species

https://www.cnn.com/2026/10/06/science/ancient-crocodile-egypt-great-sphinx
2•mooreds•17m ago•0 comments

Smart Home Accessories

https://www.apple.com/shop/smart-home/accessories/homekit
1•kristianp•17m ago•0 comments

Dave W Plummer: "AI Cloning should be illegal"

https://twitter.com/davepl1968/status/2107875089446580273
2•estranhosidade•18m ago•3 comments

Last rites for Gentoo's Chromium package

https://lwn.net/SubscriberLink/1097760/2be4d9e3eeb59039/
1•birdculture•22m ago•0 comments

AI companies say rivals are distilling their models and why it's so hard to stop

https://www.scientificamerican.com/article/what-is-ai-model-distillation-and-why-is-it-so-hard-to...
3•ck2•23m ago•0 comments

Evaluating OCR on the Community Memory Corpus

https://ztoz.blog/posts/ocr-cm/
1•ingve•24m ago•0 comments

Local models and sandboxed tools coming soon to GitHub Copilot

https://commandline.microsoft.com/local-models-sandboxed-tools-github-windows/
1•lisajaloza•24m ago•0 comments

Show HN: TuxWhisper – Offline push-to-talk dictation for Linux, works on Wayland

https://github.com/ialmajai/tuxwhisper
2•ialmajai•25m ago•0 comments

Book Recommendations from Hacker News?

https://bookofjoe2.blogspot.com/2026/10/book-recommendations-from-hacker-news.html
2•bookofjoe•30m ago•0 comments

Geforce Now for Nintendo Switch

https://github.com/Blade-Punisher/SwitchNOW
2•unchar1•31m ago•0 comments

Software Factories Meet Agile

https://twitter.com/IgorZIJ/status/2107933158155186599
3•iacguy•31m ago•0 comments

Frontier AI Is Accelerating. Open Benchmarks Need to Keep Up

https://benchmarks.snorkel.ai/frontier-ai-is-accelerating-open-benchmarks-need-to-keep-up/
1•vincentschen•33m ago•0 comments

All the data sources for Apple Maps

https://gspe21-ssl.ls.apple.com/html/attribution-331.html
2•kaniksu•35m ago•0 comments

Visualizing the Change-of-Variables Rule in Probability

https://michaeljohncooper.com/writing/change-of-variables
1•coopermj•35m ago•1 comments

Claude now in Google Docs, Sheets and Slides

https://claude.com/resources/articles/claude-now-works-in-google-docs-sheets-and-slides
2•dgf18•38m ago•2 comments

Top iPad Games for Apple Pencil (2020) [MrMacRight] [video]

https://www.youtube.com/watch?v=begjnhBleT0
1•zeristor•39m ago•1 comments

Ubuntu 26.10 Drops Btrfs, XFS and ZFS /Boot with Secure Boot

https://www.omgubuntu.co.uk/2026/10/ubuntu-2610-secure-boot-grub-change
2•josephcsible•39m ago•0 comments

Anthropic is adding monthly API credits to Claude Max and Team subscriptions

https://twitter.com/ClaudeDevs/status/2107895957933408429
2•bartekurbanski•41m ago•1 comments

Stop telling people to delete their social media

https://rmpr.xyz/Stop-telling-people-to-delete-their-social-media/
3•RMPR•41m ago•1 comments

Aim – Agentic Idea Management for Automated Research

https://imhgchoi.github.io/agentic-idea-manager/
1•gmays•41m ago•0 comments