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•1y 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!

Turbopuffer crossed $100M run-rate in March

https://twitter.com/Sirupsen/status/2057470756070781400
2•conormccarter•1m ago•0 comments

Starship V3: Everything you need to know [video]

https://www.youtube.com/watch?v=y_ecCDqTSJs
1•badc0ffee•1m ago•1 comments

GitHub faces a fight for its survival at Microsoft

https://www.theverge.com/tech/935250/microsoft-github-struggles-notepad
3•sbulaev•2m ago•0 comments

Who's the Best Batter? Estimating Probabilities from Unevenly Collected Data

https://winvector.github.io/WVExamples/blog/batting-estimation-stan/baseball_stats/
1•jmount•3m ago•0 comments

Why Taxing the Wealthy Is Harder Than It Looks

https://ofdollarsanddata.com/why-taxing-the-wealthy-is-harder-than-it-looks/
1•RickJWagner•4m ago•0 comments

Ted Turner Was Elon Musk Before Elon Musk Was Elon Musk

https://www.realclearmarkets.com/articles/2026/05/21/ted_turner_was_elon_musk_before_elon_musk_wa...
1•RickJWagner•4m ago•0 comments

Ask HN: What AI prompts have you found most reliable for actual work?

2•HrachShah•6m ago•1 comments

Ask HN: Is HN Blocking Mullvad VPN?

2•burger_moon•7m ago•1 comments

Megalodon: Mass GitHub Repo Backdooring via CI Workflows

https://safedep.io/megalodon-mass-github-repo-backdooring-ci-workflows/
2•Sudhanshu2310•7m ago•0 comments

NYS sues prediction platforms over gambling allegations

https://www.newsday.com/business/technology/prediction-markets-new-york-attorney-general-letitia-...
2•1vuio0pswjnm7•11m ago•0 comments

Proxmox Virtual Environment 9.2 with Dynamic Load Balancer Released

https://www.proxmox.com/en/about/company-details/press-releases/proxmox-virtual-environment-9-2
2•speckx•14m ago•0 comments

Codex for Everything Exfiltrates Connected Data

https://www.promptarmor.com/resources/codex-for-everything-exfiltrates-connected-data
2•takira•16m ago•0 comments

Inside SpaceX's IPO Plan

https://www.ft.com/content/a59be3cf-eee2-4b10-9c86-b6e4dc0dbbdb
3•1vuio0pswjnm7•16m ago•1 comments

The fastest growing political party is Cockroach Janata Party [video]

https://www.youtube.com/watch?v=uuFmKx5K9tc
1•Guestmodinfo•16m ago•0 comments

Leetcode.nvim

https://github.com/sidntrivedi/leetcode.nvim
2•sidntrivedi•18m ago•1 comments

Agents Sometimes Catastrophize

https://futuresearch.ai/blog/agents-catastrophize/
6•ddp26•18m ago•0 comments

EPA Official Agrees to Review Data Center Water Impact (AOC Shows Dirty Water)

https://news.bloomberglaw.com/environment-and-energy/epa-to-investigate-meta-data-center-link-to-...
2•zzzeek•19m ago•1 comments

DashAttention: Differentiable and Adaptable Sparse Hierarchical Attention

https://arxiv.org/abs/2605.18753
3•cmogni1•21m ago•0 comments

Test-Driving the Lance Lakehouse Format in DuckDB

https://duckdb.org/2026/05/21/test-driving-lance
2•tanelpoder•23m ago•0 comments

S3-Compatible object storage at $15/TB with free egress and CDN

https://filebase.com/blog/introducing-filebase-object-storage-with-free-egress/
4•acejam•23m ago•0 comments

Temporal is becoming Crystal Palace Football Club's front-of-shirt partner

https://temporal.io/blog/crystal-palace-partnership
2•ldite•23m ago•0 comments

SpaceX is heavily reliant on Starlink for growth and profit for IPO

https://www.cnbc.com/2026/05/21/spacex-starlink-growth-profit-nasdaq-ipo.html
2•drob518•24m ago•1 comments

SpaceX IPO reads like Hollywood fantasy version of the future

https://fortune.com/2026/05/21/spacex-ipo-musk-mars-colony-dinosaurs-space-exploration/
4•1vuio0pswjnm7•25m ago•2 comments

Apple to broadcast MLS game shot entirely on 15 iPhones

https://variety.com/2026/digital/news/apple-mls-match-shot-entirely-on-iphone-first-time-1236755744/
1•dkobia•25m ago•0 comments

White House postpones AI executive order signing ceremony

https://www.axios.com/2026/05/21/white-house-postpones-ai-eo-signing
2•anigbrowl•25m ago•0 comments

Ask HN: Failing interviews for mid-level SWE in UK, advice please

1•mjb8086•26m ago•0 comments

I created an extension for Claude that shares context on how you work

https://github.com/stubbleapp/Stubble
1•satay_chicken31•29m ago•0 comments

A multi-agent system for automating scientific discovery

https://www.nature.com/articles/s41586-026-10652-y
1•Timofeibu•29m ago•0 comments

Chewing gum restores dad's taste and smell years after Covid

https://discover.swns.com/2026/05/chewing-gum-restores-dads-taste-and-smell-years-after-covid/
12•speckx•31m ago•1 comments

Show HN: From one Claude agent to a fleet – in five small steps

1•sermakarevich•31m ago•0 comments