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!

Iran war's global energy crisis sharpens China's clean tech advantage

https://english.kyodonews.net/articles/-/74214
1•anigbrowl•3m ago•0 comments

China tests deep-sea electro-hydrostatic actuator that can cut undersea cables

https://www.tomshardware.com/tech-industry/china-tests-deep-sea-electro-hydrostatic-actuator-that...
1•hkmaxpro•3m ago•0 comments

Scaling Managed Agents: Decoupling the Brain from the Hands \ Anthropic

https://www.anthropic.com/engineering/managed-agents
1•duck•7m ago•0 comments

Spec Driven Development Isn't Waterfall

https://brooker.co.za/blog/2026/04/09/waterfall-vs-spec.html
1•dhruv3006•8m ago•0 comments

An Autonomous RL Agent Methodology for Dynamic Web UI Testing in a BDD Framework

https://publications.eai.eu/index.php/airo/article/view/8895
1•alihassaanmug•9m ago•0 comments

British Attitudes to Economic Growth

https://iea.org.uk/attitudes-to-economic-growth
1•mellosouls•10m ago•1 comments

Video: Are They Lying to You About Nuclear Energy?

https://www.youtube.com/watch?v=cxDd3Whl_9s
2•drob518•13m ago•0 comments

Interface of Capitulation: A Black-Box Audit of Instructed Dishonesty in LLMs

https://github.com/phobetor-ops/interface-of-capitulation
2•jotacesarmp•15m ago•1 comments

Using Claude Code: Session Management and 1M Context

https://twitter.com/trq212/status/2044548257058328723
2•dsr12•15m ago•0 comments

Ultraprocessed foods may hurt muscle health

https://www.nbcnews.com/health/health-news/link-ultraprocessed-foods-muscle-health-rcna331623
2•gmays•15m ago•0 comments

Florida surgeon charged with killing man after removing liver instead of spleen

https://arstechnica.com/health/2026/04/florida-surgeon-charged-with-killing-man-after-removing-li...
6•canucker2016•19m ago•0 comments

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
1•azhenley•23m ago•0 comments

Eternal November – new influx of users, and why it's better than the last one

https://sfconservancy.org/blog/2026/apr/15/eternal-november-generative-ai-llm/
2•pabs3•25m ago•0 comments

Geminis "Priority Inference" tier: 75-100% more expensive, same or worse latency

https://twitter.com/Justiniansli/status/2044610407487173076
2•YounElh•25m ago•1 comments

C++26: Structured Bindings in Conditions

https://www.sandordargo.com/blog/2026/04/15/cpp26-structured-bindings-condition
1•jandeboevrie•27m ago•0 comments

I Will Never Respect a Website

https://www.wheresyoured.at/i-will-never-respect-a-website/
1•farmerbb•32m ago•0 comments

Anthropic co-founder confirms the company briefed White House on Mythos

https://techcrunch.com/2026/04/14/anthropic-co-founder-confirms-the-company-briefed-the-trump-adm...
3•gmays•36m ago•2 comments

Mesh LLM

https://github.com/Mesh-LLM/mesh-llm
3•oldfuture•37m ago•0 comments

Build the right thing and the money will follow

https://mikefisher.substack.com/p/build-the-right-thing
2•gpi•40m ago•0 comments

Enhancing Developer Workflow with Rovo Dev and Notifications

https://www.atlassian.com/blog/developer/developer-workflow-rovo-dev-notifications
2•foxh0und•41m ago•0 comments

Show HN: Themery – A theme engine that compiles one palette to every major IDE

https://www.themery.dev/
2•Tiagopeter•42m ago•0 comments

Modern Common Lisp with FSet

https://fset.common-lisp.dev/Modern-CL/Top_html/index.html
6•signa11•44m ago•0 comments

Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval

https://medium.com/@Koukyosyumei/hacking-mcp-servers-in-ai-systems-the-rug-pull-tool-changes-afte...
2•syumei•48m ago•0 comments

AI Meeting recorder that runs on your Mac

https://quietly.fastclick.ai
3•saadn92•54m ago•0 comments

Speeding up GPU kernels by 38% with a multi-agent system

https://cursor.com/blog/multi-agent-kernels
2•gmays•56m ago•0 comments

DESI Completes Planned 3D Map of the Universe

https://newscenter.lbl.gov/2026/04/15/desi-completes-planned-3d-map-of-the-universe-and-continues...
2•revicon•59m ago•0 comments

Ask HN: We dont need a programming language now?

2•zameermfm•59m ago•4 comments

Tailscale-rs: Official Rust library for embedding Tailscale

https://tailscale.com/blog/tailscale-rs-rust-tsnet-library-preview
2•phantomathkg•1h ago•0 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
5•ozarkerD•1h ago•1 comments

Show HN: Tokanban, an agent-first task management system

https://tokanban.com/
2•clippy99•1h ago•0 comments