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•11mo 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!

Violating Copyright, Not the Planet

https://mumumelon.co/
1•Tomte•14m ago•0 comments

Bryson DeChambeau to use a 5-iron he made with 3D printer at Masters

https://www.espn.com/golf/story/_/id/48431238/bryson-dechambeau-using-iron-made-3d-printer-masters
1•1659447091•14m ago•0 comments

You've Been Writing Matplotlib Abstractions Wrong

https://www.dontusethiscode.com/blog/2026-04-08_matplotlib_abstractions.html
1•Tomte•15m ago•0 comments

How can I get your attention?

1•ChalresWT•17m ago•0 comments

On Partners, Mario, & Pi

https://www.foggynotions.day/#on-partners-mario-pi
1•doppp•18m ago•0 comments

The Waymo Rule for AI-Generated Code

https://rng.md/posts/the-waymo-rule-for-ai-generated-code/
1•handfuloflight•21m ago•0 comments

Know the Owners – Explore the ownership structures behind name brand products

https://knowtheowners.com/
2•pkutro•22m ago•1 comments

Pizza Tycoon simulated traffic on a 25 MHz CPU

https://pizzalegacy.nl/blog/traffic-system.html
1•vinhnx•22m ago•0 comments

Alignment Risk Update for Claude Mythos [pdf]

https://www-cdn.anthropic.com/79c2d46d997783b9d2fb3241de43218158e5f25c.pdf
1•jablongo•23m ago•0 comments

Bash Owns the Loop

https://www.nibzard.com/wrappers/
1•peterdemin•23m ago•0 comments

Under the hood of MDN's new front end

https://developer.mozilla.org/en-US/blog/mdn-front-end-deep-dive/
3•vinhnx•24m ago•0 comments

Open Source Security at Astral

https://astral.sh/blog/open-source-security-at-astral
6•vinhnx•26m ago•0 comments

Show HN: Jsonl Viewer – An offline JSON Lines viewer in a single HTML file

1•Cassandra99•26m ago•1 comments

Esquire Singapore responds to criticism over use of AI for Mackenyu story

https://cnalifestyle.channelnewsasia.com/entertainment/esquire-singapore-ai-mackenyu-interview-ba...
1•hboon•30m ago•0 comments

GPU solver that matches Fujitsu's $1M Digital Annealer on cubic optimization

https://github.com/MysticCodingCat/CUDA-Native-HUBO
1•bobchen1322•31m ago•1 comments

The Slow Startup Movement

https://tarikhkorula.com/wisdom/the-slow-startup-movement
1•subdane•32m ago•0 comments

Pope Leo Reportedly Unlikely to Visit US After Trainwreck Trump Admin Meeting

https://www.mediaite.com/media/news/pope-leo-reportedly-unlikely-to-visit-us-after-trainwreck-tru...
3•rawgabbit•32m ago•0 comments

Apple Will Release iPhone Air 2 No Matter How Badly It May Sell

https://www.macrumors.com/2026/04/08/iphone-air-2-to-launch-no-matter-what/
1•mgh2•33m ago•0 comments

Show HN: We Evaluates Medical Research Agent Skills

https://github.com/aipoch/medical-research-skills
1•The_resa•38m ago•0 comments

Show HN: Image to Music AI – Turn Any Photo into an Original Soundtrack

https://imagetomusicai.com/
1•airobus•41m ago•0 comments

'There's a lot of desperation': older workers turn to AI training to stay afloat

https://www.theguardian.com/technology/ng-interactive/2026/apr/07/ai-training-work-jobs
4•Stratoscope•45m ago•0 comments

App Store sees 84% surge in new apps as AI coding tools take off

https://9to5mac.com/2026/04/06/app-store-sees-84-surge-in-new-apps-as-ai-coding-tools-take-off/
18•gardaani•46m ago•9 comments

Living Without My Self

https://aeon.co/essays/robert-musil-gives-confidence-to-the-no-self-minority-like-me
1•Petiver•46m ago•0 comments

Claude Code's sandbox.denyRead doesn't stop the Read tool

https://www.claudecodecamp.com/p/claude-code-sandboxing-how-sandbox-works-and-what-it-doesn-t-pro...
3•aray07•54m ago•0 comments

Show HN: CVD Tool – Image Compression Algorithm (13MB to 10KB)"

https://github.com/mohamedtrigui5-lab/CVDTool
1•mohamedtrigui5•55m ago•0 comments

"Well is it AI?" [video]

https://www.youtube.com/shorts/b_fjny-K6xY
1•kshri24•55m ago•0 comments

How to use storytelling to fit inline assembly into Rust

https://www.ralfj.de/blog/2026/03/13/inline-asm.html
2•PaulHoule•1h ago•1 comments

To peer or not to peer – online cartels

https://blog.init7.net/en/to-peer-or-not-to-peer-kartelle-im-internet/
1•pabs3•1h ago•0 comments

Rust Threads on the GPU

https://www.vectorware.com/blog/threads-on-gpu/
2•LegNeato•1h ago•0 comments

Show HN: Self-improving agent memory system, 92% R 5 LongMemEval, PostgreSQL

https://github.com/salishforge/memforge
2•artificium•1h ago•0 comments