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!

List of Games Included with Windows

https://en.wikipedia.org/wiki/List_of_games_included_with_Windows
1•skibz•58s ago•0 comments

RDP to Your Mac

https://prordp.app
1•AndrewDucker•1m ago•0 comments

Microsoft Announces OneDrive CLI

https://www.neowin.net/news/microsoft-gives-onedrive-admins-a-new-command-line-tool/
1•bundie•3m ago•0 comments

Parano1d: Transparent Proof-Carrying State over Binary Tower Fields

https://zenodo.org/records/23485635
2•ignotusnemo•3m ago•0 comments

Lego Engineered the Perfect Plaything

https://thereader.mitpress.mit.edu/how-lego-engineered-the-perfect-plaything/
1•nadis•3m ago•0 comments

Cadence an open-source, on-device daily check-in for iOS

https://github.com/jaguero21/Cadence
1•carpebuilds•5m ago•0 comments

Show HN: A daily game where the goal is to be unpredictable to an LLM

https://notbotgame.com
1•onion92•6m ago•0 comments

ADLC: Judgment Must Move Upstream

https://sdtimes.com/agentic-development-life-cycle/adlc-why-judgment-must-move-upstream/
1•harisund1990•6m ago•0 comments

How the energy crisis could become a food security crisis

https://www.axios.com/2026/10/20/energy-crisis-food-security-crisis
2•toomuchtodo•6m ago•1 comments

Anthropic redesigned source-control for AI agents

https://www.anthropic.com/research/redesigning-source-control
2•Aelthorim•7m ago•1 comments

Everything Is Fake

https://www.patreon.com/merrittk/posts/everything-is-170652203
1•herbertl•9m ago•0 comments

How Intuitions Work

https://aeon.co/essays/sometimes-you-just-know-somethings-off-but-how
1•herbertl•10m ago•0 comments

Knowledge Comes at a Cost. What Are We Paying For?

https://katinamagazine.org/content/article/open-knowledge/2026/knowledge-comes-at-a-cost-what-are...
1•jruohonen•10m ago•0 comments

Par – A language bringing linear logic into practice

https://par.run/
1•vanyle•11m ago•0 comments

Prompt injection scanners should be positional, not phrasal

https://attest.rta.lat/article
1•vnutrivas•11m ago•0 comments

Cold starting a 32B model in 1.1s with GPU checkpoint/restore

https://numerata.com/blog/post-gpu-cold-start-checkpoint-restore
4•agcatalan•12m ago•0 comments

Mont Blanc, the 'Roof of Europe', Loses More Than a Metre of Height in a Year

https://www.theguardian.com/environment/2026/oct/14/mont-blanc-loses-metre-height
1•karakoram•12m ago•0 comments

TC Antony on the XERJ Corpus Hub

https://hub.xerj.org/contributors/antonyrag
1•antonyragleap•12m ago•0 comments

Meta tries to scapegoat staff who downloaded torrents to spare execs

https://arstechnica.com/tech-policy/2026/10/meta-ordered-to-name-execs-who-approved-torrenting-fo...
2•pseudolus•12m ago•0 comments

China mulls policies to accelerate smart manufacturing

https://english.www.gov.cn/news/202610/20/content_WS6ad76e83c6d00ca5f9a0dda6.html
1•embedding-shape•12m ago•0 comments

Surface Plasmon Resonance (SPR)

https://en.wikipedia.org/wiki/Surface_plasmon_resonance
1•peter_d_sherman•13m ago•0 comments

Compass Can't Sell Enough Homes, So It's Changing the Game

https://housingnotes.com/p/compass-cant-sell-enough-homes-so
1•speckx•13m ago•0 comments

Latest open artifacts (#25): DeepSeek v4.1 Flash 1017, American-made models

https://www.interconnects.ai/p/latest-open-artifacts-25-deepseek
1•pretext•14m ago•0 comments

CleanMyTV – An an Built from CleanYourTV

https://github.com/wingedpanther/cleanmytv
1•vivxek•14m ago•1 comments

Apple Commits $100M to U.S.-Made Titanium for iPhone Production

https://www.mbtmag.com/operations/news/22976838/apple-commits-100m-to-usmade-titanium-for-iphone-...
1•MC995•15m ago•0 comments

Qualcomm to cut jobs worldwide in performance-focused layoffs

https://www.reuters.com/business/qualcomm-cut-jobs-worldwide-performance-focused-layoffs-internal...
1•fork-bomber•15m ago•0 comments

HoDoKu Revisited – Classic Java Sudoku Solver Ported to PWA with AI Coaching

https://hodokurevisited.com
1•ntropey•16m ago•0 comments

StackRadar is now open source – Kubernetes SBoM vulnerability tracking

https://github.com/lockdep/stackradar
2•mariusjor•19m ago•0 comments

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
1•theanonymousone•20m ago•1 comments

Analytic non-axisymmetric 3D MHD equilibria without stellarator symmetry

https://arxiv.org/abs/2610.07304
1•simonpure•23m ago•0 comments