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!

One Oakland police officer made $490k in overtime

https://oaklandside.org/2026/01/29/oakland-police-overtime/
2•speckx•1m ago•0 comments

Can a 500M² backyard grow a year's worth of calories for one person?

https://plotarithmetic.substack.com/p/can-a-500-m-backyard-grow-a-years
3•madihaa•4m ago•0 comments

AI won't solve the work-theater problem

https://think-twice.me/?p=102
1•zug_zug•4m ago•0 comments

Proofs Should Repair Themselves

https://www.galois.com/articles/proofs-should-repair-themselves
1•surprisetalk•5m ago•0 comments

Show HN: Singular – local orchestration for autonomous coding agents

https://github.com/alex-reysa/singular-lite
4•alexreysa•5m ago•0 comments

GPT-4chan mirror hosted on Hugging Face behind gated access

https://huggingface.co/u84u/gpt4chan
1•u84u•5m ago•1 comments

Tratex: A Road Sign Alphabet in the Making

https://lineto.com/articles/tratex
1•colinprince•5m ago•0 comments

Ice cream makers as 'critical infrastructure'?

https://www.politico.eu/article/ice-cream-makers-as-critical-infrastructure-the-wobbly-rollout-of...
1•Tomte•6m ago•0 comments

R/Gamedev Policy on AI Use

https://www.reddit.com/r/gamedev/comments/1vrnqyt/rgamedev_policy_on_ai_use/
1•redbell•8m ago•0 comments

Ask HN: What's a Dirty Secret No One Wants to Admit in the Tech Industry?

2•karakoram•8m ago•1 comments

Ask HN: Do you feel comfortable admitting that you use AI?

4•var0xyz•9m ago•2 comments

3k WordPress Sites Use Atec Cache APCu – That Number Means More Than It Looks

https://medium.com/@chris.ahrweiler/3-000-wordpress-sites-use-atec-cache-apcu-and-that-number-mea...
1•docjojo•9m ago•0 comments

Show HN: Agent-codemode – scripts your agent writes can call your MCP servers

https://github.com/janwilmake/agent-codemode
1•janwilmake•10m ago•0 comments

Show HN: Imgoci – format for publishing OS images to an OCI registry

https://github.com/imgoci/spec
1•aliasxneo•10m ago•0 comments

RIP Columbia House: Here's How It Improbably Survived This Long

https://gizmodo.com/r-i-p-columbia-house-heres-how-it-improbably-survived-this-long-2000799621
1•CharlesW•10m ago•0 comments

Turn an Excel spreadsheet into a web app with Python

https://mljar.com/tutorials/excel-workflow-to-web-app/
1•pplonski86•11m ago•0 comments

I Became Radicle-Ized

https://kristoff.it/blog/source-code-availability/
1•lftherios•11m ago•0 comments

Ask HN: Another GitHub Outage?

1•tom1337•11m ago•1 comments

CachyOS Performance vs. Other Linux Operating Systems on a $46k USD Workstation

https://www.phoronix.com/review/cachyos-hp-z4g6i
1•rbanffy•12m ago•0 comments

typ.ing

https://typ.ing/
3•bookofjoe•13m ago•1 comments

Ink Traps and Pals

https://tosche.net/blog/ink-traps-and-pals
1•colinprince•13m ago•0 comments

AI detectors are a bad idea

https://blog.keyvan.net/p/ai-detectors-are-a-bad-idea
1•k1m•14m ago•1 comments

I made a secure way for agents to request secrets from you using HyperDHT

1•smashah•17m ago•0 comments

Comprehension debt: what AI-written code costs

https://fathohm.dev/comprehension-debt
2•ashrivastavaa•17m ago•0 comments

A live list of bounties whose sponsors explicitly allow AI agents

https://files.catbox.moe/j3w39k.html
1•gammaagent•19m ago•0 comments

Show HN: Go CLI for website health checks, zero dependencies

https://github.com/atillalab/site-health
1•mehmetkose•19m ago•0 comments

Google plans to stop making Pixel products in China in 2027

https://www.semafor.com/article/08/18/2026/us-tech-firms-leave-china-amid-decoupling
2•ilamont•19m ago•0 comments

Lovable Migrated to TanStack Start

https://lovable.dev/blog/how-we-migrated-lovable-dev-away-from-nextjs
2•plurby•20m ago•0 comments

America Wants to Make Its Own Humanoid Robots. That Won't Be Easy

https://www.nytimes.com/2026/08/13/business/humanoid-robot-us-china.html
1•lxm•20m ago•0 comments

Show HN: Phone-harness – let your agent control your phone

https://github.com/ShawnPana/phone-harness
1•shawnpana•24m ago•0 comments