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!

AI Coding and Its Discontents

https://calnewport.com/on-ai-coding-and-its-discontents/
1•champagnepapi•1m ago•0 comments

Pro Jank Footy, the video game taking Australian rules to the world

https://www.theguardian.com/games/2026/aug/11/pro-jank-footy-video-game-australian-rules
1•milderworkacc•6m ago•0 comments

No, local models will not win

https://www.seangoedecke.com/local-models-will-not-win/
1•m0rde•10m ago•0 comments

Chicken Scheme 6.0 Released

https://code.call-cc.org/releases/6.0.0/NEWS
1•eatonphil•10m ago•0 comments

Estimating Branch Probabilities

https://maskray.me/blog/2026-08-09-estimating-branch-probabilities?from_theconsensus=1
1•eatonphil•12m ago•0 comments

Vibebin – code and host with incus containers on your VPS/server

https://GitHub.com/jgbrwn/vibebin
1•indigodaddy•14m ago•0 comments

Tell HN: I Bought a Pocket Notebook

1•Iuz•15m ago•0 comments

The Roboguard Revolution Is Short-Circuiting

https://www.proofnews.org/the-roboguard-revolution-is-short-circuiting/
1•DeepLogin•16m ago•0 comments

Locating a livestreamers geolocation via background noise [video]

https://www.youtube.com/watch?v=SnbkIm56TfI
1•SpyCoder77•17m ago•0 comments

Training AI to Govern for Us

https://freesystems.substack.com/p/training-ai-to-govern-for-us
2•mitchbob•18m ago•0 comments

ICE to Pay LexisNexis Millions for Data to Feed to Palantir

https://www.404media.co/ice-to-pay-lexisnexis-millions-for-data-to-feed-to-palantir/
3•cdrnsf•18m ago•0 comments

Canopy: Grade any website's health in 4 seconds

https://canopystack.dev/
1•jjraxx•19m ago•0 comments

The AI Slop Backlash Is Having an Impact

https://www.wired.com/story/the-ai-slop-backlash-is-actually-having-an-impact/
3•ripe•24m ago•0 comments

Apple Reference Image: authenticate that a photo came from an iPhone camera

https://9to5mac.com/2026/08/10/apple-is-working-on-a-way-to-authenticate-that-a-photo-came-from-a...
2•Barbing•26m ago•0 comments

The End of MacSurf

https://www.patreon.com/posts/166335760
5•mplsllc•30m ago•0 comments

Unifying Workers AI and AI Gateway into a Single AI Control Plane

https://blog.cloudflare.com/workers-ai-gateway-unification/
1•c_f_•33m ago•0 comments

The Closure of the Internet

https://arctotherium.substack.com/p/the-closure-of-the-internet
2•iamnothere•34m ago•0 comments

"Remaining Awake Through a Great Revolution" Commencement Address (1959)

https://kinginstitute.stanford.edu/king-papers/documents/remaining-awake-through-great-revolution...
2•mooreds•41m ago•0 comments

SNAP's New Rules Make Eligible Families Go Hungry [audio]

https://omny.fm/shows/platypus-economics/how-snaps-new-rules-make-eligible-families-go-hungry-the...
1•mooreds•42m ago•0 comments

The Beer Drinker's Guide to XAA

https://thesaml.substack.com/p/the-beer-drinkers-guide-to-xaa
2•mooreds•43m ago•0 comments

Conviction

https://kennethnym.com/blog/conviction/
2•polyphilz•45m ago•0 comments

Nothing failed. That's why no one caught it.

https://miralume.dev/the-architect/nothing-failed
2•Jernesstar•46m ago•0 comments

Expected Log-Return as a Risk Control

https://win-vector.com/2026/08/10/expected-log-return-as-a-risk-control/
1•jmount•46m ago•0 comments

The UK's War on Anonymity Has Come to America

https://www.effort.news/uk-lobby
9•slowin•49m ago•0 comments

Media Offenders

https://www.whitehouse.gov/mediabias/
9•cocacola1•53m ago•3 comments

Bonestell Gallery

https://www.bonestellgallery.com/
2•rienbdj•54m ago•0 comments

People don't hate AI because of Zuck. They hate the version TechCrunch sells

https://runtimewire.com/article/people-don-t-hate-ai-because-of-zuckerberg-they-hate-the-version-...
2•ryanmerket•55m ago•1 comments

Théâtrophone: Proto-Spotify, 140 years ago

https://en.wikipedia.org/wiki/Th%C3%A9%C3%A2trophone
2•chtefi•57m ago•0 comments

Multi-agent version control with reactive feedback

https://lexifina.com/blog/adding-a-multi-agent-write-lock
1•alansaber•58m ago•0 comments

The Field Is Optional. The Death Threats Were Not

https://canartuc.medium.com/the-field-is-optional-the-death-threats-were-not-1e2f1f0ce772
2•andsoitis•1h ago•0 comments