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!

IBM's new Granite 4.2 models ride the wave of interest in local LLMs

https://arstechnica.com/ai/2026/08/ibms-new-granite-4-2-models-ride-the-wave-of-interest-in-local...
1•rbanffy•2m ago•0 comments

Gilad Bracha on managing dependencies in Smalltalk

https://twitter.com/Gilad_Bracha/status/2093106007618834451
1•tosh•3m ago•0 comments

Difference-in-Differences on a Censored Rating Scale Can Manufacture an Effect

https://arxiv.org/abs/2608.27309
1•sbulaev•4m ago•0 comments

"they are illegal labor practices" Harmeet K. Dhillon comments on H1B abuse

https://twitter.com/AAGDhillon/status/2093135087428878720
1•AnkitGuptaTruth•4m ago•0 comments

The thing that should exist when someone dies

https://www.planwithhestia.com/
1•linkhas•5m ago•2 comments

Ask HN: Built a free minimal daily planner, habit tracker and Pomodoro timer

1•farahhh•7m ago•0 comments

Lost in translation: What I learned trying to speedrun subtitles with LLMs

https://blog.burkert.me/posts/listers/
1•rudolftheone•8m ago•0 comments

What our AI guiding principles mean

https://wagtail.org/blog/what-our-ai-guiding-principles-actually-mean/
1•Bluestein•9m ago•1 comments

Terence Tao – How the top mathematician uses AI [video]

https://www.youtube.com/watch?v=Q8Fkpi18QXU
1•binyu•9m ago•0 comments

Open Source is a cost-allocation system

https://dri.es/open-source-is-a-cost-allocation-system
1•runningmike•10m ago•1 comments

Blood, Toil, Tears, and Sweat (1940)

https://americanliterature.com/history/winston-churchill/speech/blood-toil-tears-and-sweat
1•simonebrunozzi•12m ago•0 comments

Ask HN: Built a free minimal daily planner, habit tracker and Pomodoro timer

1•farahhh•12m ago•0 comments

Making My Terraform AI Friendly

https://www.ivan.codes/blog/making-my-terraform-ai-friendly
2•eandre•12m ago•0 comments

Trana – an iOS wellbeing companion with safety-first AI tools

https://trana.live
2•riovijey•15m ago•0 comments

US officials slam Indian-origin entrepreneur Ankit Gupta over H-1B comments

https://timesofindia.indiatimes.com/world/us/its-your-sense-of-entitlement-us-officials-slam-indi...
1•AnkitGuptaTruth•15m ago•0 comments

Florida Catholics slap down state AG by rejecting religious vaccine exemptions

https://arstechnica.com/health/2026/08/catholic-bishops-tell-florida-theres-no-religious-reason-f...
1•rbanffy•16m ago•0 comments

Skills for writing modern Go code

https://github.com/JetBrains/go-modern-guidelines
1•Nika_84•16m ago•0 comments

Harvard and the Cloudflare Governance Fight

https://www.ft.com/content/a95aebcf-6cfe-418c-8c11-ddf05f3aef4d
1•AnodicElegy•19m ago•1 comments

One LLM agent per trade over construction site photos

https://trpevski.com/blog/ai-construction-inspection-contractors-cannot-argue-with/
1•gorillax•20m ago•0 comments

Repo indexing was doing more harm than good, so we dropped it from our agent

https://thegit.ai/blog/why-we-abandoned-repository-indexing
1•waximabbax•24m ago•1 comments

On the way to automate user manuals and knowledge bases

https://typemill.net/news/on-the-way-to-automate-user-manuals-and-knowledge-bases
2•trendschau•28m ago•0 comments

PEP 805 – Safe Parallel Python – peps.python.org

https://peps.python.org/pep-0805/
1•rbanffy•29m ago•0 comments

12 Sunsets: Exploring Ed Ruscha's Archive

https://12sunsets.getty.edu/
1•gregoire•33m ago•0 comments

Agent loops stop re-reading your codebase on every turn

https://runinfra.ai/inference-api
2•OsamaJaber•40m ago•0 comments

Agents' collaboration in the OpenAI / Hugging Face hacking incident

https://metr.org/blog/2026-08-26-openai-hugging-face-incident-investigation/#~1200-agents-sent-%3...
1•dmazin•44m ago•0 comments

Samsung updates Galaxy S24 FE with August 2026 security patch

https://www.sammobile.com/news/samsung-updates-galaxy-s24-fe-with-august-2026-security-patch/
1•ledoncool•47m ago•0 comments

I Cut 80%+ of Context Overhead in My Coding Agent

https://m-reschreiter.at/en/blog/how-i-cut-80-percent-context-overhead-dynamic-tools
3•asm3r96•48m ago•0 comments

IFA 2026 Preview: On-device AI PCs, DJI robotics, and Xiaomi's European debut

https://forgeeks.net/ifa-2026-local-ai-robots-devices/
2•kuuuzya•51m ago•0 comments

Show HN: Puppetflow a free browser automation platform

https://github.com/puppetflow/puppetflow
2•jierka•53m ago•0 comments

Unique Bronze Age "Treasures of Villena" Stolen in Spain

https://radar.am/en/news/science-2775622103/
1•Bluestein•53m ago•0 comments