frontpage.
newsnewestaskshowjobs

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!

California's Tides Enter 'Uncharted Territory'

https://www.nytimes.com/2026/11/25/weather/california-king-tides-sf-la.html
1•geox•21s ago•0 comments

Frogger Beyond Exploit Pt. 2, or Playing with Bare-Metal x86

https://agarmash.com/posts/xbox-frogger-beyond-exploit-part-2/
1•agarmash•3m ago•0 comments

Show HN: A never-ending programming contest for chess and shogi engines

https://tinyai.run/
1•tinyairun•4m ago•0 comments

The Usaid Files

https://reclaimthenet.org/usaid-files
1•MassPikeMike•6m ago•0 comments

Growser: Brave browser without bloat, ads or accounts for free

https://growser.org/
1•DeepLogin•6m ago•1 comments

RL Infrastructure at Microsoft AI

https://microsoft.ai/news/rl-infrastructure-at-microsoft-ai/
1•doomroot13•7m ago•0 comments

Scaling Swarms to Agents

https://huggingface.co/spaces/HuggingFaceSwarms/scaling-swarms
1•lewtun•10m ago•0 comments

Macy's Thanksgiving Day Parade Postponed Until Saturday

https://www.nytimes.com/live/2026/11/25/nyregion/macys-thanksgiving-parade-postponed
1•jdboyd•10m ago•0 comments

Analyses: Scientists moved between the US and rest of the world

https://topcitedscientists.com/figures/us-moves-by-region/
1•kkk4seis•10m ago•0 comments

Is it time to switch to Cybersecurity?

1•s_u_d_o•12m ago•0 comments

Usaid files show Biden admin involvement with social media companies – Newsweek

https://www.newsweek.com/usaid-files-show-biden-admin-involvement-with-social-media-companies-127...
2•Anon84•17m ago•0 comments

CachyOS November 2026 Adds Easy Anti-Cheat Linux v2 Support

https://www.techtroduce.com/cachyos-november-2026-easy-anti-cheat-linux-v2/
1•debo_•17m ago•0 comments

S&P warns Nvidia's board may be compromised

https://www.reuters.com/technology/us-finds-no-evidence-china-directed-executive-spy-nvidia-ceo-w...
5•narmiouh•18m ago•1 comments

Email Sending is now available on the Workers Free plan

https://developers.cloudflare.com/changelog/post/2026-11-24-email-sending-workers-free/
1•e2e4•22m ago•0 comments

Their loss changed Appalachian forests forever.Now the American chestnut is back

https://www.theguardian.com/environment/2026/nov/24/american-chestnut-tree-restored-science-persi...
1•bookofjoe•22m ago•0 comments

Pop _OS 26.04 LTS Has Landed

https://system76.com/blog/post/pop_os-26-04-lts-has-landed
1•debo_•24m ago•0 comments

Postel Awardee Dave Täht Made Every Millisecond Count

https://www.internetsociety.org/blog/2026/11/postel-awardee-dave-taht-made-every-millisecond-count/
2•debo_•25m ago•0 comments

Jev is (probably) Qwen3.5-35B-A3B

https://modaic.dev/blog/latency-doesnt-lie
4•csoham•25m ago•0 comments

Duran Duran guitarist Andy Taylor dies aged 65

https://www.bbc.co.uk/news/articles/cmp3vk6vr44po
6•iamben•25m ago•0 comments

What VP ≠ VNP Means (In 3 Minutes)

https://www.friedgil.com/vpvnp
2•gmays•27m ago•0 comments

The ADL's Onslaught on Wikipedia to Infiltrate and Take over the Platform

https://www.mintpressnews.com/inside-the-adls-onslaught-on-wikipedia-to-infiltrate-take-over-the-...
3•unitedfirmware•30m ago•0 comments

1.5 TB of Dark Net Market Scrapes (2015)

https://gwern.net/dnm-archive
2•zenincognito•30m ago•0 comments

Coherent Energy Transformations: What elements can you make?

https://starfire.tech/shock/
1•jerlendds•31m ago•0 comments

Jensen Huang, Trump and the 11 Days That Rocked Nvidia

https://www.wsj.com/finance/stocks/jensen-huang-trump-and-the-11-days-that-rocked-nvidia-604fff0b
2•fortran77•33m ago•1 comments

SpaceX to contribute one share of its Class A common stock to every kid

https://ir.spacex.com/updates/releases-details/2026/SpaceX-to-Invest-in-the-Next-Generation-of-Am...
7•bilsbie•33m ago•3 comments

OWE-Bench: A long-horizon benchmark for measuring real-world engineering

https://arxiv.org/abs/2611.30017
1•matt_d•34m ago•0 comments

Play /Bin/Sh Invaders

https://invaders.now/
1•jrmg•37m ago•0 comments

Corporate 'orbital data centre' proposals are dangerous for humanity

https://theconversation.com/corporate-orbital-data-centre-proposals-are-dangerous-for-humanity-29...
3•cdrnsf•39m ago•0 comments

Mineillion: A daily Minecraft trivia game where rarer answers dig deeper

https://mineillion.space/
1•andre_coleman_m•39m ago•0 comments

The Near-Coup at Nvidia and the War on Open-Source AI

https://brownstone.org/articles/the-near-coup-at-nvidia-and-the-war-on-open-source-ai/
9•bushwart•41m ago•1 comments