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!

Show HN: Do-over, undo for AI agent shell commands

https://github.com/CaydenChik/doover
1•Cayden27•4m ago•0 comments

Flock Has a Powerful New AI Tool for Police. We Got Its Code

https://www.wired.com/story/flock-safety-os-investigate/
1•divbzero•6m ago•0 comments

AI is changing how we code. Is this positive?

1•simondukr•9m ago•0 comments

Contract for difference

https://en.wikipedia.org/wiki/Contract_for_difference
1•petethomas•9m ago•0 comments

Ask HN: When will the AI bubble burst and eradicate all life in the planet?

2•roschdal•9m ago•1 comments

Keycloak unauthenticated account takeover via reset-credentials flow bypass

https://github.com/keycloak/keycloak/issues/51833
1•4mnt•9m ago•0 comments

AI Is Changing How We Hac

1•simondukr•10m ago•0 comments

Agarwood

https://en.wikipedia.org/wiki/Agarwood
2•teleforce•13m ago•0 comments

PgDog is 2x faster than RDS Proxy

https://pgdog.dev/blog/pgdog-vs-rds-proxy
1•levkk•18m ago•0 comments

Vibe Coder – A Parody of Downfall

https://twitter.com/amitranjan/status/2090011590150287837
2•vismit2000•21m ago•0 comments

Ways to Smuggle SQLite into Nix

https://fzakaria.com/2026/08/19/three-ways-to-smuggle-sqlite-into-nix
1•ingve•23m ago•0 comments

NASA's Attempt to Save the Swift Telescope Has Failed

https://www.nytimes.com/2026/08/19/science/nasa-swift-telescope-failed-rescue.html
2•greenburger•23m ago•0 comments

Jason Arday's Final Self-Delusion

https://www.theatlantic.com/ideas/2026/08/jason-arday-death-lies-delusion/688311/
3•pabo•24m ago•0 comments

Why the Future Doesn't Need Us (2000)

https://www.wired.com/2000/04/joy-2/
2•naves•26m ago•0 comments

LLM Reasoning Traces Are Not Audit Records

https://rye.ai/blog/cot-faithfulness-reasoning-traces-not-audit-logs/
1•wakahiu•26m ago•1 comments

Windows brings out the Rorschach test in everyone

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
4•luu•29m ago•0 comments

Rising number of people seeking ADHD diagnosis without treatment, say experts

https://www.theguardian.com/society/2026/aug/18/great-adhd-myth-rising-diagnosis-without-treatment
3•theanonymousone•33m ago•0 comments

The data center fight is heating up

https://www.axios.com/2026/08/19/ai-power-data-center-electricity-construction
6•1vuio0pswjnm7•42m ago•1 comments

The tests your agent writes defend the code it saw. Bugs included

4•Marvin_RunAI•43m ago•0 comments

Cuisenaire Rods

https://en.wikipedia.org/wiki/Cuisenaire_rods
3•tosh•44m ago•0 comments

Old.reddit.com is now login only

6•denvrede•45m ago•4 comments

Seoul to cover all sidewalks with shade by 2028 to combat heat waves

https://en.yna.co.kr/view/AEN20260819007000315
6•riffraff•46m ago•0 comments

Wrapping C libraries in Nim (2023)

https://peterme.net/wrapping-c-libraries-in-nim.html
2•erikschoster•46m ago•0 comments

Show HN: Rove – parallel coding agents that can fan out subtasks and report back

https://github.com/Sma1lboy/rove
1•zhallen_work•48m ago•0 comments

Asana cleared 5 years of engineering work in 2 weeks with Codex

https://openai.com/index/asana/
28•tosh•52m ago•47 comments

Why Every Receipt in Taiwan Is a Lottery Ticket [video]

https://www.youtube.com/watch?v=s1EVk7k9S7Q
3•dataflow•52m ago•0 comments

My Grandfather's Career Took Off at 58

https://kejiakejia.substack.com/p/my-grandfathers-career-took-off-at
17•jamarna•52m ago•2 comments

Samsung hikes chipmaking prices by up to 15% for new orders, on demand spike

https://www.reuters.com/business/autos-transportation/samsung-hikes-chipmaking-prices-by-up-15-de...
4•giuliomagnifico•53m ago•0 comments

Show HN: I fixed a dead Bitcoin ASIC and made a foundry that engraves your words

https://strikeablock.com/
1•laksgandikota•54m ago•0 comments

ChessIQ – training positional evaluation instead of just finding tactics

https://chessiqapp.com/
1•VyomJ•56m ago•0 comments