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: Npkill 1.0 – find and delete node_modules, .venv, target and more

https://github.com/voidcosmos/npkill
1•zaldih•18s ago•0 comments

Jensen Huang and Sex After AGI

https://medium.com/@joshbocanegra/jensen-huang-sex-after-agi-7990e96fb1c7
1•jbai•25s ago•0 comments

Danucore AI Infrastructure Engineers

https://www.danucore.com/join-us/ai-infrastructure-engineer
1•bryanmoyer•1m ago•0 comments

Nvidia's Disappearing Singapore Sales Deepen Mystery Around Megaspeed

https://www.wsj.com/business/earnings/nvidias-disappearing-singapore-sales-deepen-mystery-around-...
1•doener•1m ago•0 comments

Dailies

https://www.viewdailies.com
1•zarephcore•1m ago•0 comments

30 years of Internet transfers with curl

https://daniel.haxx.se/blog/2026/11/11/30-years-of-internet-transfers-with-curl/
2•lumpa•4m ago•0 comments

Show HN: AI Red Lines – write down what would make you act on AI

https://yourairedlines.com
2•ap11071•4m ago•0 comments

Running web sites makes me not want to

https://lowkey.party/running-web-sites-makes-me-not-want-to
2•speckx•5m ago•0 comments

Now it is our turn to study statistical mechanics

https://twitter.com/Math_files/status/2120540806490591679
2•delichon•8m ago•0 comments

Gen Z is Unbound [pdf]

https://www.electrictwin.com/gen-z-is-unbound.pdf
2•jjrbea9032e•9m ago•0 comments

PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released

https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/
2•plaur782•10m ago•0 comments

New Study Rewrites the Rules of the Blood-Brain Barrier

https://www.sciencealert.com/study-rewrites-the-rules-of-the-blood-brain-barrier-including-protei...
2•gmays•11m ago•0 comments

Don't build your own harness: lessons from building Paywalls AI Editor

https://www.revenuecat.com/blog/engineering/lessons-paywalls-ai-editor
2•azvaliev•11m ago•1 comments

Tell HN: I'm working on practical implementations of tag-based file organization

2•prmph•12m ago•0 comments

Writing with AI – Tales and Tips

https://www.juriopitz.com/2026/11/12/ai-assissted-writing-tales-and-tips.html
2•juopitz•14m ago•0 comments

Kazakhstan-linked hackers used AI agent to spy on Central Asian governments

https://therecord.media/kazakhstan-hackers-central-asia
2•waximabbax•15m ago•0 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
6•klaussilveira•16m ago•0 comments

Antibody-specific 65M model vs. general 650M model: a tie in the lab

https://www.cradle.bio/blog/fab-test
2•pranxxter•17m ago•0 comments

Simple 8085 Computer

https://www.hackster.io/mit41301/simple-8085-computer-9fe156
3•AlexeyBrin•17m ago•0 comments

Jensen Huang Resigns as Nvidia CEO After Affairs

https://www.nytimes.com/live/2026/11/12/business/nvidia-jensen-huang-resigns
9•speckx•18m ago•0 comments

Wikipedia: Musical scores are temporarily disabled due to a security issue

https://en.wikipedia.org/wiki/Help:Score
2•isolli•18m ago•0 comments

Show HN: Datatomcp – AI agents propose business definitions, a person approves

https://datatomcp.com/
3•Killian1603•18m ago•0 comments

Why I'm calling your contribution "slop"

https://lukeplant.me.uk/blog/posts/why-im-calling-your-contribution-slop/
3•lumpa•19m ago•0 comments

20 Years of Pyrolog

https://pypy.org/posts/2026/11/20-years-of-pyrolog.html
3•lumpa•20m ago•0 comments

Venture Is Dead (Again)

https://colossus.com/article/venture-is-dead-again/
3•rafaelc•20m ago•1 comments

Google Intelligent Eyewear

https://blog.google/innovation-and-ai/technology/xr-ar/google-intelligent-eyewear-collections-pre...
2•acossta•21m ago•0 comments

Elon Musk, Bill Ackman and online bots defend Jensen Huang online

https://www.washingtonpost.com/technology/2026/11/12/elon-musk-bill-ackman-online-bots-defend-jen...
5•reaperducer•22m ago•1 comments

Show HN: MacRun, dedicated Mac Minis you can rent by the day

https://macrun.dev
2•xoail•22m ago•0 comments

Talking Zen 6 with Mike Clark at AMD In-Depth

https://chipsandcheese.com/p/talking-zen-6-with-mike-clark-at
3•dverlaeckt80•23m ago•0 comments

What a week of Claude Code holds: the usage meter, per token type

https://atlas-ade.dev/docs/plan-usage-burn-data/
3•meekoAMH•23m ago•0 comments