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!

Missing Maryland man with Alzheimer's shows up in Philadelphia, plays a piano

https://www.washingtonpost.com/dc-md-va/2026/11/26/missing-maryland-man-with-alzheimers-shows-up-...
1•wallflower•20s ago•0 comments

Decision Models Inherit Their Base Model's Risks. Hirundo Fixes Them

https://www.hirundo.io/blog/decision-models-inherit-their-base-models-risks-hirundo-fixes-them
1•mishana4life•1m ago•0 comments

Sin-Eater

https://en.wikipedia.org/wiki/Sin-eater
1•firefax•1m ago•0 comments

Tears and defiance: mathematicians grapple to find meaning after AI solutions

1•laurex•2m ago•0 comments

Platforms for Golang Video Streaming

https://www.red5.net/blog/12-platforms-for-golang-video-streaming/
1•mondainx•3m ago•0 comments

Silicon Valley got just what it wanted on Jensen

https://www.programmablemutter.com/p/silicon-valley-got-just-what-it-wanted
1•rwmj•4m ago•0 comments

Dear Hypervisor, please don't read this

https://bschaatsbergen.com/posts/dear-hypervisor-please-dont-read-this/
2•bschaatsbergen•5m ago•0 comments

What Is RTSP? How It Works and Why It Still Matters

https://www.red5.net/blog/4-reasons-rtsp-streaming-is-still-relevant/
1•mondainx•5m ago•0 comments

Rejection Will Have Consequences: Inside Team Trump's Takeover of a Chips Giant

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
1•pseudolus•7m ago•1 comments

An app to roll calls without an assistant

http://phonesheet.org
2•deboulaymxf•8m ago•0 comments

Show HN: Interactive GTA 6 Map – casinos, racing and cash-out spots in Leonida

https://interactivegta6map.com/
2•fireflywedding•8m ago•0 comments

Noscript November Challenge

https://dbushell.com/2026/11/30/no-javascript-november-challenge/
1•nothing_is_real•9m ago•0 comments

Omfp – Emacs philosophy in the age of agent orchestrators

https://github.com/aciceri/omfp
1•aciceri•12m ago•1 comments

Show HN: Factorio but with Unreliable Components

https://think-twice.me/public/rely/
1•zug_zug•14m ago•0 comments

Attack policy selection can make monitor evaluations misleading

https://www.aisi.gov.uk/blog/attack-policy-selection-can-make-monitor-evaluations-misleading
1•donkan168•15m ago•0 comments

A Clear Case of Treason

https://deanblundell.substack.com/p/breaking-iran-used-elon-musks-starlink
3•lksugarman•16m ago•0 comments

Does Your Coding Agent Need Its Own Programming Language?

https://twitter.com/jdegoes/status/2126322477395562615
1•alex_hirner•16m ago•0 comments

CacheCon: A Community Security Conference in Fort Collins, CO, USA

https://cachecon.com/
1•mooreds•18m ago•0 comments

Astronomers Accidentally Find a Rare Triple-Star System

https://www.smithsonianmag.com/smart-news/astronomers-accidentally-find-a-rare-triple-star-system...
1•pseudolus•18m ago•0 comments

Show HN: M3llo – voice, streams and a crew feed. Rust/C++, 80MB RAM

https://m3llo.app
2•b0bben•19m ago•0 comments

Google DeepMind chief: recent leap in AI capabilities is from self-improvement

https://www.ft.com/content/f39caa56-dcac-4a01-83d2-64979e5709b1
1•bazzmt•20m ago•0 comments

The 'quiet quitters' skiving off work – but still getting paid

https://www.theguardian.com/lifeandstyle/2026/nov/29/i-watch-youtube-for-six-hours-then-go-home-t...
1•mindracer•22m ago•0 comments

AI bots wreak havoc with UK restaurant bookings

https://www.theguardian.com/business/2026/nov/28/ai-bots-wreak-havoc-uk-restaurant-bookings-meta-...
2•chrisjj•24m ago•0 comments

Show HN: I built a Anonymous LinkedIn Profile Viewer.Need suggestions to improve

https://www.onestoplinkedin.com/free/anonymous-linkedin-viewer
1•HotMonkey•24m ago•0 comments

Show HN: A Mac menu bar app that brings each download, airdrop to your pointer

https://withperch.app/
1•iamdavidoti•24m ago•0 comments

Ask HN: Tips/suggestions to build a software/AI "Personal Assistant"?

1•simonebrunozzi•26m ago•1 comments

Is P Versus NP Formally Independent? (2003) [pdf]

https://www.scottaaronson.com/papers/indep.pdf
1•QuadmasterXLII•26m ago•0 comments

Mediocre AI or Sampling Error?

https://age-of-product.com/mediocre-ai/
1•swolpers•26m ago•0 comments

SmallRun at Six Months – First Finished Runs

https://smallrun.net/blog/smallrun-admin/smallrun-at-six-months-first-finished-runs
1•cschick•27m ago•1 comments

Show HN: OpenTimeline – a shared timeline for people and AI agents

https://github.com/mateonunez/opentimeline
1•mateonunez•28m ago•0 comments