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

Tech Exec Accused of Smuggling Nvidia Chips to China Resigns from Board

https://www.wsj.com/tech/super-micro-computer-employees-arrested-for-alleged-sales-to-china-45a2bd73
2•fortran77•4m ago•1 comments

My heuristics are wrong. What now?

https://brooker.co.za/blog/2026/03/20/ic-leadership.html
1•vinhnx•5m ago•0 comments

Why I'm Not Worried About Running Out of Work in the Age of AI

https://kellblog.com/2026/03/19/why-im-not-worried-about-running-out-of-work-in-the-age-of-ai/
1•0bytematt•12m ago•0 comments

You're likely infected with a brain-eating virus you've never heard of

https://arstechnica.com/health/2026/03/youre-likely-already-infected-with-a-brain-eating-virus-yo...
1•jnord•15m ago•0 comments

San Francisco jury finds Elon Musk defrauded Twitter investors during takeover

https://www.courthousenews.com/san-francisco-jury-finds-elon-musk-defrauded-twitter-investors-dur...
3•jnord•16m ago•0 comments

Netryx: Open-Source Street-Level Geolocation Engine

https://github.com/sparkyniner/Netryx-OpenSource-Next-Gen-Street-Level-Geolocation
2•homarp•22m ago•1 comments

China doesn't want you to know about Operation Yellowbird

https://www.washingtonpost.com/opinions/2026/03/20/alysa-liu-olympics-arthur-tiananmen-square-china/
2•MilnerRoute•22m ago•2 comments

Musk on Mars

https://mceglowski.substack.com/p/musk-on-mars
1•adamwk•23m ago•0 comments

American heresy: should Peter Thiel be burned at the stake?

https://www.notion.so/American-heresy-should-Peter-Thiel-be-burned-at-the-stake-3274ac94ca0580d7b...
2•cratermoon•25m ago•0 comments

Snakes' ability to stand upright could inform soft robotics: study

https://seas.harvard.edu/news/snakes-plane
2•hhs•30m ago•0 comments

Fourth Amendment Law by Analogy

https://www.lawfaremedia.org/article/fourth-amendment-law-by-analogy
1•hn_acker•32m ago•0 comments

Bun vs. Node.js Performance: Why Your Event Loop Is the Real Bottleneck

https://howtocenterdiv.com/beyond-the-div/bun-is-fast-your-event-loop-is-not
1•imkyssa•32m ago•1 comments

Rewebly – Redesign any websites in seconds

https://rewebly.com
1•xavier_ber•33m ago•0 comments

How the Iran war threatens global food supply

https://www.npr.org/2026/03/20/nx-s1-5750812/how-the-iran-war-threatens-global-food-supply
13•kaycebasques•35m ago•0 comments

When Amazon and JD.com lock horns, it's shoppers that win

https://www.ft.com/content/c90aee36-1d5e-4a44-bc83-51f244ccd056
2•hhs•35m ago•0 comments

Fluux Messenger 0.14.0 – A Modern Cross Platform XMPP Client (TypeScript)

https://www.process-one.net/blog/fluux-messenger-0-14-0/
2•neustradamus•36m ago•0 comments

Tech Billionaires Renege on Giving Pledge

https://www.nytimes.com/2026/03/15/business/the-billionaire-backlash-against-a-philanthropic-drea...
1•theahura•36m ago•1 comments

Red kite with sausage roll snapped by photographer

https://www.bbc.com/news/articles/cx2g290ve2vo
3•mooreds•37m ago•0 comments

Weight-loss treatment is on the verge of a dramatic shift – again

https://www.cnn.com/2026/03/19/health/weight-loss-drugs-glp-1
2•mooreds•37m ago•0 comments

Another sodium-ion EV battery emerges in China with 4C fast charging in 11 mins

https://electrek.co/2026/03/20/sodium-ion-ev-battery-breakthrough-achieves-11-min-fast-charging/
1•breve•37m ago•0 comments

Cardea was the ancient Roman goddess of the hinge

https://en.wikipedia.org/wiki/Cardea
1•mooreds•37m ago•0 comments

We Crawled 479 Pages to Find What AI Platforms Cite – It's Not What SEO Says

https://aiplusautomation.com/blog/what-ai-platforms-actually-cite
2•anthonylee991•38m ago•0 comments

LibreOffice's native format ODF Python library, odfpy, is abandoned

https://github.com/eea/odfpy/issues/123
1•nogajun•39m ago•0 comments

Open Source becomes standard in Germany's Administration

https://www.heise.de/en/news/Administration-Open-Source-becomes-standard-11219712.html
2•doener•39m ago•0 comments

MacBook Neo, best repairability score in years, still 6/10

https://www.ifixit.com/News/116152/macbook-neo-is-the-most-repairable-macbook-in-14-years
2•hackerBanana•41m ago•0 comments

Cyberattack leaves drivers with breathalyzer systems unable to start vehicles

https://wgme.com/news/local/cyberattack-leaves-maine-drivers-with-breathalyzer-test-systems-unabl...
1•iamnothere•41m ago•0 comments

Show HN: Coding vs. Learning with LLMs

https://substack.com/@bxrne/p-191061382
1•bxrne•41m ago•0 comments

Elon Musk misled Twitter investors, jury finds

https://www.bbc.co.uk/news/articles/c62j3yl842eo
7•ColinWright•42m ago•0 comments

Google Keep Is Down

https://downdetector.com/status/google-keep/
2•ortusdux•46m ago•0 comments

For Banksy, crime does actually pay

https://www.nationalreview.com/2026/03/for-banksy-crime-does-actually-pay/
1•hhs•46m ago•0 comments