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

Debian must ship reproducible packages

https://lists.debian.org/debian-devel-announce/2026/05/msg00001.html
1•robalni•17s ago•0 comments

Agent Harness Engineering

https://twitter.com/addyosmani/status/2053231239721885918
2•pretext•6m ago•0 comments

Late-interaction rerank made our F1 worse, not better – a negative result

https://sverklo.com/blog/late-interaction-rerank-made-our-f1-worse/
1•nike-17•10m ago•0 comments

A Field Study of Institutional Control in an AI-Staffed Prediction-Market Desk

https://github.com/wes-zheng/ai_institutions/blob/main/technical_report/paper.md
2•bbcf•21m ago•0 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
2•dnw•29m ago•0 comments

Zeta2.1: 3x Fewer Tokens, 50ms Faster

https://zed.dev/blog/zeta2-1
2•ms7892•38m ago•0 comments

Scouting's Real Crisis Is Not Marketing. It Is Decades of Neglect.

https://www.untendedfire.org/2026/05/09/scoutings-real-crisis-is-not-marketing-it-is-decades-of-n...
1•AuthorizedCust•38m ago•0 comments

Giant Virginia Data Center Project Upended by Clerical Error

https://www.bloomberg.com/news/articles/2026-05-08/giant-data-center-project-in-virginia-upended-...
1•1vuio0pswjnm7•44m ago•0 comments

NYC School District Hit by Malware Attack as Well as Canvas Hack

https://www.bloomberg.com/news/articles/2026-05-08/canvas-hack-on-nyc-schools-comes-amid-separate...
2•1vuio0pswjnm7•45m ago•0 comments

Student hackers revenge on final exams 'ShinyHunters' attacks nearly 9k schools

https://fortune.com/2026/05/08/student-hackers-get-revenge-on-final-exams-as-shinyhunters-takes-d...
1•1vuio0pswjnm7•51m ago•0 comments

Aurora: A Leverage-Aware Optimizer for Rectangular Matrices

https://blog.tilderesearch.com/blog/aurora
1•matt_d•1h ago•0 comments

What is Elon Musk's formula

https://www.economist.com/culture/2026/05/07/what-is-elon-musks-formula
1•andsoitis•1h ago•0 comments

Hantavirus tracker with Pandemic 2's UI

https://hantavirus.xetera.dev/
1•xetera•1h ago•0 comments

Atlas Mehs

https://darthcoder.github.io/2026/05/10/atlas-mehs/
1•basyt•1h ago•1 comments

The Title on Your Badge Is Becoming a Guess

https://priorcontext.substack.com/p/the-title-on-your-badge-is-becoming
2•contextwindow•1h ago•1 comments

Arrow Flight vs. JSON in Next.js: Benchmarking Python and Go

https://kayhan.dev/posts/012-arrow-flight-vs-json-nextjs-snowflake-benchmark/
1•keynha•1h ago•0 comments

The Hidden Reason Screwdriver Handles Look Like This [video]

https://www.youtube.com/watch?v=sGiRSA_GWK8
2•CharlesW•1h ago•0 comments

Global AI Diffusion Q1 2026 Trends and Insights

https://www.microsoft.com/en-us/corporate-responsibility/dmc/topics/ai-economy-institute/reports/...
2•igor_mart•1h ago•2 comments

Grinder12: 0.96-Bit Lossless Streaming KV-Cache (16.55x VRAM Savings

https://github.com/ggml-org/llama.cpp/discussions/22891
3•AMICLLC•1h ago•0 comments

Xs of Y – roguelike that names itself every run. Written in 4kLoC

https://github.com/nooga/xsofy
4•andsoitis•1h ago•0 comments

Gemini API File Search is now multimodal

https://blog.google/innovation-and-ai/technology/developers-tools/expanded-gemini-api-file-search...
37•gmays•2h ago•2 comments

Snyk and Claude Code: real-time security scanning of AI-generated code

https://codebrainery.com/articles/snyk-claude-code-real-time-security-scanning-for-ai-code
4•yogeshbansal•2h ago•0 comments

Dissolving atherosclerotic plaque without surgery

https://www.cureus.com/articles/488870-closed-loop-extracorporeal-vascular-cleaning-by-staged-che...
3•iliatoli•2h ago•0 comments

Show HN: Modafinil - Let agents continue running while MacBook lid is closed

https://github.com/narcotic-sh/modafinil
3•hamza_q_•2h ago•2 comments

"genesis mission (US Government)" (Angela Collier on AI and research) [video]

https://www.youtube.com/watch?v=p6Ejmhwb8Sc
2•eqvinox•2h ago•0 comments

MCP for sandboxed, reproducible envs for agentic-first coding workflows

https://github.com/aniongithub/devcontainer-mcp
3•anionyt•2h ago•0 comments

Flipping the bozo bit on flips the learning off

https://surfingcomplexity.blog/2026/05/09/flipping-the-bozo-bit-on-flips-the-learning-off/
4•eatonphil•2h ago•0 comments

Powering the Inference Era: Inside the DigitalOcean AI-Native Cloud

https://www.digitalocean.com/blog/powering-the-inference-era
2•gmays•2h ago•0 comments

The Laboratory and the Artist

https://clereviewofbooks.com/the-laboratory-and-the-artist/
4•skogstokig•2h ago•0 comments

Memory device breaks high-temperature performance record

https://physicsworld.com/a/memory-device-breaks-high-temperature-performance-record/
5•EA-3167•2h ago•1 comments