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

Turned ArXiv into an AI-Agent-Friendly Interface (No Browser Vision Needed)

https://mediause.dev/skills/arxiv
1•yooibox•4m ago•0 comments

Temporal Primer – Building Long-Running Systems

https://arpitbhayani.me/blogs/temporal-primer/
1•BugsBunnyCodes•6m ago•0 comments

The Database Zoo: Exotic Data Storage Engines

https://blog.gaborkoos.com/posts/2025-09-19-The-Database-Zoo-Exotic-Data-Storage-Engines/
1•theanonymousone•9m ago•0 comments

Please stop talking about Gen Z in the office

https://www.ft.com/content/ff49b595-b5ed-4be9-8cb1-1522b7086b28
1•rustoo•12m ago•0 comments

Documenting my immigrant founder's journey in the Bay Area

https://iamandrespalacios.substack.com/p/series-eh-a-founders-journey
1•andres-palacios•15m ago•0 comments

Elon Musk is going all-in on an unproven technology

https://economist.com/briefing/2026/05/21/elon-musk-is-going-all-in-on-an-unproven-technology
2•andsoitis•18m ago•0 comments

Delivery Hero confirms takeover offer from Uber

https://www.reuters.com/business/delivery-hero-confirms-takeover-offer-uber-2026-05-23/
3•thm•39m ago•0 comments

Seeking a Language in Mathematics 1523-1571

https://tyndale.org/journals/reformj01/bmarsden.html
2•jruohonen•41m ago•1 comments

Show HN: Logo Fonts

https://logofonts.surge.sh/
2•stagas•48m ago•0 comments

Why Every IKEA Product Has a Weird Name [video]

https://www.youtube.com/watch?v=c89T2snPvNo
3•vinhnx•54m ago•0 comments

Meta's Claudeonomics leaderboard

https://www.indiatoday.in/technology/news/story/meta-shuts-down-internal-claudeonomics-ai-tool-af...
3•phront•59m ago•0 comments

I tracked down the thief who stole $200k of Lego [video]

https://www.youtube.com/watch?v=wscQpkcwgNU
2•pinkmuffinere•1h ago•1 comments

Limerick

https://www.worldwidewords.org/surprise.html
3•jruohonen•1h ago•0 comments

We Were Wrong About Fasting Study Finds

https://www.sciencealert.com/we-were-wrong-about-fasting-massive-study-finds
3•mikhael•1h ago•0 comments

C Constructs That Still Don't Work in C++ – and a Few That Changed

https://lospino.so/blog/c-constructs-that-still-dont-work-in-cpp/
2•jandeboevrie•1h ago•0 comments

A Data Mining Adventure into the World of Lichess Puzzle Database

https://lichess.org/@/heroku/blog/how-many-different-backrank-mates-are-there/gSUlcRkl
3•heroku•1h ago•0 comments

The Verification Problem (On OpenAI's Erdős Disproof)

https://korbonits.com/blog/2026-05-23-the-verification-problem/
2•korbonits•1h ago•0 comments

AI Can Do Anything

https://clawdcursor.com
3•AmDab•1h ago•0 comments

Does bulk memmove speed up std:remove_if? (No.)

https://quuxplusone.github.io/blog/2026/05/23/chunked-remove/
2•jandeboevrie•1h ago•0 comments

European Data Centers Reuse Waste Heat to Heat Homes

https://letsdatascience.com/news/european-data-centers-reuse-waste-heat-to-heat-homes-48086eeb
1•GeorgeWoff25•1h ago•0 comments

How to Call an API from an Email

https://redo.com/eng-blog/how-to-call-an-api-from-an-email/
3•crcastle•1h ago•0 comments

"Long-Term Support" doesn't mean what you think

https://pointieststick.com/2026/05/23/long-term-support-doesnt-mean-what-you-think/
3•jandeboevrie•1h ago•0 comments

2of3: Enter a secret. Get 3 cards

https://2of3.ente.com
3•anandbaburajan•1h ago•0 comments

SpaceX, OpenAI and Anthropic IPOs set to test limits of AI boom

https://www.ft.com/content/ae9bb47d-bd1d-473c-b4c5-abae0420cc12
1•1vuio0pswjnm7•1h ago•1 comments

Dark trades' risk destroying London's stock markets

https://www.thetimes.com/business/companies-markets/article/dark-trades-risk-destroying-stock-mar...
3•petethomas•1h ago•0 comments

BNoise – The Easiest Music Maker

https://bnoise.pages.dev/
3•telui•1h ago•1 comments

Hacker Typer – Hacker Screen

https://startuplaunchpage.com/hacker-typer
2•vnyarongi•1h ago•0 comments

Reddit stock drops almost 6%, Meta launches standalone app for online forums

https://www.cnbc.com/2026/05/22/reddit-stock-drops-after-meta-launches-forum-app.html
10•1vuio0pswjnm7•1h ago•1 comments

Cleaning Station

https://en.wikipedia.org/wiki/Cleaning_station
3•pvillano•1h ago•1 comments

The phrase "taste is the differentiator" is not beneficial

https://hazn.com/please-stop-repeating-is-the-differentiator
2•hazn•1h ago•0 comments