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!

Has the Autonomous Trucking Revolution Arrived?

https://phenomenalworld.org/analysis/has-the-autonomous-trucking-revolution-arrived/
1•demonsthenes•5m ago•0 comments

11 of 23 Core Open Source Projects Run on 1 or 2 People

https://linuxstans.com/11-of-23-core-open-source-projects-run-on-1-or-2-people/
2•dxs•5m ago•0 comments

Clinical trial of a prion disease drug candidate begins enrolling participants

https://www.broadinstitute.org/news/clinical-trial-prion-disease-drug-candidate-begins-enrolling-...
1•luu•9m ago•0 comments

Absolute System Priority (Short Tech Satire)

1•PlasmaTop•14m ago•0 comments

Email-Like Inbox for Agentic Engineering

https://twitter.com/plannotator/status/2108589088139886769
1•ramoz•20m ago•0 comments

Scaling the Burden of Proof to the Cost a Claim Imposes

https://zenodo.org/records/23271710
1•skwasimin•20m ago•1 comments

Show HN: Clanking – Turn your coding agents' activity into a subtle soundscape

https://github.com/chrchr/clanking
1•chrchr•21m ago•0 comments

Anthropic and OpenAI wargaming public and political revolt after AI catastrophe

https://decrypt.co/380621/openai-anthropic-quietly-rehearsing-ai-catastrophe
2•thoughtpeddler•25m ago•0 comments

Faster Python startup with lazy imports

https://lemire.me/blog/2026/10/09/faster-python-startup-with-lazy-imports/
1•chmaynard•28m ago•0 comments

The logarithms of rational numbers have irrationality exponent 2 [pdf]

https://jdb19937.github.io/log-irrationality-measure/logmeasure.pdf
1•jdb1729•30m ago•1 comments

HostMath – Airbnb profit calculator with break-even occupancy and payback

https://hosttmath.ctonew.app/?src=hn
2•Hostmath•34m ago•0 comments

Compiling Rust to readable C with Eurydice

https://lwn.net/Articles/1055211/
1•peter_d_sherman•34m ago•0 comments

YouTube Video Shorts for PC

https://chromewebstore.google.com/detail/youtube-video-shorts-para/egnckcecfjkfefjbpdkhgjgggdhpgina
1•DevFunny•34m ago•0 comments

AI system submits false homicide tip to Philadelphia police

https://www.washingtonpost.com/technology/2026/10/09/ai-system-submits-false-homicide-tip-philade...
2•reaperducer•38m ago•1 comments

Argument from Ignorance

https://en.wikipedia.org/wiki/Argument_from_ignorance
2•suopspaces•39m ago•0 comments

Salesforce: AIForce Is Officially SIForce

https://twitter.com/Benioff/status/2108658674118111442
2•2OEH8eoCRo0•39m ago•1 comments

DNA Typewriter records cell lineage history of mouse: zygote–late organogenesis

https://www.science.org/doi/10.1126/science.ael0508
1•bookofjoe•39m ago•0 comments

The gene-regulatory evolution of the human skeleton

https://www.nature.com/articles/s41586-026-11053-x
1•wslh•42m ago•0 comments

Show HN: Programming Language Wars: a 2d game about language 0xbeef

http://github.avestura.dev/pl-wars/
1•avestura•42m ago•0 comments

A game where you rotate buildings to change gravity

https://store.steampowered.com/app/4590270/Fallgrade/
1•vladkudas•44m ago•0 comments

Jev Playground

https://jevplayground.com
1•RyanShook•47m ago•0 comments

Maybe the Rapture Is Here

https://www.noahpinion.blog/p/maybe-the-rapture-is-already-here
1•nozzlegear•49m ago•0 comments

Building an RL environment and dataset for legal

https://github.com/decover-tech/frontier-legal
1•ravitandon1990•49m ago•0 comments

Rewriting Prime Agent in Rust

https://www.primeintellect.ai/blog/prime-agent-rust
2•piotrgrabowski•56m ago•0 comments

I built a self-contained ship tracker for my girlfriend [video]

https://www.youtube.com/watch?v=lsG5w9Y8AuI
1•mkaic•58m ago•1 comments

How F1 cars collect data in real time [video]

https://www.youtube.com/watch?v=tosJ0j8K31c
2•vsskanth•58m ago•0 comments

Scottish artist marks 100 years of Schrödinger equation with new installation

https://physicsworld.com/a/scottish-artist-marks-100-years-of-schrodinger-equation-with-new-insta...
1•sohkamyung•1h ago•0 comments

Local LLM Inference at Scale with vLLM

https://data4sci.substack.com/p/local-llm-inference-at-scale-with
1•Anon84•1h ago•0 comments

Generalization Dynamics of LM Pre-Training

https://arxiviq.substack.com/p/generalization-dynamics-of-lm-pre
1•porridgeraisin•1h ago•0 comments

Boro: Nvidia's Open-Source Effort for AI-Assisted Linux Kernel Development

https://www.phoronix.com/news/NVIDIA-Boro-Linux-Kernel-AI
1•fratellobigio•1h ago•0 comments