frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Zero Knowledge (About) Encryption: Security Analysis of Password Managers

https://eprint.iacr.org/2026/058
1•Ember_Wipe•4m ago•0 comments

Why young academics are leaving academia

https://www.ft.com/content/8097a49b-32f9-455c-890c-921d3b419f59
1•bazzmt•6m ago•0 comments

Le Baguette Index

https://lebaguetteindex.fr/
1•wouterjanl•7m ago•0 comments

Show HN: A deep dive into Kubernetes internals

https://semicolony.dev/codex/kubernetes/
2•officerdodles12•9m ago•0 comments

What Is a Galvayne's Groove?

http://www.cowboyway.com/What/GalvaynesGroove.htm
1•thunderbong•9m ago•0 comments

Prebuilt FFmpeg ffmpeg.so and executables for Android ARM64-v8a 16kb page size

https://github.com/hzw1199/Android-FFmpeg-Prebuilt
1•hzw1199•12m ago•0 comments

Toast: Where PostgreSQL hides big values

https://boringsql.com/posts/postgresql-toast/
1•radimm•14m ago•0 comments

You're on Your Own – Not Anymore

https://zenodo.org/records/20373732
1•anasteciadunu•15m ago•0 comments

Switchberry Turns a Raspberry Pi CM4 into a Time-Focused Ethernet Switch

https://www.hackster.io/news/the-switchberry-turns-a-raspberry-pi-compute-module-4-into-a-time-fo...
3•teleforce•21m ago•0 comments

User just tricked Grok and Bankrbot to send tokens with Morse code

https://www.cryptopolitan.com/user-tricked-grok-bankrbot-to-send-tokens/
1•austinallegro•21m ago•0 comments

Flatpak Will Depend on Systemd

https://www.osnews.com/story/145071/flatpak-will-depend-on-systemd/
1•pjmlp•22m ago•0 comments

Ego-Driven Development

https://www.ivan.codes/blog/let-it-cook
1•deeshee•24m ago•0 comments

Sieve of Eratosthenes

https://dfns.dyalog.com/n_sieve.htm
1•tosh•24m ago•0 comments

Sam-3D-Body in C++: zero-Python runtime for full-body 3D pose and mesh from RGB

https://github.com/AmmarkoV/SAM3DBody-cpp
2•AmmarkoV•27m ago•0 comments

Show HN: Cordium – FOSS sandbox platform with secretless infrastructure access

https://github.com/octelium/cordium
1•geoctl•30m ago•0 comments

FreeBSD Foundation's IRS filings, the numbers are concerning

https://old.reddit.com/r/freebsd/comments/1rq0ucy/ive_been_going_through_the_freebsd_foundations/
1•sunshine-o•30m ago•0 comments

Aspire – orchestrate front ends, APIs, containers, and databases

https://aspire.dev/
1•nreece•30m ago•0 comments

Show HN: Multi-player doom on browser via Cloudflare for free

https://playdoom.ossy.dev/
1•postatic•32m ago•0 comments

Resist Less, Not Try Harder

https://personalokr.substack.com/p/resist-less-not-try-harder
1•whedrich•32m ago•1 comments

Book II-Apple II+ laptop made with period-correct chips

https://8086cpu.com/Z80/6502/110.html
1•rbanffy•33m ago•0 comments

Franchising has made Americans rich

https://economist.com/business/2026/05/24/franchising-has-quietly-made-countless-americans-rich
1•andsoitis•33m ago•0 comments

EU bringing in Digital IDs for citizens: What are they? How will it affect you?

https://www.thejournal.ie/eu-digital-id-wallet-ireland-plans-online-verification-explainer-factch...
2•austinallegro•34m ago•1 comments

I passed Claude Certified Architect: here's my notes and a practice exam

https://practice-exam-deploy.vercel.app/
2•hamzaf•39m ago•0 comments

Who Will Monetize Truth? [pdf]

https://readwise-assets.s3.amazonaws.com/media/wisereads/articles/who-will-monetize-truth/who-wil...
1•crcastle•42m ago•0 comments

96% Correct Next Token Prediction, with No DNN, No Training, Autodistilled Model

https://mltechniques.com/2026/05/25/96-correct-next-token-prediction-with-no-dnn-no-training-auto...
1•MLTechniques•42m ago•1 comments

AI Makes Adding Features Faster – So Why Not Add Just One More?

https://grith.ai/blog/just-one-more-feature?nop
2•edf13•44m ago•2 comments

Ask HN: How to get back into programming without AI?

2•coolcoder613•46m ago•6 comments

Your Token Was an Equity Grant All Along

https://artsabintsev.substack.com/p/your-token-was-an-equity-grant-all
1•Arts86•48m ago•0 comments

I built a scanner that found 41 live AWS keys in 900 Terraform state files

https://vechron.com/2026/05/i-found-900-s3-buckets-exposing-terraform-state-files-41-had-live-aws...
10•GeorgeWoff25•49m ago•0 comments

A free directory of ecommerce operations tools and checklists

https://www.storeops.directory/
1•jefffinds•52m ago•0 comments