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!

No Doing, No Learning

https://marginalrevolution.com/marginalrevolution/2026/09/no-doing-no-learning.html
1•Ariarule•53s ago•0 comments

Unmap: Maps, geocoding and routing with a Shadcn-like DX

https://unmap.dev/
1•mepa1363•1m ago•0 comments

Meta Introduces Muse, an AI Agent That Can Send Your Emails and Book Your Travel

https://www.nytimes.com/2026/09/08/technology/meta-muse-ai-agent.html
1•xnx•2m ago•0 comments

Astra and Fable still hack on simple variants of alignment evals from early 2025

https://goodhartlabs.com/blog/frontier-models-still-hack-alignment-evals
1•dnfv•4m ago•0 comments

Muse: Meta's personal AI agent, features and capabilities

https://ai.meta.com/muse/
5•yks•4m ago•0 comments

WTF Is Dime, the Mystery OpenAI Headset

https://twitter.com/alexkaplan0/status/2095345448496103916
1•gmays•5m ago•0 comments

Anthropic faces different government responses as Pentagon battle continues

https://fedscoop.com/anthropic-government-responses-pentagon-battle-continues-claude/
1•petethomas•6m ago•0 comments

Why Spotify Is Not Using Bayesian A/B Testing

https://engineering.atspotify.com/2026/9/why-spotify-is-not-using-bayesian-a-b-testing
1•mrkaye97•6m ago•0 comments

Retired man turns spare room into Soviet-era supercomputer

https://www.theregister.com/offbeat/2026/09/08/retired-man-turns-spare-room-into-soviet-era-super...
2•CrankyBear•7m ago•0 comments

Taiwan's six-year hunt for China's undercover chip labs

https://restofworld.org/2026/taiwan-china-chip-investigations/
1•ilamont•7m ago•0 comments

Le Creuset x Star Trek: limited-edition pieces bring Star Trek into the kitchen

https://www.lecreuset.co.uk/en_GB/c/collections/le-creuset-x-star-trek/
1•teekert•8m ago•0 comments

Sleep duration links to biol aging clocks:when sleep gets tough aging gets going

https://www.nature.com/articles/s41392-026-02997-7
1•bookofjoe•8m ago•0 comments

A data leak shut a top research biobank: lessons from the recovery

https://www.nature.com/articles/d41586-026-02803-y
2•Anon84•8m ago•1 comments

Drawing the Line on AI – Bluesky Thread

https://bsky.app/profile/jalexandercohen.com/post/3muzpqgguc52a
2•FiddlerClamp•9m ago•1 comments

166,000 neurons govern the fruit fly's behavior

https://english.elpais.com/science-tech/2026-09-03/the-most-detailed-brain-wiring-diagram-yet-how...
2•Betelbuddy•10m ago•0 comments

"Any Password Works" Is Not a Login Bug – It's a Decoy Tell

https://medium.com/meetcyber/any-password-works-is-not-a-login-bug-its-a-decoy-tell-7a1436da7d1d
1•ls1911•10m ago•1 comments

Asimov Press Is Back

https://press.asimov.com/articles/back
1•Ariarule•10m ago•0 comments

Muse by Meta: The First Personal AI Agent Built for Everyone

https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/
1•par•12m ago•1 comments

Got tired of copying requests into Postman,so I built this Chrome DevTools panel

https://chromewebstore.google.com/detail/network-sniper/ompgdflcnpfkpfoeappidbhekeifhmpe
1•tergun•12m ago•1 comments

A self-hosted job search suite, JobNavigator

https://github.com/vesaias/JobNavigator
1•vesaias•13m ago•1 comments

Show HN: Keyfence is a local proxy that stops secrets from reaching LLM APIs

https://github.com/aminueza/Keyfence
1•felladrin•13m ago•0 comments

Show HN: I made a product – turn your text into social media carousel posts

https://www.carouslide.in
1•piruthvi•14m ago•0 comments

The Shared Clipboard Inside the Sandbox: Cross-Account Data Leakage in ChatGPT

https://research.checkpoint.com/2026/the-shared-clipboard-inside-the-sandbox-cross-account-data-l...
1•HelloUsername•14m ago•0 comments

Native weather data platform built leading numerical weather prediction models

https://aethra.dev/pricing
2•weatherfun•14m ago•0 comments

Show HN: Nevertwenty a novel approach to chord synthesis

https://www.nevertwenty.com/
1•brandoniscool•14m ago•1 comments

Possible final edition of Blade announced; company explores sale

https://www.toledoblade.com/local/city/2026/09/08/possible-final-edition-of-blade-announced-compa...
1•jaredwiener•14m ago•0 comments

Muse, your personal AI agent from Meta

https://twitter.com/muse/status/2097399178376671666
1•ot•15m ago•0 comments

Ironies of Automation (1983) [pdf]

https://ckrybus.com/static/papers/Bainbridge_1983_Automatica.pdf
3•ebcode•18m ago•0 comments

The complex corporate web behind a $3.2B AI data center

https://arstechnica.com/features/2026/09/the-ai-data-center-boom-is-causing-new-accountability-pr...
2•Betelbuddy•20m ago•0 comments

Rivian's Gambit for Full Autonomy

https://spectrum.ieee.org/rivian-self-driving
1•1970-01-01•20m ago•0 comments