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!

What will more intelligence actually do for us?

https://www.noahpinion.blog/p/what-will-more-intelligence-actually
1•throw0101d•57s ago•0 comments

One-third of Seattle's downtown is empty

https://fortune.com/2026/07/27/why-is-it-so-hard-to-find-a-job-in-seattle-office-vacancies-labor-...
1•cramer4next•3m ago•0 comments

Musk Shamed After Attacking NYC Mayor over $38B Government Handouts

https://www.ibtimes.co.uk/zohran-mamdani-elon-musk-clash-wealth-government-support-1808122
1•robtherobber•3m ago•0 comments

As a doctor, here's why I wear sunblock indoors

https://www.washingtonpost.com/wellness/2026/07/27/doctor-heres-why-i-wear-sunblock-indoors/
1•mikhael•4m ago•0 comments

TokenTown –> Learn how LLM's work in a SimCity-like world

https://laurentiugabriel.github.io/token-town/
6•laurentiurad•5m ago•1 comments

John Oliver Returns to Expose Trump Family's Shady Crypto Dealings

https://variety.com/2026/tv/news/john-oliver-expose-trump-shady-crypto-dealings-world-liberty-fin...
2•doener•6m ago•0 comments

Should Bitcoin support multiple signature schemes long-term?

https://chipcoinprotocol.com/
1•chipcoinchc•6m ago•0 comments

Cat Gatekeeper is a browser extension that shows a cat break screen

https://github.com/zokuzoku/cat-gatekeeper
1•gslin•6m ago•0 comments

GrapheneOS reveals what's making Motorola support possible

https://www.androidauthority.com/grapheneos-motorola-phone-support-update-3691324/
3•Basje•7m ago•0 comments

AI Reverse Engineering Benchmark

https://www.agentre-bench.ai/
1•childintime•7m ago•1 comments

Every Model Cheats: Prompt-Level Mitigation of Cheating on Offensive Cyber Tasks

https://arxiv.org/abs/2607.21763
1•sbulaev•7m ago•0 comments

Show HN: StaleBin – share a link, collect anonymous submissions, no accounts

https://stalebin.app/
2•AndBoh•7m ago•0 comments

Show HN: Aitori, see and govern the AI traffic leaving your machine

https://github.com/truefoundry/aitori/
2•deeptishukla22•9m ago•0 comments

America's Big Cities Are Rapidly Losing Kids

https://www.wsj.com/us-news/cities-losing-families-children-a860a9b1
1•littlexsparkee•9m ago•1 comments

UK's iconic Jodrell Bank telescope faces axe in science cuts

https://www.bbc.co.uk/news/articles/c5y6r9rdxygo
4•ttmbs•10m ago•0 comments

Manage Elasticsearch and OpenSearch clusters from one tiny, secure Go binary

https://github.com/hpoznanski/medulla
1•hpoznanski•10m ago•0 comments

Show HN: Browser CAD for stock-tube structures with generated 3D-printed joints

https://app.trusslab.ai/#/frame/triangle-frame@v1?autoplay=1
1•dajanah•10m ago•0 comments

Do Qwen 3.6 27B quantizations break the pelican?

https://quesma.com/blog/qwen-quantization-quality/
1•stared•11m ago•0 comments

Show HN: PumpProof – Scores a hyped stock's dilution risk from its SEC filings

https://pumpproof.com
3•jekjek•11m ago•0 comments

Where B2B Buyers Ask on Reddit: 30 Days of Scan Data

https://cuescout.com/blog/where-b2b-buyers-actually-ask-on-reddit
1•weeklyrunner•12m ago•0 comments

Workers are crossing job boundaries with AI, OpenAI research shows

https://www.axios.com/2026/07/27/openai-chatgpt-work-specialists
2•giuliomagnifico•14m ago•0 comments

There are no particles, there are only fields (2012)

https://arxiv.org/abs/1204.4616
1•surprisetalk•14m ago•0 comments

Why the Cleanup Sprint Always Loses

https://lamis73.substack.com/p/why-the-cleanup-sprint-always-loses
1•Lamis-A•14m ago•0 comments

Paul Andrews, Founder of 'Contact in the Desert'–Woodstock of U.F.O.s–Dies at 77

https://www.nytimes.com/2026/07/26/us/paul-andrews-dead.html
1•bookofjoe•14m ago•1 comments

97 Hours of Consensus

https://skepticalscience.com/nsh/?#
2•Gravityloss•15m ago•1 comments

The State of X402

https://vibesprings.net/state-of-x402
2•Vibeguy900•16m ago•0 comments

Of 1190 AI agent closing statements, one reports failure

https://github.com/kolesnikov-arch/patchward/blob/main/selfreport/RESULTS.md
1•kolesnikov-arch•16m ago•0 comments

Member of Technical Staff

https://torre.ai/post/2W1pn4Yr-qvid-talent-solutions-member-of-technical-staff-product-engineering
2•cnjeri•16m ago•0 comments

AGI Singer: The Song of My AGI Capability and Boot

https://medium.com/@miho999lv/agi-singer-the-song-of-my-agi-capability-and-boot-7f1beec2e8c5
1•miho999lv•17m ago•0 comments

Why open AI models have become a matter of American national security [Italian]

https://www.dday.it/redazione/58170/perche-i-modelli-ia-open-sono-diventati-una-questione-di-sicu...
1•lorenzomx•18m ago•1 comments