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!

Toot.community Is Shutting Down

https://social.jorijn.com/@jorijn/statuses/01KYN00AP3NCZXCFB96KQB8GN2
1•speckx•1m ago•0 comments

Earth Is Lumpy as Hell

https://nautil.us/earth-is-lumpy-as-hell-1283204
1•Brajeshwar•2m ago•0 comments

Feeling the Sting of Climate Change

https://archive.org/details/GMM-10481
1•hakkikonu•2m ago•1 comments

Yair Lapid backs 'Biblical' borders for Israel

https://www.middleeasteye.net/news/israel-yair-lapid-biblical-borders
1•hebelehubele•2m ago•0 comments

Karpowership – Floating Power Plants

https://en.wikipedia.org/wiki/Karpowership
1•thelastgallon•3m ago•0 comments

Donald Trump Silenced the Voice of America

https://www.newyorker.com/news/annals-of-communications/how-donald-trump-silenced-the-voice-of-am...
1•rbanffy•4m ago•0 comments

Agent Proxy: Secure Credential Brokering for Agents

https://infisical.com/blog/agent-proxy
2•FinnLobsien•4m ago•0 comments

Agents explained, what makes an LLM an agent?

https://raw.githubusercontent.com/langens-jonathan/blog/refs/heads/main/20260729_AgentsDefined_Pa...
1•flowofcontrol•5m ago•0 comments

A Primer on Circadian Rhythms (2017)

https://biolayne.com/articles/research/primer-circadian-rhythms/
1•geneticdrifts•6m ago•0 comments

Helping companies control which AI skills their teams can use

https://detent.cloud/
1•tommeddubai•6m ago•0 comments

Why is my Claude agent being so mean to its subagent?

https://xcancel.com/antibot/captcha
2•theanonymousone•7m ago•1 comments

Firstmate: Talk to one agent. Ship with a crew

https://github.com/kunchenguid/firstmate
2•metadat•7m ago•0 comments

Stacked PRs are now live on GitHub

https://github.blog/changelog/2026-07-30-stacked-pull-requests-are-now-in-public-preview/
5•tomzorz•9m ago•0 comments

Show HN: I was able to run tiberian sun on cncnet on an M4 MacBook Pro

https://github.com/piyiotisk/cncnet-ts-client-package/blob/master/docs/running-tiberian-sun-on-ap...
1•piyiotisk•10m ago•0 comments

MarkText: A simple and elegant open-source Markdown editor

https://marktext.me
1•nkjoep•10m ago•0 comments

Debian CVE Fixes over Time

https://sigwait.org/~alex/blog/2026/07/30/h1rmR5.html
3•speckx•10m ago•0 comments

Why NPM Dependency Trees Are So Big

https://nesbitt.io/2026/07/28/why-npm-dependency-trees-are-so-big.html
1•type0•10m ago•0 comments

Texas Heat vs. Humanoid – what fails first joints / on-board compute?

https://thehumanoidshop.com/blog/humanoid-robot-105f-texas-heat-telemetry
1•cpsk•11m ago•0 comments

Show HN: Tuneloop – a local CLI for analyzing coding agent session transcripts

https://github.com/tuneloop/tuneloop
4•behat•11m ago•0 comments

The Million-Dollar Talent Wars for 20-Something Math Geniuses

https://www.wsj.com/tech/ai/the-million-dollar-talent-wars-for-20-something-math-geniuses-5cc5a757
2•bookofjoe•13m ago•1 comments

Reproducing Split Brain on CloudNativePG

https://coroot.com/blog/reproducing-split-brain-on-cloudnativepg/
1•ItsGNULinux_•13m ago•0 comments

Show HN: Maybe AI agents shouldn't decide what's sensitive

https://github.com/softcane/hamza
1•pradeep1177•14m ago•0 comments

Lasers could recharge drones in mid-air to extend flying time

https://www.thenationalnews.com/future/technology/2026/07/29/lasers-could-recharge-drones-in-mid-...
1•yogthos•15m ago•0 comments

First-of-kind Guillain-Barré drug switches off part of immune system

https://www.newscientist.com/article/2582376-first-targeted-treatment-for-guillain-barre-syndrome...
2•atombender•17m ago•1 comments

Show HN: GitHub scanner that finds real ISO 27001/SoC 2 gaps – no AI, no signup

https://normos.io/free-github-scan
1•chrisbuilds42•19m ago•0 comments

A Photo of the Sun Through the Earth

https://www.stevestewartwilliams.com/p/peering-at-the-sun-through-the-earth
2•taylorbuley•20m ago•0 comments

Leopold Aschenbrenner's Situational Awareness seeks capital after AI rout

https://www.ft.com/content/280336bf-dbed-405f-b38e-5af644a21549
2•d_silin•21m ago•0 comments

UEFA members vote to boycott FIFA if Infantino's World Cup plans pursued

https://www.aljazeera.com/sports/2026/7/30/uefa-members-agree-fifa-boycott-if-world-cup-plans-pur...
4•TechTechTech•21m ago•1 comments

Amazon's Zoox to begin charging for rides in Las Vegas after clearing NHTSA

https://www.cnbc.com/2026/07/30/amazon-zoox-robotaxi-rides-las-vegas.html
1•jameslk•21m ago•0 comments

FAA just made an airplane legal that could not have been certified a month ago

https://www.federalregister.gov/documents/2026/07/16/2026-14298/accepted-consensus-standards-for-...
1•r2sk5t•22m ago•2 comments