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

I knew my writing students used AI. Their confessions led to a teaching moment

https://www.theguardian.com/us-news/ng-interactive/2026/may/10/fiction-writing-professor-ai
1•Michelangelo11•48s ago•0 comments

Make Claude Code Sing

https://github.com/harajlim/vibe-sing
1•mharajli•1m ago•1 comments

Preserving Fisher-Price Pixter

https://dmitry.gr/?r=05.Projects&proj=37.%20Pixter
1•dmitrygr•2m ago•0 comments

Self

https://en.wikipedia.org/wiki/Self_(programming_language)
1•tosh•2m ago•0 comments

Why Attitudes Towards Intelligence Matter in Universities

1•AroosaKhalil•4m ago•0 comments

Strong Views on PostgreSQL VIEWs

https://boringsql.com/posts/strong-views/
1•radimm•5m ago•0 comments

Five years before I saw Smalltalk

https://lists.selflanguage.org/pipermail/self-interest/2020-November/004777.html
1•tosh•9m ago•0 comments

Agent Patterns for AI Agent Development

https://agentpatterns.ai/
1•ankitg12•10m ago•0 comments

AI Agents Have Two Souls. You Only Control One

https://auth0.com/blog/ai-agents-have-two-souls-you-control-only-one/
1•andychiare•12m ago•0 comments

Mythos Finds a Curl Vulnerability

https://daniel.haxx.se/blog/2026/05/11/mythos-finds-a-curl-vulnerability/
2•TangerineDream•15m ago•0 comments

The 1,001 Days of the Turkey

1•DIGITALIGENCE•16m ago•0 comments

Software Development Is Becoming a Factory Job

https://www.vincentschmalbach.com/software-development-is-becoming-a-factory-job/
2•vincent_s•18m ago•0 comments

Predictions about AI and software development

https://adamfletcher.com/writing/10-ai-predication-may-2026/
3•afletcher•21m ago•0 comments

Spec-Driven Development with Spec Kit and Claude Code

https://medium.com/vibecodingpub/spec-driven-development-with-spec-kit-and-claude-code-7e2957fd2c9b
2•SaeedZF•21m ago•0 comments

South Park Theme Song Remix

https://www.youtube.com/watch?v=GWmU7tW_0RQ
2•ninjahawk1•27m ago•0 comments

Donald Trump Buffalo

https://www.youtube.com/watch?v=yezUKYJpzZ8
1•riasatsk•27m ago•0 comments

Best Sugar Daddy Apps and Dating Sites of 2026

https://bestsugardaddyapps.com/
1•hankerapp•29m ago•0 comments

Biblio, a 3D bookshelf app, organise your ePub files, PDFs, or physical book

https://biblio.ink/
1•perthz•32m ago•1 comments

Resilience Engineering Papers

https://github.com/lorin/resilience-engineering
1•azhenley•33m ago•0 comments

Garry Tan's GBrain – most important idea of the year

https://twitter.com/garrytan/status/2053127519872614419
2•oger•35m ago•1 comments

Fighting Hyrum's Law in LLVM

https://maskray.me/blog/2026-05-10-fighting-hyrums-law-in-llvm
1•ingve•36m ago•0 comments

Report shows banned non-fiction books doubled over last school year in US

https://www.theguardian.com/books/2026/may/07/banned-non-fiction-books-doubles
1•doener•37m ago•0 comments

I built a Gmail cleaner that runs automatically every Monday

https://inboxclean.email
1•festivilia•38m ago•0 comments

Segue – An illustrated free vocabulary builder

https://segue.app
1•stoicfungi•45m ago•0 comments

State aware AI agent shitfest – with rules – that helps move code

https://github.com/hghallTAZ/THE_ROOM
2•hghall•51m ago•0 comments

Reimplement GitHub for Agents

https://github.com/ngaut/agent-git-service
1•ngaut•57m ago•0 comments

Designing the Right PostgreSQL Index Using Query Plans and Statistics

https://beh74.github.io/pgassistant-blog/post/query_advisor/
1•bertrandhartwig•57m ago•0 comments

Up to 256 MB FERRIT modular F-RAM storage preserves data up to 200 years

https://www.cnx-software.com/2026/05/11/up-to-256-mb-ferrit-modular-f-ram-storage-device-preserve...
3•jandeboevrie•1h ago•0 comments

Everest 2026: The Critical Logistics of the Golden Window When to Go

https://www.wfy24.com/en/article/everest-2026-golden-window-dead-zone-survival-guide
2•weatherfun•1h ago•0 comments

The Firmbyte Gap: Why the Most Valuable Connections Never Happen

https://bjro.dev/posts/the-firmbyte-gap/
2•rapnie•1h ago•0 comments