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!

Show HN: Lord of the Maps

https://alanvillalobos.github.io/lord-of-the-maps/
1•alanvillalobos•1m ago•0 comments

California requires large companies to offer human customer support

https://arstechnica.com/tech-policy/2026/12/california-to-chatbot-weary-customers-starting-in-202...
1•jlund-molfese•3m ago•0 comments

Jensen Huang was granted access to US nuclear secrets

https://www.cnn.com/2026/12/03/politics/jensen-huang-high-level-security-clearance-2019
1•nreece•5m ago•0 comments

The Most Realistic Interactive Chemistry Lab Simulation UE5 [video]

https://www.youtube.com/shorts/2LA98oZz5mc
1•shroom1•5m ago•0 comments

What broke when I enabled PQC for Git and SSH

https://nordlenord.github.io/my-shared-notes/?id=f86ed9e6f4ac17225617717a5a14255f
1•tukHelix•7m ago•0 comments

Same 4.3B model, 21.66% to 95.84% schema compliance

https://huggingface.co/xeditai/laiaric-open
1•xeditai•9m ago•1 comments

Working as Intended – A pivotal moment in AI music creation?

https://www.youtube.com/watch?v=Z6_ENp_fO_Y
1•zmmmmm•10m ago•1 comments

'Like Being Friends with Your Drug Dealer': Inside AA for AI

https://www.wired.com/story/like-being-friends-with-your-drug-dealer-inside-aa-for-ai/
2•bookofjoe•13m ago•1 comments

OpenAI growth stalls, reigniting fears about the AI boom

https://www.latimes.com/business/story/2026-12-04/openai-growth-stalls-reigniting-fears-about-ai-...
4•gwu78•19m ago•0 comments

Terraform Industries market expansion strategy

https://roadmap.terraformindustries.com
2•pmcjones•21m ago•0 comments

Wall St has new name for dotcom-bubble-bursting playbook: 'The toothpaste rally'

https://fortune.com/2026/12/04/toothpaste-rally-consumer-staples-ai-selloff-buffett-indicator/
5•gwu78•25m ago•0 comments

SK Hynix drops plans for $45B chip factory in New York

https://www.reuters.com/business/media-telecom/sk-hynix-drops-45-billion-nand-factory-plan-upstat...
4•toomuchtodo•27m ago•0 comments

Learning in High Dimension Always Amounts to Extrapolation

https://arxiv.org/abs/2110.09485
2•ryan_j_naughton•27m ago•0 comments

Multi-large language model systems exhibit robust semantic collapse

https://www.nature.com/articles/s42256-026-01345-2
2•ryan_j_naughton•28m ago•0 comments

Your Ambition is your Agent's Bottleneck

https://twitter.com/addyosmani/status/2128026328871952420
3•saikatsg•28m ago•1 comments

ntc js (Name That Color JavaScript)

https://chir.ag/projects/ntc/
2•gregsadetsky•30m ago•0 comments

China fired satellite weapon at missile in unprecedented space test

https://www.reuters.com/world/china/china-fired-satellite-weapon-missile-unprecedented-space-test...
5•Element_•33m ago•1 comments

Bitcoin addresses dating back to the Satoshi era have moved 4,750 BTC

https://twitter.com/Polymarket/status/2128903743504629762
4•JDDunn9•36m ago•1 comments

Ravage and Ravish (2025)

https://www.thoughtco.com/ravage-and-ravish-1689602
2•petethomas•37m ago•0 comments

Chronos-3: Steering forecasts with natural language

https://www.amazon.science/blog/introducing-chronos-3-steering-forecasts-with-natural-language
2•pquerna•37m ago•0 comments

Bitcoin Tumbles Below $42,000 on AI-Driven Encryption Fears

https://www.bloomberg.com/news/articles/2026-12-04/bitcoin-slides-below-50-000-on-ai-driven-encry...
4•gwu78•39m ago•1 comments

Ask HN: How to post one Hacker News without getting flagged or banned?

1•rohityin•44m ago•2 comments

Offline Python Desktop Utilities for Local PII Scrubbing, DNS MX and SEO Audits

https://kesslerservices.gumroad.com/l/wfuwtg
2•kesslerservices•44m ago•0 comments

Nameless.is an AI

2•Nitish-Goel•44m ago•0 comments

UBS: 3,302 billionaires now hold almost $20T wealth

https://www.ubs.com/global/en/media/display-page-ndp/en-20261203-bar26.html
6•hliyan•48m ago•5 comments

Show HN: Rust Commander

https://github.com/hbbio/rc
3•hbbio•51m ago•0 comments

Forge v2.0: Cluster-Scale Agentic RL Systems and Algorithms Behind MiniMax M4

https://huggingface.co/blog/MiniMaxAI/forge-v2
2•dcu•54m ago•0 comments

/visualize Turn a prompt into an interactive visual explainer

https://github.com/Aaryan1524/Visualize
3•aaryangajula18•57m ago•0 comments

Show HN: Genas – Dated, Base-anchored records of public A2A agent cards

https://genas.io/
1•mcpstation•58m ago•0 comments

YT Keys for Streaming Keyboard Shortcuts for Netflix and Prime Video

https://l.meta.ai/?u=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2Faddon%2Fyt-keys-for-str...
1•bhuvanshom•1h ago•0 comments