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!

What Is Pub/Sub?

https://encore.dev/blog/pubsub
1•andout_•11s ago•0 comments

Be sinceerly human – AI to undo your AI writing

https://sinceerly.com/
1•arnon•38s ago•0 comments

Let It Slop: A New Approach to Modularity in the Age of AI Code Generation

https://tomash.wrug.eu/blog/2026/04/19/new-modularity/
2•stanislavb•3m ago•0 comments

Xiaomi MiMo-v2.5-Pro

https://mimo.xiaomi.com/mimo-v2-5-pro/
2•jnd0•3m ago•0 comments

OpenAI Stargate: where the US sites stand

https://epochai.substack.com/p/openai-stargate-where-the-us-sites
2•gmays•5m ago•0 comments

LocalDom: Generate APIkey for Local LLM

https://github.com/fambaseOU/localDom
2•ndukaaniemeka•6m ago•1 comments

Ask HN: Open-Source Coding Model and Harness at Claude Sonnet / Opus Level Perf?

2•connecteev•7m ago•0 comments

Our automatic failover became an NSFW content delivery pipeline

https://blog.t1ll.com/we-gave-one-dollar/
2•t1ll•7m ago•0 comments

Proposed Chinese Robot Ban Is Latest U.S. Tech Sovereignty Move

https://spectrum.ieee.org/chinese-robots-us-ban
2•voxadam•7m ago•0 comments

Show HN: AI tool to rank 100 of CVS against a job description in minutes

https://aicvscreening.com
2•IOZ•8m ago•1 comments

Show HN: OpenHuman, an AI agent with a subconscious loop

https://github.com/tinyhumansai/openhuman
2•enamakel•9m ago•0 comments

YouTuber 'invisible' to America's army of cameras with anti-surveillance device

https://www.pcgamer.com/hardware/youtuber-goes-invisible-to-americas-army-of-cameras-with-his-usd...
2•evo_9•9m ago•0 comments

Frontier AI labs taking open-source and releasing it as a product

2•ainthusiast•11m ago•1 comments

LocalForge – Self-hosted LLM control plane with ML routing

https://github.com/al1-nasir/LocalForge
2•al1nasir•11m ago•0 comments

How we fixed prompt injection for all models on Fireworks

https://fireworks.ai/blog/safe-tokenization-preventing-prompt-injection-on-fireworks
2•smurda•12m ago•0 comments

Human drivers keep crashing into Waymos

https://www.understandingai.org/p/human-drivers-keep-crashing-into-454
2•speckx•13m ago•1 comments

Marathon training: Why hot baths might help you run faster

https://theconversation.com/marathon-training-why-hot-baths-might-help-you-run-faster-276796
2•PaulHoule•14m ago•0 comments

Cory Doctorow Admits Using a Slop-Machine to Produce His Drone of Propaganda

https://backlit.neocities.org/doctorow-admits-using-a-slop-machine-to-produce-his-propaganda
1•airhangerf15•14m ago•0 comments

Roo Code pivots to cloud-based agent, says IDEs aren't the future of coding

https://thenewstack.io/roo-code-cloud-ides-ai-coding/
2•Brajeshwar•14m ago•0 comments

Show IH: Knowledge Core

https://www.indiehackers.com/post/show-ih-knowledge-core-ecdf1646af
2•Ameya0•15m ago•0 comments

Show HN: Nimble.css minimal classless CSS library for great-looking default HTML

https://leftium.github.io/nimble.css/
2•Leftium•15m ago•1 comments

ChatGPT vs. a specialized medical AI on 5 clinical cases (verbatim outputs)

https://wizey.one/blog/2026/04/17/wizey-vs-chatgpt-5-clinical-cases-experiment/
2•wizeyone•16m ago•1 comments

Show HN: Reducing a 66-node dependency cycle to 13 in Scrapy

https://pvizgenerator.com/showcase/2026-04-scrapy-scc-refactor
2•pvizgenerator•16m ago•0 comments

High Intensity Functional Training: A Scoping Review (2025)

https://pmc.ncbi.nlm.nih.gov/articles/PMC12550923/
2•wslh•16m ago•0 comments

Browser using agents relying on expensive residential proxies?

4•maxalbarello•17m ago•0 comments

Anthropic: Using large language models to scale scalable oversight

https://www.anthropic.com/research/automated-alignment-researchers
1•theorchid•18m ago•0 comments

Show HN: Turning a Gaussian Splat into a Videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
2•yak32•19m ago•0 comments

'Staggering' number of people believe unproven claims about vaccines, raw milk

https://www.nature.com/articles/d41586-026-01285-2
4•voxadam•20m ago•1 comments

Teaching AI models to say "I'm not sure"

https://news.mit.edu/2026/teaching-ai-models-to-say-im-not-sure-0422
2•danroth27•20m ago•0 comments

The Sycophancy Problem: Why your AI is a Polite Liar (and how to fix it)

https://kampff.substack.com/p/the-sycophancy-problem-why-your-ai
2•Weatherill•20m ago•0 comments