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!

Maestral open-source Dropbox client no longer actively supported

https://maestral.app/
1•rja65•43s ago•0 comments

Volkswagen's Crisis in Five Charts

https://www.reuters.com/business/autos-transportation/volkswagens-crisis-five-charts-2026-06-30/
1•leonidasrup•2m ago•0 comments

2021 Florida Condo Collapse. NIST Investigation Concluded

https://www.popularmechanics.com/science/a71731922/surfside-condo-collapse/
1•bryan0•3m ago•1 comments

Doubt that Elon Musk 'earned' his trillion?

https://www.theguardian.com/global/commentisfree/2026/jun/30/elon-musk-trillion-rightwing-media
3•jethronethro•6m ago•0 comments

OrgForge: The Next Step in Enterprise AI Simulation

https://www.machinebrief.com/news/orgforge-the-next-step-in-enterprise-ai-simulation-u364
2•decorner•6m ago•0 comments

wrtK8s [video]

https://www.youtube.com/watch?v=QcRyje_gGYM
1•JustinGarrison•6m ago•1 comments

Scientists Unlock Hidden DNA from 1,300-Year-Old Manuscripts

https://scitechdaily.com/scientists-unlock-hidden-dna-from-1300-year-old-manuscripts/
1•bookofjoe•7m ago•0 comments

There's panic buying of fuel in Russia now

https://www.youtube.com/watch?v=1zVjnH1yc_I
1•t23414321•7m ago•0 comments

Rock Balloons. (4k:c64/v20/c16/zx/pc)

https://orac81.itch.io/rock-balloons
1•orac81•8m ago•0 comments

Google introduces a faster, cheaper image generator with Nano Banana 2 Lite

https://techcrunch.com/2026/06/30/google-introduces-a-faster-cheaper-image-generator-with-nano-ba...
1•ameypandey•11m ago•0 comments

Show HN: Distributed LLM tracing and GH PR/issue linking [Apache 2.0]

https://github.com/superlinked/synty
1•supo•13m ago•0 comments

WinRAR Version 7.23

https://www.win-rar.com/start.html?&L=0
3•ms7892•18m ago•0 comments

The AI Mirage or Why I Think the Hype Can't Sustain Itself

https://louwrentius.com/the-ai-mirage-or-why-i-think-the-hype-cant-sustain-itself.html
4•louwrentius•21m ago•2 comments

Worlds best online scheduling software

https://humanz.net.au/about
2•rlomen_hmz•24m ago•1 comments

Demystifying Security Risks of AI-Powered Applications on Pre-Trained Model Hubs

https://arxiv.org/abs/2606.30373
2•runningmike•25m ago•1 comments

Will Earth survive the Sun's death? New study suggests it might.

https://fys.kuleuven.be/ster/news/2026/will-earth-survive-the-suns-death-new-study-suggests-it-might
2•layer8•25m ago•0 comments

Is There an Official Maintained Python Koans Repo?

https://github.com/gregmalcolm/python_koans
2•idontwantthis•26m ago•1 comments

Physics Books Recommended by a Harvard Physics Student

https://abakcus.com/book-lists/physics-books-harvard-student
4•zetamax•26m ago•0 comments

Bending Spoons, Owner of AOL and Other Old Internet Brands, Is Going Public

https://www.nytimes.com/2026/06/30/technology/bending-spoons-ipo-aol-vimeo-eventbrite.html
3•donohoe•27m ago•0 comments

Building an Actual Country of Geniuses

https://www.youtube.com/watch?v=ekUSgzJI1-I
2•valhalladev•29m ago•1 comments

A New Look at AI's Impact on Jobs

https://ramp.com/data/ai-jobs-impact
3•in-silico•29m ago•0 comments

YouTube and Algorithmic Feeds

https://lzon.ca/posts/other/youtube-algorithm/
2•jpmitchell•29m ago•0 comments

Show HN: Trains – leaderless total-order broadcast in Rust, formally verified

https://github.com/yeychenne/trains-rust
3•yeychenne•30m ago•0 comments

Accelerating LLM Inference on AMD GPUs with Low-Latency GEMMs

https://rocm.blogs.amd.com/software-tools-optimization/accelerating-llm-inference-on-amd-gpus-wit...
2•matt_d•32m ago•0 comments

Supreme Court ruling guts government's use of geofence warrants

https://arstechnica.com/tech-policy/2026/06/supreme-court-ruling-guts-governments-use-of-geofence...
1•SG-•32m ago•0 comments

Agentic Hardware Design as Repository-Level Code Evolution

https://arxiv.org/abs/2606.28279
1•matt_d•32m ago•0 comments

Rebuilt old Instagram, Enjoy:D

1•RoastSlop•32m ago•0 comments

Keep It Local

https://www.olafalders.com/2026/06/30/keep-it-local/
3•oalders•32m ago•0 comments

Insulin Resistance Is a Useless Construct

https://www.exfatloss.com/p/insulin-resistance-is-a-useless-construct
1•paulpauper•32m ago•0 comments

Zluda (CUDA-compatible runtime for AMD) loses funding again, gains 32bit compat

https://vosen.github.io/ZLUDA/blog/zluda-update-q1q2-2026/#the-new-direction-of-the-project
2•indrora•32m ago•1 comments