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!

Job Isn't Programming

https://codeandcake.dev/posts/2025-12-12-your-job-isnt-programming
1•dgroshev•28s ago•0 comments

Trump alum helps Israel mount AI influence campaign

https://www.axios.com/2026/04/25/israel-ai-influence-parscale
1•sosomoxie•1m ago•0 comments

Mo RAM, Mo Problems

https://fabiensanglard.net/curse/
1•blfr•2m ago•0 comments

From Gaza With Love (1h49 documentary)

https://www.youtube.com/watch?v=xYj-XMIjHGo
1•bigbugbag•3m ago•0 comments

Fast Attention for Short Sequences

https://blog.qwertyforce.dev/posts/fast_attention_for_short_sequences
1•qwertyforce•7m ago•0 comments

The Glass_V1 standard for new computational storage

https://github.com/argoscollective/Glass-V1-Standard
1•Argoscollective•8m ago•0 comments

Over the Past Decade, Congestive Heart Failure Increased by over 10%

https://www.scai.org/media-center/news-and-articles/over-past-decade-congestive-heart-failure-and...
1•geox•8m ago•0 comments

Vibe Designing

https://jonathannen.com/vibe-designing/
1•speckx•11m ago•0 comments

Some data on the shape of the forgetting curve

https://www.natemeyvis.com/some-data-on-the-shape-of-the-forgetting-curve/
1•ingve•12m ago•0 comments

Show HN: Outworx Docs – Hosted API docs with an MCP server per project

https://docs.outworx.io
1•aemadeldin•13m ago•0 comments

Software Piracy Statistics – 2026 Outlook

https://www.revenera.com/blog/software-monetization/software-piracy-stat-watch/
1•keepamovin•14m ago•0 comments

From car and phone to tractors, populist wave to end 'captive' repair economy

https://www.cnbc.com/2026/04/25/right-to-repair-consumer-prices-affordability-economy-elections.html
2•1vuio0pswjnm7•14m ago•0 comments

The Fermi Paradox Is Nerdslop

https://monismos.substack.com/p/the-fermi-paradox-is-nerdslop
1•eatitraw•19m ago•0 comments

New study bridges the worlds of classical and quantum physics

https://news.mit.edu/2026/new-study-bridges-classical-and-quantum-physics-0421
1•leephillips•20m ago•0 comments

21-year-old Polish Woman Fixed a 20-year-old Linux Bug

https://itsfoss.com/news/kamila-enlightenment-e16-bug/
1•tempodox•21m ago•1 comments

Tuta: FOSS email service with privacy, encrypt emails, contacts and calendar

https://github.com/tutao/tutanota
1•maxloh•21m ago•0 comments

Command Line Argument Parser with C++26 reflection

https://github.com/nathan-baggs/clap
2•dalvrosa•22m ago•0 comments

The Fermi Paradox (2014)

https://waitbutwhy.com/2014/05/fermi-paradox.html
1•simonebrunozzi•22m ago•0 comments

AI Adoption in the United States and Its (Tiny) Labor Market Impact

https://macromostly.substack.com/p/an-update-on-ai-adoption-in-the-united
1•m-hodges•22m ago•1 comments

History and Los Alamos (2003)

https://sgp.fas.org/eprint/meade.html
1•simonebrunozzi•25m ago•0 comments

Someone recreated StumbleUpon but for Startup landing pages

https://buildhop.io
1•jacobcounsell•27m ago•0 comments

AI News Aggregator – The Wire

https://www.thewire.ink/
1•nmilodev•31m ago•1 comments

GloVe Galaxy Explorer

https://glove.theory-a.com
2•notShabu•34m ago•0 comments

Local-Run Graph-Based Scalable AGI

https://boggersthefish.com/
1•explaingarlic•35m ago•1 comments

Survival Is the Only Success

https://ofdollarsanddata.com/survival-is-the-only-success/
1•speckx•39m ago•0 comments

Is "Outsourcing Our Thinking to AI" a Bug or a Feature?

https://slashdot.org/submission/17346722/is-outsourcing-our-thinking-to-ai-a-bug-or-a-feature
1•theodpHN•40m ago•0 comments

DeepSeek V4 in vLLM: Efficient Long-Context Attention

https://vllm-website-pdzeaspbm-inferact-inc.vercel.app/blog/deepseek-v4
1•Palmik•41m ago•0 comments

Show HN: I got tired of boring SQL tutorials, so I built a game

https://sqlprotocol.com
1•ItaiZeilig•42m ago•2 comments

Multi-player agents don't fit in the sandbox

https://www.mendral.com/blog/multi-player-agents-sandbox
1•shad42•42m ago•0 comments

Show HN: Duckville, a persistent-world life SIM where you're a duck

https://duckville.town
1•stfurkan•42m ago•0 comments