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!

Starship Telemetry Visualizer

https://telemetry.starshipspaceprogram.com/
1•Eridanus2•1m ago•0 comments

We Know 15,579 Websites Are Infected. How Do We Tell Them?

https://scotthelme.co.uk/we-know-15-579-websites-are-infected-how-do-we-tell-them/
2•speckx•1m ago•0 comments

Code Matters: Reflections on Rust in the LLM Age [video]

https://www.youtube.com/watch?v=5D7QPOIZ7gY
1•wrxd•2m ago•0 comments

We stress-tested AI spend limits under bursts and outages

https://stipend-ai.com/blog/ai-spend-limits-tested/
2•petreli12•5m ago•0 comments

Screens, a Photo Collection

https://michaelscrypt.com/blog/screens-photo-collection
2•michaelscrypt•7m ago•0 comments

Palantiny, a thing that remembers every Bluetooth device that walks past me

https://twitter.com/narasim_reddy/status/2118562892941283733
2•CGMthrowaway•7m ago•0 comments

Project Eve: Claude Plays MMORPGs

https://www.anthropic.com/research/project-eve-claude-plays-mmorpgs
3•artninja1988•8m ago•0 comments

More Posts

https://terrytao.wordpress.com/2026/11/06/more-posts/
3•smilelamp•8m ago•0 comments

Show HN: Should I Grade It? Estimates a Pokémon card's PSA grade from a photo

https://shouldigradeit.app/
2•mjprintz•8m ago•0 comments

Software Twin of the Roland S1 Synthesizer with Automatic Differentiation

https://tylerwhughes.com/s1-twin/
2•twhughes•9m ago•0 comments

Cloudflare 10Q for the quarterly period ended September 30, 2026

https://www.sec.gov/Archives/edgar/data/1477333/000147733326000061/cloud-20260930.htm
2•benatkin•9m ago•1 comments

Gemini Just Deleted Another Machine

https://old.reddit.com/r/google_antigravity/comments/1xpbc54/antigravity_ran_a_command_to_delete_...
2•johnnyApplePRNG•10m ago•0 comments

Microsoft is winding down Oracle deal to rent AI cloud capacity

https://www.reuters.com/business/microsoft-is-winding-down-oracle-deal-rent-ai-cloud-capacity-blo...
3•brazukadev•11m ago•0 comments

What I Learned About Doom from the 'Making of Doom 3' Book

https://www.inverse.com/article/12528-what-i-learned-about-doom-from-the-making-of-doom-3-book
2•klaussilveira•11m ago•0 comments

Memorilla: Latent Semantic Memory for LLMs

https://arxiv.org/abs/2610.21375
3•handfuloflight•11m ago•0 comments

What's New in PHP 8.6

https://www.amitmerchant.com/whats-new-in-php-86/
2•speckx•12m ago•0 comments

Kalshi court losses pile up as judges refuse to block state gambling laws

https://arstechnica.com/tech-policy/2026/11/kalshi-court-losses-pile-up-as-judges-refuse-to-block...
3•Analemma_•12m ago•0 comments

An AI Rant

https://carlhandellen.substack.com/p/an-ai-rant
4•exploringclouds•14m ago•0 comments

Test and verification technique effectiveness with GPT-6 Astra

https://danluu.com/astra-testing/
2•surprisetalk•15m ago•0 comments

Size-It-Up (Game)

https://magnitudle.com/size-it-up
3•whoishiding•15m ago•0 comments

Perplexity launches AI agents for work

https://www.perplexity.ai/en-GB/hub/blog/teammates-are-agents-for-complex-ongoing-work
2•cybermango•15m ago•0 comments

Epistemic Learned Helplessness

https://slatestarcodex.com/2019/06/03/repost-epistemic-learned-helplessness/
2•highfrequency•16m ago•0 comments

Pliny – Letters – Book 7 Letter 27 (On Ghosts)

https://vroma.org/vromans/hwalker/Pliny/Pliny07-27-E.html?utm
2•yubblegum•17m ago•0 comments

See the startup time difference with Rusty Discord

https://twitter.com/discord/status/2118755849367896539
2•bigwheels•18m ago•0 comments

Software Project Rescue: When Your Company Needs It in 2026

https://businessmodelanalyst.com/software-project-rescue-when-your-company-needs-it/
2•Aninay•19m ago•0 comments

Google, OpenAI, and Anthropic back a shared robots.txt AI training signal

https://coywolf.com/news/seo/google-openai-microsoft-and-anthropic-back-a-shared-robotstxt-ai-tra...
2•twapi•19m ago•0 comments

JAXA samples reveal asteroid Ryugu has a complete set of DNA and RNA nucleobases

https://www.livescience.com/space/asteroids/all-5-letters-of-dna-found-on-an-asteroid-speeding-th...
2•cybermango•19m ago•0 comments

Show HN: ViewFit – Resize images to the size they are rendered at

https://github.com/andrea-bonacci/viewfit
2•andrea-bonacci•19m ago•0 comments

Culture Stops Slop

https://ampcode.com/podcast/season-02/episode-07
3•Multicomp•20m ago•0 comments

Stockfish in the Browser

https://stockfish-chess.pages.dev/
2•measurablefunc•20m ago•0 comments