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: Fountain – OSS API to give your app a computer it can talk to

https://managoat.com/oss-launch
1•jhgaylor•41s ago•0 comments

failfs

https://docs.kernel.org/filesystems/failfs.html
1•manbash•1m ago•0 comments

Show HN: Compilr.dev Studio – A project brain AI agents write to and people read

https://studio.compilr.dev/welcome/
1•scozzola•2m ago•0 comments

Small Is Beautiful

https://blog.dshr.org/2026/09/small-is-beautiful.html
2•zdw•3m ago•0 comments

Surfmen of the U.S. Life-Saving Service

https://www.nps.gov/calo/learn/historyculture/surfmen.htm
2•Bluestein•4m ago•0 comments

Meta's $17B Settlement Is a Bad Deal for Teens and All Social Media Users

https://www.eff.org/deeplinks/2026/09/metas-17-billion-settlement-bad-deal-teens-and-all-social-m...
2•panarky•5m ago•0 comments

Modernist Tiles with CSS Grid

https://www.carmenansio.com/articles/modernist-tiles-css-grid/
2•eustoria•7m ago•0 comments

Zitron: Have we reached Peak AI? (2024)

https://www.wheresyoured.at/peakai/
1•Jimmc414•8m ago•1 comments

I've Been Reading

https://antonyfb.com/blog/reading-straw-world.html
1•jruohonen•8m ago•0 comments

JavaScript / ECMAScript Internationalization (I18n)

https://www.jsi18n.com/
1•eustoria•10m ago•0 comments

Making my blog feel like other people are here

https://keith.is/post/playhtml-shared-header/
1•eustoria•10m ago•0 comments

Claude Fable 5.1 results on ARC-AGI

https://arcprize.org/results/anthropic-claude-fable-5-1
3•matt1•11m ago•0 comments

Aurem – ships real commits to your website from plain English, no coder needed

https://auremcto.com/
2•tjsandhu•12m ago•0 comments

A docs page is a long and complex search query to find AI agents

https://blog.val.town/aeo
3•stevekrouse•13m ago•0 comments

Pgwatch v6: dashboards reimagined, and a reaper that doesn't choke

https://www.cybertec-postgresql.com/en/pgwatch-v6-dashboards-reimagined-and-a-reaper-that-doesnt-...
1•blueshoess•13m ago•0 comments

Appletini: The Card for Everything [video]

https://www.youtube.com/watch?v=vyAJKuzkzYg
1•frizlab•14m ago•0 comments

I don't use a Computer [pdf]

https://classes.matthewjbrown.net/teaching-files/philtech/berry-computer.pdf
3•sashank_1509•19m ago•2 comments

UnitedHealthcare to drop prior authorization for range of conditions

https://www.reuters.com/legal/litigation/unitedhealthcare-drop-prior-authorization-requirements-r...
2•elo2000•19m ago•0 comments

Dark matter hunt takes unexpected turn after signal spotted in LZ detector

https://www.imperial.ac.uk/news/articles/natural-sciences/physics/2026/dark-matter-hunt-takes-une...
1•cisc•21m ago•0 comments

Show HN: HN Match Maker – Matching "Who Wants to Be Hired?" With "Who's Hiring?"

https://hnmatchmaker.com/
3•all2•23m ago•0 comments

Panzoe Technologies

https://panzoe.ai/
1•roper1225•27m ago•0 comments

India preparing rollout of agentic payments on UPI

https://www.reuters.com/world/india/india-preparing-rollout-agentic-payments-upi-sources-say-2026...
1•alephnerd•28m ago•0 comments

The Nerd Reich wants to destroy democracy, and its mask has slipped

https://www.abc.net.au/news/2026-09-02/the-nerd-reich-silicon-valley-fascism-war-on-democracy-abc...
16•phs318u•28m ago•3 comments

Meta's Addictive Design

https://www.bitsoffreedom.nl/en/2026/07/22/metas-addictive-design/
2•jruohonen•29m ago•0 comments

Russia helping Iran develop supersonic cruise missiles

https://www.ft.com/content/6cf367bc-95b0-4f1f-b149-a25684adefc3
3•doener•30m ago•1 comments

A PCB business card with a batteryless LED, powered by the phone that taps it

https://www.kevin.md/the-business-card-that-lights-up.md/
1•thekevintang•31m ago•0 comments

It's simple to buy Canadian with O SCANada

https://www.oscanadaapp.ca/
2•cf100clunk•32m ago•1 comments

10 AI Lessons from Driving 200M+ Fully Autonomous Miles

https://waymo.com/blog/2026/08/10ailessons/
2•bookofjoe•32m ago•0 comments

Cryptocurrency Sucks – In excruciating detail [pdf]

https://redacted.moe/f/5b697982.pdf
4•Cyclone_•33m ago•0 comments

California ban on 'addictive' social media for teens heads to Newsom

https://www.politico.com/news/2026/08/31/social-media-addictive-ban-newsom-01058241
2•1vuio0pswjnm7•34m ago•0 comments