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!

Fire and Ice Copper Lists

http://uridiumauthor.blogspot.com/2026/06/fire-and-ice-copper-lists.html
1•ingve•46s ago•0 comments

Headroom – The context compression layer for AI agents

https://github.com/headroomlabs-ai/headroom
1•sibellavia•1m ago•0 comments

Compressing floating point data with Gorilla

https://quanttype.net/p/compressing-with-gorilla/
1•tosh•1m ago•0 comments

Best of AI

https://bestofai.io/leaderboard/
2•thenewedrock•3m ago•0 comments

Ask HN: What rules does your team have for using AI in a durable codebase?

1•ctenb•5m ago•0 comments

LinkedIn engagement/signals to sales qualified leads

https://folkscope.com
1•teemupp•6m ago•0 comments

GeneralVLA-2

https://aigeeksgroup.github.io/GeneralVLA-2/
1•ilreb•7m ago•0 comments

Doing a masters while working in Spain

https://jan-herlyn.com/blog/doing-a-masters-while-working/
1•MHard•7m ago•0 comments

Mullvad to China: Block This. We Dare You

https://michael-dev-tech.github.io/Website/mullvad.html
1•f0r3st•7m ago•0 comments

SpatialAvatar-0: High-Quality 4D Head Avatar with Multi-Stage Reconstruction

https://spatialwalk.github.io/SpatialAvatar-0/
1•ilreb•10m ago•0 comments

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
20•vantareed•21m ago•3 comments

Investors get real-time view of UK bond market activity for the first time

https://www.fca.org.uk/news/press-releases/investors-get-real-time-view-uk-bond-market-activity-f...
1•monkeydust•22m ago•0 comments

Beyond Clicking and Shell Commands: API-Native Computer Control

https://carsondb.github.io/blog/2026-06-api-native/
1•CarsonWu•23m ago•0 comments

Ask HN: Two specific Postgres encrypt questions

1•scrubs•26m ago•1 comments

Tronsec – free open-source TRON wallet and contract security scanner

https://tronsec.io/
1•jamejohns•27m ago•0 comments

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
22•ritzaco•29m ago•6 comments

Chesterton's Middle Finger

https://www.arp242.net/chestersons-finger.html
3•rkta•30m ago•0 comments

Climate Change Stings Beekeepers

https://www.thestar.com.my/aseanplus/aseanplus-news/2026/06/15/climate-change-stings-beekeepers
2•hasudon7171•31m ago•1 comments

UK Rape Gang Inquiry Report

https://rapeganginquiry.co.uk/report
1•thelastgallon•32m ago•0 comments

Should I change my writing style to shorts, because of AI/low attention span?

https://www.ssp.sh/brain/should-i-change-my-writing-because-of-ai/
2•zazuke•36m ago•0 comments

On the Skin-Furrows of the Hand (1880) [pdf]

https://galton.org/fingerprints/faulds-1880-nature-furrows.pdf
1•pncnmnp•37m ago•1 comments

Horsewood Reviews Reddit Is It a Breakthrough or Just Marketing?

https://finance.yahoo.com/sectors/healthcare/articles/horsewood-urgent-report-2026-horse-19110038...
1•gabukalo•41m ago•0 comments

Show HN: Posting Machine – two of us running LinkedIn for 20 B2B founders

https://www.postingmachine.ai
1•_mad_eye_•43m ago•0 comments

P99 0ms* autocomplete for 240M domain names

https://ruurtjan.com/articles/p99-0ms-autocomplete-for-240-million-domain-names
5•pul•47m ago•1 comments

If You're Searching for a New Skillet, Consider Stainless Steel

https://www.wired.com/story/stainless-steel-skillets-are-great/
2•joozio•48m ago•1 comments

Bain tests software takeover targets by vibecoding AI replicas

https://www.ft.com/content/e5bac4d1-b1f8-43a4-bd54-b182d5357af0
1•Timofeibu•49m ago•0 comments

Why More Cores Stopped Saving Us

https://www.jonathanbeard.io/blog/2026/06/19/more-cores-stopped-saving-us.html
1•ingve•51m ago•0 comments

Ask HN: Can't Create an Account

2•retired•52m ago•0 comments

Why the iPhone Will Fail (2007)

https://www.engadget.com/2007-06-27-why-the-iphone-will-fail.html
2•chistev•53m ago•0 comments

Why an AI company cleaned my New York City apartment for free

https://www.bbc.co.uk/news/articles/cpwerjy20kyo
1•vinni2•53m ago•0 comments