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!

Who Believes in an Afterlife?

https://pudding.cool/2026/10/lifeafter/
1•usrme•16s ago•0 comments

Autonomous AI Agent Security Incidents of 2026 (Dataset and Defense Harness)

https://github.com/mars2021y-gif/autonomous-ai-agent-security-incidents-2026
1•doletskyisergey•46s ago•0 comments

Something Is Wrong at OpenAI

https://www.vincentschmalbach.com/something-wrong-at-openai/
1•vincent_s•6m ago•0 comments

Russia Plague Tracker

https://plague.somethingbig.ai/
1•ilreb•7m ago•0 comments

Japan's entertainment robots diversify with AI, offer comfort

https://mainichi.jp/english/articles/20261003/p2g/00m/0li/002000c
1•BaudouinVH•10m ago•0 comments

Security researcher claims they found KVM guest-host escape flaw

https://www.theregister.com/offbeat/2026/10/06/security-researcher-claims-they-found-kvm-guest-ho...
1•fork-bomber•16m ago•0 comments

MPs call for investigation after Lutnick-Epstein whistleblower dies

https://www.bbc.co.uk/news/articles/cwm2686gl6kno
3•sieste•23m ago•0 comments

KCoral: Lightweight Benchmark Server for Agentic GPU Programming

https://blog.mlc.ai/2026/10/05/kcoral-lightweight-benchmark-server-for-agentic-gpu-programming
1•matt_d•24m ago•0 comments

Plainserp – Google search API for AI agents at $0.30 per 1k

https://plainserp.com
1•mohamed_sheikhh•26m ago•0 comments

What on Earth are you dooming about?

https://world.hey.com/dhh/what-on-earth-are-you-dooming-about-386cc1da
2•meltmymind•27m ago•1 comments

Post Trump doesnt want you to see: Fly Dubai attacker Al Qaeda links

https://www.youtube.com/watch?v=xfBSCQ4a2CQ
1•mark336•29m ago•0 comments

I'm Calling for a Pause in the Development of the Universal Bone Dissolver

https://www.theatlantic.com/newsletters/2026/10/ai-slowdown-bone-dissolver/688854
1•unddoch•30m ago•0 comments

11982 books banned in public schools, 2025-26 school year

https://pen.org/report/book-bans-spotlight-2026/
1•brnt•35m ago•0 comments

Wattle AI – an AI receptionist that answers and books calls for small businesses

https://heywattle.com
1•christopher8827•41m ago•0 comments

Quest to Offer Roche's FDA-Cleared PTau217 Alzheimer's Blood Test

https://ir.questdiagnostics.com/press-releases/press-release-details/2026/Quest-Diagnostics-to-Of...
2•kamaraju•42m ago•0 comments

Online Results

1•bella786•44m ago•0 comments

Decrypting iOS 1.0 (2007) from Android/Termux

https://gist.github.com/bouhafara-bot/10ed249b1005d61397a621621edf4892
1•bouhafarabot•48m ago•0 comments

GTA 5 Ported to WASM

https://twitter.com/4k_isn/status/2107314678347239665
3•astlouis44•49m ago•0 comments

Betting Against the Everything Company

https://faingezicht.com/articles/2026/10/06/against-the-everything-company/
2•ilreb•50m ago•0 comments

Almost half of China's workforce is now in the gig economy

https://www.abc.net.au/news/2026-10-06/inside-the-life-of-chinese-gig-workers/107209244
3•theteapot•53m ago•0 comments

Ask HN: What brings you back to personal AI agents like Instinct and Muse?

1•sdrth•54m ago•0 comments

Running Qwen Flash Next Q4 on a Mac Mini

https://freshworktree.com/run-qwen-flash-next-q4-on-a-mac-mini-360-tks-read-in-17-5-tks-decode/
1•skeggsguy•54m ago•0 comments

High school student develops membrane-free filter for microplastics from water

https://www.techspot.com/news/111799-high-school-student-develops-membrane-free-filter-removes.html
2•dkga•54m ago•0 comments

BlackCore's Influence Operations for Hire

https://citizenlab.ca/research/blackcores-influence-operations-for-hire/
2•hettygreen•59m ago•0 comments

Jeffrey Archer, Novelist Whose Real Life Rivaled His Thrillers, Dies at 86

https://www.nytimes.com/2026/10/05/books/jeffrey-archer-dead.html
1•sonabinu•1h ago•0 comments

DOS: Determining System Uptime

https://movq.de/blog/postings/2026-10-04/0/POSTING-en.html
1•majorchord•1h ago•0 comments

Coyote vs. ACME pro AI rights?

1•levelZero•1h ago•0 comments

How Not to Sort by Average Rating (2009)

https://www.evanmiller.org/how-not-to-sort-by-average-rating.html
1•gslin•1h ago•0 comments

Tyres instead of a plug: electric buses that charge during operation

https://ethz.ch/en/news-and-events/eth-news/news/2026/10/tyres-instead-of-a-plug-electric-buses-t...
1•geox•1h ago•0 comments

Saudi Arabia urged to spare man sentenced to death over Facebook post

https://www.bbc.co.uk/news/articles/cq14d438vx24o
5•vinni2•1h ago•1 comments