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!

AI agent on a network made for geniuses to lead and focus on what's important

1•silisleek•1m ago•0 comments

Ask HN: How do you call the "-" on a keyboard?

1•Igor_Wiwi•4m ago•2 comments

The Enterprise Gap: From "Vibe Coding" to Executable Architecture

https://wolkensteiner.substack.com/p/the-enterprise-gap-from-vibe-coding
1•arman-w-jalili•6m ago•0 comments

Drop-in Apache Spark replacement written in Rust

https://github.com/lakehq/sail
2•davedx•7m ago•1 comments

Show HN: Find code on your site that can be replaced with modern HTML and CSS

https://cssradar.com/
1•Theoleff•10m ago•0 comments

Show HN: ChacharApp – Free, local voice dictation for Mac (open source)

https://juanpablocastro.com/en/projects/chacharapp/
1•juanpablius•10m ago•0 comments

Concurrency in Serene's Runtime

https://lxsameer.com/essays/concurrency-in-serene-1/
1•lxsameer•10m ago•0 comments

Data centres vs. housing: how London became a central battleground

https://www.ft.com/content/67db9b64-ec26-442e-8356-6c4411eba66e
1•thm•11m ago•0 comments

Claude gen-5 models show significant regression in BullshitBench

https://github.com/anthropics/claude-code/issues/83510
2•GodelNumbering•12m ago•0 comments

Show HN: Newsroom Self-hosted, AI-ranked meta-aggregator for HN Subreddits etc.

https://github.com/SpektrNO/newsroom
1•franktore•13m ago•0 comments

Ask HN: Drop your landing page for community review and feedback

1•pranshuchittora•15m ago•1 comments

Show HN: Gitleaks for Codex and Claude Code

https://github.com/softcane/hamza
1•pradeep1177•16m ago•0 comments

Spider-Man: Brand New Day leak racks up millions of views

https://www.theverge.com/entertainment/974199/spider-man-brand-new-day-leak-box-office-records
1•thm•16m ago•0 comments

Show HN: A MicroVM Launcher for BSD and Linux Guests on macOS/Linux (libkrun)

https://github.com/tsirysndr/bsdkrun
1•tsiry•21m ago•0 comments

Chaos of border crossing gives way to limbo for Moroccans on Ceuta's streets

https://www.theguardian.com/world/2026/aug/02/ceuta-border-crossing-spain-morocco
1•teleforce•22m ago•0 comments

JSON Is Lying to You

https://blog.gaborkoos.com/posts/2026-08-03-Your-JSON-Is-Lying-to-You/
1•alvis•24m ago•0 comments

Show HN: FreeWebPToJPG – Batch convert 1k images via Go and SSE

https://freewebptojpg.com
2•harran•27m ago•0 comments

Kakonomics: Or, the preference for Low quality outcomes (2011)

http://gloriaoriggi.blogspot.com/2011/01/kakonomics-or-strange-preference-for.html
2•1659447091•28m ago•1 comments

Call Stack Diffs

https://oskrim.github.io/engineering/2026/08/02/call-stack-diffs.html
2•mpweiher•29m ago•0 comments

GDP growth shows no evidence of AI productivity boom

https://cepr.net/publications/gdp-growth-in-second-quarter-slows-to-1-5-no-evidence-of-ai-product...
2•konmok•34m ago•1 comments

Coldcard hack just grew to $89M, call your friends

https://www.thestreet.com/crypto/markets/coldcard-hack-just-grew-to-75m-call-your-friends
1•thm•40m ago•1 comments

Nvidia releases Cosmos 3 Edge for robotics

https://huggingface.co/blog/nvidia/cosmos3edge
2•rohanath•41m ago•0 comments

YInMn Blue

https://chemistry.oregonstate.edu/chemistry-news-events/yinmn-blue
1•gregsadetsky•43m ago•0 comments

Romania explodes rock to get more water flow to nuclear reactor

https://www.theguardian.com/world/live/2026/aug/03/europe-heatwave-wildfires-migration-ceuta-spai...
2•bluenose69•44m ago•0 comments

Deterministic Core, Non-Deterministic Shell

https://outdata.net/blog/260803
2•LAC-Tech•45m ago•0 comments

Show HN: AQ – a from-scratch 1B academic LLM by a 2-person team in India

https://huggingface.co/zyoralabs/AQ-academic-ai
2•zyoraclub•45m ago•0 comments

EU enforces labeling AI generated content

https://www.euronews.com/my-europe/2026/08/02/ai-generated-label-becomes-mandatory-in-the-eu-for-...
5•nucatus•47m ago•1 comments

Show HN: The best-paid AI/tech job anyone advertises pays $824k, not $100M

https://ctaio.dev/en/jobs/
3•norejisace•53m ago•1 comments

Street View Live Earth Map

https://play.google.com/store/apps/details?id=com.streetmapview.world.camera&hl=en_US
2•satyampromotion•54m ago•0 comments

Show HN: Kuvu AI – Your All-in-One AI Creative Studio and Marketing Studio

https://kuvu.ai/
2•longyuanpro•58m ago•0 comments