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!

Test the Email Verification Protocol with an origin trial

https://developer.chrome.com/blog/email-verification-protocol-origin-trial
1•nreece•4m ago•0 comments

How IPTV delivery works, end to end

https://iptvproviders.online/
1•cynthial485•6m ago•0 comments

South Korea's AI Bubble Just Popped [video]

https://www.youtube.com/watch?v=hy90LdpEUvQ
1•Bender•11m ago•0 comments

I Tried to Make AI Writing Sound Human by Banning AI Words Through Logit_bias

https://www.vincentschmalbach.com/make-ai-writing-sound-human-logit-bias/
1•vincent_s•11m ago•0 comments

What's the Fewest People That Could Repopulate Earth? [video]

https://www.youtube.com/watch?v=1qIvFpcGkqc
1•gmays•11m ago•0 comments

South Korea's AI Bubble Just Popped – Now What? [video]

https://www.youtube.com/watch?v=qeXpUZTdvsI
2•Bender•13m ago•0 comments

Show HN: Free Image Merger – combine photos in-browser, nothing uploaded

https://freeimagemerger.com/
1•winsonaibuilder•13m ago•0 comments

Could the Most Radical Plane Design Since the Concorde Take on Boeing?

https://www.wsj.com/business/could-the-most-radical-plane-design-since-the-concorde-take-on-boein...
1•fortran77•15m ago•2 comments

Long-Term Data Storage for Home Users [video]

https://www.youtube.com/watch?v=ulh9z-JluBs
1•haloboy777•16m ago•0 comments

Leopold Aschenbrenner's Situational Awareness seeks capital raise after AI rout

https://www.ft.com/content/280336bf-dbed-405f-b38e-5af644a21549
2•fatcatsbestcats•16m ago•1 comments

Finding a job as a WordPress dev has become impossible

https://twitter.com/DenisBosire/status/2082523094506217765
2•jv22222•17m ago•0 comments

I built a Docker image factory in Go – 300 lines, no daemon, full OCI compliance

https://cheikhhseck.medium.com/building-a-docker-image-factory-from-scratch-in-go-e3c2e7127106
1•cheikhdev•19m ago•0 comments

Cursed Knowledge

https://www.jmduke.com/posts/cursed-knowledge.html
1•twapi•23m ago•0 comments

Surviving Dreams

https://www.survivingdreams.com/reinforcement-dreaming/
1•Aeroi•24m ago•1 comments

Why Standard Displays Often Fail in Specialized Products

https://duobond-display.com/news/custom-displays/506.html
1•Todorov•26m ago•0 comments

Matt Damon's Biceps in That 'Odyssey' Fight Scene? They're Hers

https://www.nytimes.com/2026/07/29/style/devyn-dalton-matt-damon-stuntwoman-odyssey.html
1•wslh•26m ago•1 comments

Interview with a Sysadmin in 2026 [Corporate]

https://www.youtube.com/watch?v=I7IHInNJZvE
1•vismit2000•28m ago•0 comments

"Gravity is worth asking about."

https://unsung.aresluna.org/gravity-is-worth-asking-about/
2•nozzlegear•29m ago•0 comments

I Gave Claude One Tool to Edit, Master and Transcribe All My Audio [video]

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

Recursive Self Improvement for Coding Agents

https://cline.ghost.io/recursive-self-improvement-for-coding-agents/
1•jhack•30m ago•0 comments

Opus Dreams – chats that weren't saved

https://opusdreams.vercel.app/
1•NickNaraghi•36m ago•0 comments

The cost of memory: How organisms balance thinking and sensing

https://phys.org/news/2026-07-memory.html
1•the-mitr•39m ago•0 comments

It is past time to upgrade to post-quantum encryption

https://www.economist.com/leaders/2026/07/29/it-is-past-time-to-upgrade-to-post-quantum-encryption
1•AsyncBanana•40m ago•0 comments

Why the future is local app

https://getapps.cafe/blog/why-the-future-is-local-app
1•knlam•41m ago•0 comments

Studying AI in the Wild: Reflections from the AI Work Research Group (2025)

https://onlinelibrary.wiley.com/doi/10.1111/joms.70021
1•Tomte•50m ago•0 comments

Hiring game developers Triumph Arcade

https://www.triumphlabs.com/
1•elidenslow•51m ago•1 comments

Cross-Vendor Semantic Void Matrix: Zero-Byte Outputs in GPT/Claude/Gemini/Kimi

https://zenodo.org/records/21696066
1•rayanpal_•53m ago•0 comments

Building an S3 client with 20x more throughput and single core [video]

https://www.youtube.com/watch?v=-p-Xm7VEqSk
1•jorangreef•57m ago•0 comments

YKK Sells 10B Zippers a Year. How Did It Get So Big?

https://www.wsj.com/style/fashion/ykk-sells-10-billion-zippers-a-year-how-did-it-get-so-big-253a24a2
1•hbcondo714•58m ago•0 comments

Show HN: We quantized Qwen3.6-35B-A3B to 2-bit: 12.3 GB, 225 tok/s on a 4090

https://huggingface.co/EschaLabs/Qwen3.6-35B-A3B-Escha-W2
2•yzh•1h ago•2 comments