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!

Amazon Zoox self-driving vehicle

https://zoox.com
1•daniel_iversen•2m ago•0 comments

From ZNC to Soju

https://susam.net/from-znc-to-soju.html
1•susam•4m ago•0 comments

Fundamental Theorem of Developing FLOSS

https://fedoraproject.org/wiki/User:Duffy/FundamentalTheoremOfDevelopingFLOSS
1•y1n0•10m ago•0 comments

Blame RMS for AI Coding

https://bit1993.bearblog.dev/blame-rms-for-ai-coding/
1•bit1993•12m ago•0 comments

AI Agents Are Recruiting Humans to Observe the Offline World

https://www.noemamag.com/ai-agents-are-recruiting-humans-to-observe-the-offline-world/
1•y1n0•12m ago•0 comments

The Annoying Usefulness of Emacs [video]

https://www.youtube.com/watch?v=DMbrNhx2zWQ
1•susam•13m ago•0 comments

The $500B Disruption: From LNG to Jet Fuel and the Cost of Hormuz

https://fvr07.substack.com/p/the-500b-disruption-from-lng-to-jet
1•onlypassingthru•18m ago•0 comments

"May the Force Be with You" Became a Cultural Phenomenon

https://nofilmschool.com/star-wars-may-the-force-be-with-you
1•vinhnx•21m ago•0 comments

Reb8Pay – Reduce Your Cross Border Fees and Expand

https://reb8pay.com
1•vednig•21m ago•0 comments

Show HN: Claude Code Release Tracker

https://ccwatch.net/
1•mdix•27m ago•0 comments

Warfare in Dune, Part II: The Fremen Jihad

https://acoup.blog/2026/03/13/collections-warfare-in-dune-part-ii-the-fremen-jihad/
2•Tomte•36m ago•0 comments

How I Use Claude to Run My Workday

https://aititus.com/content/How_I_Use_Claude_to_Run_My_Entire_Workday
1•titusblair•39m ago•0 comments

Claude, you are a cutie-pie

https://margaretatwood.substack.com/p/claude-you-are-a-cutie-pie
2•shervinafshar•40m ago•0 comments

50 Years of Thinking Different

https://www.apple.com/50-years-of-thinking-different/
1•itchingsphynx•45m ago•0 comments

Einstein Letter to the NY Times on Zionism (1948)

https://archive.org/details/AlbertEinsteinLetterToTheNewYorkTimes.December41948
2•fullautomation•52m ago•0 comments

Show HN: Chat Daddy – all your LLM chats in a super light terminal

https://lucianlabs.ca/blog/chat-daddy.html
1•elijahlucian•53m ago•0 comments

How to use storytelling to fit inline assembly into Rust

https://www.ralfj.de/blog/2026/03/13/inline-asm.html
1•vinhnx•1h ago•0 comments

Reinventing Python's AsyncIO

https://blog.baro.dev/p/reinventing-pythons-asyncio
3•vinhnx•1h ago•0 comments

I've taught people how to use AI – here's what I've learned

https://www.theguardian.com/lifeandstyle/ng-interactive/2026/mar/10/teaching-ai-what-i-learned
2•coloradoave22•1h ago•2 comments

Show HN: Ffetch v5 – TypeScript-first fetch client

https://www.npmjs.com/package/@fetchkit/ffetch
1•gkoos•1h ago•0 comments

Everyone within humanities can contribute to the study of AI

https://www.universiteitleiden.nl/en/news/2025/09/stephan-raaijmakers-everyone-within-humanities-...
1•teleforce•1h ago•0 comments

Ex-Windows chief praises MacBook Neo, laments Surface defeat

https://www.windowscentral.com/microsoft/ex-windows-chief-calls-macbook-neo-a-paradigm-shifting-c...
5•walterbell•1h ago•4 comments

Riva: Local-first observability for AI agents

https://github.com/sarkar-ai-taken/riva
1•sarkarsaurabh27•1h ago•1 comments

From CIA to CEO, Spies Step Out of the Shadows and into the Boardroom

https://www.bloomberg.com/news/features/2026-03-13/former-cia-spies-launch-defense-tech-startups-...
2•jbegley•1h ago•0 comments

Musk Says xAI Must Be Rebuilt as Co-Founders Exit

https://www.wsj.com/tech/musk-says-xai-must-be-rebuilt-as-co-founders-exit-47770dfa
1•1vuio0pswjnm7•1h ago•0 comments

Hegseth on CNN: 'The sooner David Ellison takes over that network, the better'

https://thehill.com/policy/defense/5782562-hegeseth-criticizes-cnn-iran/
2•KnuthIsGod•1h ago•0 comments

xAI Co-Founder Toby Pohlen Is Latest Executive to Depart

https://www.bloomberg.com/news/articles/2026-02-27/xai-co-founder-toby-pohlen-is-latest-executive...
2•1vuio0pswjnm7•1h ago•1 comments

Lawyers in landmark social media addiction trial make final appeals to the jury

https://apnews.com/article/meta-instagram-facebook-trial-social-media-addiction-0e99c9ba615942172...
5•1vuio0pswjnm7•1h ago•0 comments

Nasdaq Proposes New "Fast Entry" Rule for the Nasdaq-100 Index

https://www.ashurst.com/en/insights/nasdaq-proposes-new-fast-entry-rule-for-the-nasdaq-100-index/
1•walterbell•1h ago•0 comments

Tethyr Cloud: Open Agent discovery, zero vendor lock-in (AIdeas Semi-finalist)

https://builder.aws.com
1•walmsles•1h ago•1 comments