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!

Traffic fatalities in US increased 15% on same days big albums were released

https://www.nytimes.com/2026/04/10/well/car-crashes-streaming-friday-harvard.html
1•bookofjoe•1m ago•1 comments

Iran's nuke confession blows reasons for America's war wide open

https://www.dailymail.co.uk/sciencetech/article-15732615/iran-nuclear-bomb-confession-ali-motahar...
1•Bender•10m ago•1 comments

Show HN: Idea File for LLM Cycling Coach

https://gist.github.com/leourbina/4db27d9a0a86b9e1551bf9d4b3fd6dad
1•leourbina•11m ago•0 comments

An open source template for building cloud agents

https://github.com/vercel-labs/open-agents
1•obilgic•13m ago•0 comments

Open Agents by Vercel

https://open-agents.dev/
1•obilgic•13m ago•0 comments

Grok Imagine 2.0 – AI-Powered Image Generation

https://grokimagine2.io
2•danielmateo773•16m ago•0 comments

Voxtral TTS – High-Quality Text-to-Speech API

https://voxtral-tts.com
1•danielmateo773•17m ago•0 comments

I built a local real estate site for Ottawa with neighborhood market data

https://maisonpropertygroup.ca
1•thugdrama•21m ago•0 comments

Scandinavian Governance: A Story of Trust and Shared Power

https://polycentricleadership.com/casestudies/scandinavian-governance-a-story-of-trust-and-shared...
1•thunderbong•21m ago•0 comments

The Accursèd Alphabetical Clock

https://boat.horse/clock/index.html
3•ohjeez•32m ago•0 comments

Not Even Noise-Cancelling Headphones Can Block This Bicycle Bell

https://www.carscoops.com/2026/04/skoda-duobell-anc/
1•ohjeez•35m ago•0 comments

Ask HN: What's with the Wargames-like UX lately?

3•beatthatflight•36m ago•2 comments

Why QA and Cyber Security Matter More Than Ever [video]

https://www.youtube.com/watch?v=4K2p7eXAYTM
1•taleodor•36m ago•0 comments

Woman with three deadly diseases has 'remarkable' recovery after cell therapy

https://www.theguardian.com/science/2026/apr/09/autoimmune-diseases-cell-therapy-immune-reset
5•gmays•39m ago•0 comments

Sheaf, a minimal custom 65% keyboard

https://github.com/nxrmqlly/sheaf65
1•sadeshmukh•39m ago•0 comments

Show HN: Memwright – Self-hosted memory for multi-agent teams, no LLM in path

https://github.com/bolnet/agent-memory
1•Bolnet•39m ago•0 comments

Understanding the FFT Algorithm (2013)

https://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/
1•peter_d_sherman•41m ago•0 comments

FL man arrested for running multi-state Ponzi scheme, defrauding victims in MA

https://www.boston25news.com/news/local/florida-man-arrested-running-multi-state-ponzi-scheme-def...
1•1vuio0pswjnm7•50m ago•0 comments

Ask HN: Apple force-updated me to Tahoe. Worth fighting?

2•strogonoff•55m ago•2 comments

Show HN: Keynot – Kill PowerPoint with HTML

https://github.com/shawnzam/keynot
2•shawnzam•1h ago•0 comments

Dependency cooldowns turn you into a free-rider

https://calpaterson.com/deps.html
2•pabs3•1h ago•0 comments

One size fits none: let communities build for themselves

https://werd.io/one-size-fits-none-let-communities-build-for-themselves/
1•benwerd•1h ago•0 comments

Glyphosate resistance: a driver for multidrug-resistant clinical strains?

https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2026.1740431/full
1•PaulHoule•1h ago•0 comments

Gauss' Secret Way to Calculate π Faster [video]

https://www.youtube.com/watch?v=7qiDDhIYx48
1•peter_d_sherman•1h ago•1 comments

Not all elementary functions can be expressed with exp-minus-log

https://www.stylewarning.com/posts/not-all-elementary/
4•mmastrac•1h ago•0 comments

Show HN: StockFit API – structured SEC EDGAR data with a free tier

https://developer.stockfit.io
1•areimann•1h ago•1 comments

The GNU libc atanh is correctly rounded

https://inria.hal.science/hal-05591661
2•matt_d•1h ago•0 comments

Google Arts and Culture

https://artsandculture.google.com/
2•satvikpendem•1h ago•0 comments

How to recover from a Git force push

https://gist.github.com/tomj/758d16b7f8e474035db72688663bb3cb
2•nstj•1h ago•0 comments

Adam Tooze: Electrostates, Petrostates and the New Cold War [video]

https://www.youtube.com/watch?v=gLnxzkiB-GI
2•verdverm•1h ago•0 comments