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!

Recorded, Not Proven

https://claude.ai/artifact/HucaoGuaQqp9g9TZX97HGw
2•throwaway13sas•1m ago•0 comments

Git-bug, project bug tracker tool using Git objects as storage, releases v0.11.0

https://github.com/git-bug/git-bug/releases/tag/v0.11.0
1•iamnothere•3m ago•0 comments

The UV index is not the warm sensation of sunlight on bare skin

https://blog.asciitweezers.com/the-uv-index-is-not-the-warm-sensation-of-sunlight-on-bare-skin/
3•evakhoury•4m ago•0 comments

Relaticle, a self-hosted CRM where AI updates data only after your approval

https://relaticle.com
2•manukminasyan•5m ago•0 comments

No Sloptober

https://no-sloptober.com/
5•jeremiahlee•5m ago•0 comments

Show HN: NetM8 OS

https://netm8.com/
2•goodknightleo•7m ago•0 comments

Show HN: Typed polyglot compiler for CLI/API/MCP generation

https://github.com/morloc-project/morloc
1•arendsee•8m ago•0 comments

Tinyjs – desktop apps for macOS, Windows, and Linux in ~6 MB

https://tinyjs.app
1•josephscott•10m ago•0 comments

I beat all the popular harnesses on FrontierHarness Eval

https://github.com/tontinton/maki
2•tontinton•10m ago•0 comments

Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived

https://foxscript.org/
2•boredjohnny•10m ago•0 comments

ArchiveBox v0.9 released with new native apps and 50 new plugins

https://docs.sweeting.me/s/archivebox-v0.9-announcement
2•nikisweeting•12m ago•1 comments

Kotlin 2026: Layoffs, AI, Google – Is the Golden Age Over? Jake Wharton Explains [video]

https://www.youtube.com/watch?v=9WjPdgOK-68
1•cstever•14m ago•0 comments

Why AI Can't Replace You with Cory Doctorow [YouTube] [video]

https://www.youtube.com/watch?v=VU3gABvwZCM
2•cstever•15m ago•0 comments

Open-Weight AI Models Seize Token Lead, but Proprietary Still Make the Money

https://techstrong.ai/generative-ai/open-weight-ai-models-seize-token-lead-but-proprietary-system...
2•CrankyBear•16m ago•0 comments

Hive at v5: The Swarm Grew Up, and It Is Learning to Leave the Dashboard

https://hivecommons.substack.com/p/hive-at-v5-the-swarm-grew-up-and
1•jcastro•16m ago•0 comments

DoorDash reaches $131.5M settlement with NYC for failing to pay workers

https://documentedny.com/2026/09/22/mamdani-delivery-workers-doordash-labor-settlement/
3•paimapi•16m ago•0 comments

Apple's new watches are always listening

https://theconversation.com/apples-new-watches-are-always-listening-292117
4•sajithdilshan•16m ago•0 comments

Enough Reason to Act: AI safety needs policy not dismissal

https://substack.norabble.com/p/enough-reason-to-act
2•nedruod•18m ago•0 comments

Show HN: Video clip maker/editor right in the browser (supports YouTube)

https://heahy.com/studio
1•ignasheahy•20m ago•0 comments

Show HN: Sandopolis – A portable multi-system Sega emulator

1•habedi0•23m ago•0 comments

Show HN: JevEval, evals using Jev-as-a-judge

https://deepeval.com/blog/introducing-jev-as-a-judge
1•jeffreyip•23m ago•0 comments

Datapages v0.10.0 Beta Release

https://github.com/romshark/datapages/releases/tag/v0.10.0
4•romshark•25m ago•2 comments

Kremlin-backed forgery scheme moved $6.9B through global banks

https://www.ft.com/content/3848a4ad-1426-4352-ba86-ef1279c4ffd1
3•tagyro•28m ago•0 comments

Common denominators of organisms with exceptional longevity

https://www.aging-us.com/article/206419/text
1•tima101•30m ago•0 comments

Motorola Signature 27 officially gets a North American launch

https://9to5google.com/2026/09/22/motorola-signature-27-north-america-launch-confirmed/
1•Cider9986•33m ago•0 comments

LLM Ass Bench

https://www.assbench.com/
5•fragmede•37m ago•4 comments

Show HN: ToolHub – Hierarchical nav for 30 MCP tools without context bloat

https://github.com/Talos-popcorn/toolhub
1•soidkeo•37m ago•0 comments

New trends in global card fraud

https://stripe.com/blog/new-trends-in-global-card-fraud-how-3d-secure-and-regional-mandates-are-a...
2•rndsignals•38m ago•0 comments

Show HN: With generators/DI, LazyPromise has become a tiny alternative to Effect

https://lazypromise.com/
1•ivan7237d•39m ago•0 comments

Making Concurrent Hardware Verification Sequential (2025)

https://dl.acm.org/doi/full/10.1145/3729331
1•imakwana•39m ago•0 comments