frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo 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!

B2alpha

https://b2alpha.io/
1•21J3phy•56s ago•0 comments

Elastic Tabstops (2006)

https://nick-gravgaard.com/elastic-tabstops/
1•birdculture•2m ago•1 comments

AI Job Loss Tracker

https://jobloss.ai/
1•gnabgib•3m ago•0 comments

We Are All Constantly Mutating – and That's a Good Thing

https://www.newyorker.com/magazine/2026/04/13/beyond-inheritance-roxanne-khamsi-book-review
1•mitchbob•22m ago•1 comments

More than 12 tons of KitKat's 'new chocolate range' stolen in Italy

https://www.theguardian.com/world/2026/mar/28/kitkat-stolen-italy-f1-bar
1•wslh•23m ago•0 comments

Artemis II Astronauts Back in Houston, Reunite with Families

https://www.nasa.gov/blogs/missions/2026/04/11/artemis-ii-astronauts-back-in-houston-reunite-with...
1•salkahfi•31m ago•0 comments

Curated Costa Rica: The Best Tailor-Made Experiences for Every Type of Traveller

https://johnquam.substack.com/p/curated-costa-rica-the-best-tailor
1•headmonkey•31m ago•1 comments

Unified Perception Engine: never render more than humans can see (public domain)

https://github.com/warofwar2011-dev/unified-perception-engine
1•Mars2011•35m ago•0 comments

The Enigma of Gertrude Stein

https://www.thenation.com/article/culture/gertrude-stein-afterlife-wade-review/
2•samclemens•43m ago•0 comments

Midnight Captain – A midnight commander inspired file manager

https://github.com/duguyue100/midnight-captain
3•duguyue100•44m ago•2 comments

Hackers meet match: New DNA encryption protects engineered cells from within

https://phys.org/news/2026-04-hackers-dna-encryption-cells.html
2•pseudolus•48m ago•0 comments

High-Level Rust: Getting 80% of the Benefits with 20% of the Pain

https://hamy.xyz/blog/2026-01_high-level-rust
2•maxloh•51m ago•0 comments

Show HN: I benchmarked MCP vs. CLI for browser automation. MCP wins by 25x

https://github.com/HKUDS/CLI-Anything/pull/212
1•Achiyacohen•52m ago•1 comments

"MongoDB is web scale" (Throwback 2010 XtraNormal clip) [video]

https://www.youtube.com/watch?v=b2F-DItXtZs
2•chirau•53m ago•1 comments

Aero and Y2K Webring

https://frutigeraeroarchive.org/aero_webring
2•jack-bodine•55m ago•0 comments

YuanLey YS100-0602T Review a Cheap 8-Port 10GbE Switch

https://www.servethehome.com/yuanley-ys100-0602t-review-a-cheap-8-port-10gbe-switch/
2•teleforce•58m ago•0 comments

Building a Homebrew Computer Like it's 1995 [video]

https://www.youtube.com/watch?v=FVH6_0GlLNc
1•st_goliath•59m ago•0 comments

He Helped Stop Iran from Getting the Bomb

https://www.newyorker.com/magazine/2026/04/06/he-helped-stop-iran-from-getting-the-bomb
3•posthumangr•1h ago•2 comments

USB/IP Project: a general USB device sharing system over IP network

https://usbip.sourceforge.net/
2•ValentineC•1h ago•0 comments

PBS Nova: Terror in Space (1998)

https://www.pbs.org/wgbh/nova/mir/
1•opengrass•1h ago•0 comments

Show HN: I visualized Wasteland as an RTS game

https://gascraft.ai
2•dnewcome•1h ago•1 comments

React-Debug-Updates

https://github.com/pie6k/react-debug-updates
2•handfuloflight•1h ago•0 comments

No Acquittal for Storm Today

https://www.therage.co/roman-storm-acquittal-2/
2•Cider9986•1h ago•1 comments

Hungary 2026 – Chat with 1k AI-simulated voters before the election

https://hungary2026.populon.ai
1•Mert_Predicts•1h ago•0 comments

Hero rat who sniffed out over 100 land mines is honored with giant statue

https://www.washingtonpost.com/lifestyle/2026/04/08/rat-cambodia-statue-land-mines-magawa/
3•paulpauper•1h ago•1 comments

A Brief History of Lab Notebooks

https://www.asimov.press/p/lab-notebooks
6•paulpauper•1h ago•0 comments

Apple Sued by Three YouTube Channels

https://www.macrumors.com/2026/04/06/apple-sued-by-three-youtube-channels/
6•gnabgib•1h ago•3 comments

Forecasting the economic effects of AI

https://forecastingresearch.substack.com/p/forecasting-the-economic-effects-of-ai
2•hhs•1h ago•0 comments

New WHO database helps countries turn health data into better policy

https://www.who.int/europe/news/item/08-04-2026-new-who-database-helps-countries-turn-health-data...
2•gnabgib•1h ago•0 comments

Predict-Rlm: The LLM Runtime That Lets Models Write Their Own Control Flow

https://repo-explainer.com/Trampoline-AI/predict-rlm
1•handfuloflight•1h ago•0 comments