frontpage.
newsnewestaskshowjobs

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!

Dxui – A declarative desktop GUI framework for Go, without cgo

https://github.com/dxui-org/dxui
1•truda•35s ago•0 comments

Hugging Face attack: "This might be the clearest warning shot we ever get" [video]

https://www.youtube.com/watch?v=X50zezLFWWI
1•looofooo0•1m ago•0 comments

Eight language models and the 2026 Berlin state election

https://wahl.ksmn.dev/en/
2•hemartin•1m ago•0 comments

Cassette-shaped MP3 player meant to be played on tape decks [video]

https://www.youtube.com/watch?v=otXrFBq0HWQ
1•eps•2m ago•0 comments

FeatureMap – map your product's features

https://github.com/yonathan06/featuremap
1•yonatan06•2m ago•0 comments

Why dynamic balance matters at 1200M/min

1•AmyraZhao•3m ago•0 comments

Gyazo screen capture tool confirms data breach

https://updates.gyazo.com/notice-and-apology-regarding-a-data-breach-resulting-from-unauthorized-...
1•2sf5•5m ago•0 comments

What to Read to Stay Grounded Amidst AI Doomerism

https://buttondown.com/maiht3k/archive/what-to-read-to-stay-grounded-amidst-ai-doomerism/
1•james_mir•9m ago•0 comments

The Entity Service Antipattern

https://www.michaelnygard.com/blog/2017/12/the-entity-service-antipattern/
1•simianwords•13m ago•0 comments

One AWS Bill Went from Almost $8k a Month Toward $6k

https://greenops.cloud/blog/blog-cost-drop-8k-to-6k
1•depidsvy•15m ago•0 comments

Has World War III Already Started?

https://www.nytimes.com/2026/08/25/opinion/has-world-war-iii-already-started.html
2•Alien1Being•15m ago•0 comments

Targeting 25 years of Windows with Visual Studio 2019

https://building.enlyze.com/posts/targeting-25-years-of-windows-with-visual-studio-2019/
1•birdculture•16m ago•0 comments

The Cost of AI Is Now My Main Blocker

https://www.vincentschmalbach.com/cost-of-ai-is-now-my-main-blocker/
1•vincent_s•18m ago•0 comments

BuiltByVibe – Directory of vibe-coded apps with a free MCP server

https://builtbyvibe.dev/
1•notevenbuttery•21m ago•0 comments

Altman, Huang: "trust me; gonna b fine"; Sanders: "AI more dangerous than nukes"

https://garymarcus.substack.com/p/sam-altman-says-trust-me-jensen-huang
3•mdp2021•23m ago•2 comments

Fermi.gg – Daily game based on the "Fermi estimation" technique

https://fermi.gg
1•epaga•28m ago•0 comments

Everything Feels Fake – Here's Why: The Power Elite Playbook [video]

https://www.youtube.com/watch?v=P33-rjgOXzg
1•enemyz0r•33m ago•0 comments

How to Unslop a Commit?

1•blackbit•37m ago•0 comments

Plain Text Sports

https://plaintextsports.com/
1•tosh•38m ago•1 comments

ProductFight – Productfight.lol

2•thegeekybaniya•38m ago•0 comments

Ask HN: What do your agents do?

1•exyo•38m ago•0 comments

New wild cat species discovered – with only one known living member

https://www.bbc.com/news/articles/c6x2zgv9rr4ro
1•drgo•39m ago•0 comments

The Filename`IBHashImageName` Breaks iOS[video]

https://www.youtube.com/watch?v=Dt4o7hz0B60
1•sharma-arjun•42m ago•0 comments

The Front Page of the Internet Is Up for Grabs

https://idiallo.com/byte-size/the-front-page-of-the-internet
1•garo-pro•42m ago•0 comments

VIPR RNA-guided DNA recognition by noncontiguous geometric triplex formation

https://www.science.org/doi/10.1126/science.aei3472
1•gone35•43m ago•0 comments

Cloudron 10 – A decade of self-hosting

https://blog.cloudron.io/cloudron-10-a-decade-of-self-hosting/
2•gramakri2•46m ago•0 comments

Why Beyond Just RAG?

https://medium.com/@NikoZero11/your-rag-pipeline-doesnt-need-more-retrieval-it-needs-better-decis...
1•Savanjj•47m ago•0 comments

She's Leaving Me Because I Never Called Her Beautiful

https://etechx.co.ke/shes-leaving-me-because-i-never-called-her-beautiful
1•jameszx•47m ago•0 comments

Sometimes, It Takes Too Long Before the Sun Rises

https://etechx.co.ke/sometimes-it-takes-too-long-before-the-sun-rises
1•jameszx•47m ago•0 comments

Open Source / ClosedSource / ClaudeSource?

1•mtnielsendk•52m ago•0 comments