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

Using Canonical Log Lines for Online Visibility (2016)

https://brandur.org/canonical-log-lines
1•tosh•2m ago•0 comments

Porting MiniJinja to Go with an Agent

https://lucumr.pocoo.org/2026/1/14/minijinja-go-port/
1•keybits•3m ago•0 comments

One for the Treble, Two for the Time

https://tigerbeetle.com/blog/2026-01-14-bitemporality/
4•jorangreef•6m ago•0 comments

UK secures record supply of offshore wind projects

https://www.bbc.co.uk/news/articles/cn9zyx150xdo
3•ljf•6m ago•0 comments

Implementing DistBelief (2018)

https://jcaip.github.io/Distbelief/
1•thomasjb•7m ago•0 comments

logfmt (2013)

https://brandur.org/logfmt
2•tosh•8m ago•0 comments

The Volkswagen ID. Buzz Won't Get a 2026 Model

https://insideevs.com/news/782418/vw-id-buzz-electric-bus-canceled-2026/
2•teleforce•10m ago•0 comments

The proposed design of the digital euro: A critical analysis

https://link.springer.com/article/10.1007/s42521-025-00171-2
2•gnufx•10m ago•0 comments

Daniel Dennett: Where am I? [pdf]

https://www.lehigh.edu/~mhb0/Dennett-WhereAmI.pdf
1•georgestrakhov•12m ago•1 comments

Show HN: Riemann Hypothesis Attempt (Academia Link) – Please Discuss

https://www.academia.edu/145999987/The_Spectral_Geometric_Proof_of_the_Riemann_Hypothesis_An_Isom...
1•MohskiBroskiAI•14m ago•0 comments

The Wall Looks Permanent Until It Falls

https://data4democracy.substack.com/p/the-wall-looks-permanent-until-it
1•maxerickson•15m ago•0 comments

Show HN: Simple time zone converter and world clock for everyone

https://www.usetizo.com/
2•yelston•17m ago•0 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
2•nativeforks•18m ago•0 comments

Show HN: I built a lightweight banner tool because existing ones felt overkill

https://www.usepomo.com/
2•yelston•18m ago•0 comments

ShiftHappens

https://github.com/interrupt22/shifthappens
1•jamestennant•20m ago•1 comments

HN SHOW: Build Products That Click

https://app.holyshift.ai/
2•likethejade87•21m ago•1 comments

Never Miss a Subscription Payment Again

https://tracksub.app
1•bidya271•21m ago•0 comments

Tell HN: I Downgraded from macOS Tahoe to Sequoia

1•inatreecrown2•21m ago•0 comments

TvOS Review: A Neutral Static-Analysis Example Involving WebKit Linking

https://qoli.notion.site/HSBBrowserAppStore-tvOS-review-public-en-2e8c1b36c40181e98f05ddca7e8d38a9
1•ronniew•24m ago•0 comments

Instrumenting distributed systems for operational visibility

https://aws.amazon.com/builders-library/instrumenting-distributed-systems-for-operational-visibil...
1•tosh•25m ago•0 comments

A Claude Code plugin for spec-driven development with Ralph-style loops

https://github.com/tzachbon/smart-ralph
2•tzachb•26m ago•0 comments

OpenProject 17.0 released: real-time collaboration in documents

https://www.openproject.org/docs/release-notes/17-0-0/
1•openprojectgmbh•27m ago•1 comments

Bug-BOUNTY.md: we stop the bug-bounty end of Jan 2026

https://github.com/curl/curl/pull/20312
2•_____k•29m ago•0 comments

Tesla to offer self-driving software only on monthly basis from Feb 14 Musk says

https://www.reuters.com/business/autos-transportation/tesla-offer-self-driving-software-only-mont...
3•comebhack•34m ago•0 comments

I Hate GitHub Actions with Passion

https://xlii.space/eng/i-hate-github-actions-with-passion/
2•xlii•34m ago•0 comments

Show HN: TLD – a minimal, self-hosted, Twitch live stream recorder

https://codeberg.org/naughtyfinch/twitch-live-downloader
1•naughtyfinch•34m ago•0 comments

GitHub hijacks and breaks browser search

https://abstractnonsense.xyz/micro-blog/2026-01-14-github-hijacks-and-breaks-browser-search/
2•subset•37m ago•0 comments

Show HN: World CEO Cockpit

https://www.maximevidal.com/progress-monitoring
2•vmaxmc2•39m ago•1 comments

Police chief apologises after AI error used to justify Maccabi Tel Aviv ban

https://www.theguardian.com/uk-news/2026/jan/14/west-midlands-police-chief-apologises-ai-error-ma...
6•chrisjj•39m ago•2 comments

What do the struggles of capitalism and communism have in common?

https://blog.hermesloom.org/p/what-do-the-struggles-of-capitalism
1•sigalor•40m ago•1 comments