frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Form and Function of Enterprise Humanoid Design

https://bostondynamics.com/webinars/form-function-enterprise-humanoid-design/
1•prathje•2m ago•1 comments

The Are.na Digital Picture Frame

https://store.are.na/products/are-na-frame
2•ewf•2m ago•0 comments

BBC – Eric Schmidt booed by graduates at mention of AI

https://www.bbc.co.uk/news/articles/ce8pqd54qneo
1•lozzo•4m ago•0 comments

Tell HN: Don't make your startup multilingual

1•theorchid•4m ago•1 comments

Can psilocybin alleviate phantom limb pain? 5 questions with Fadel Zeidan

https://themicrodose.substack.com/p/can-psilocybin-alleviate-phantom
1•bushwart•4m ago•1 comments

Anduril and Meta's quest to make smart glasses for warfare

https://www.technologyreview.com/2026/05/18/1137412/inside-anduril-and-metas-quest-to-make-smart-...
1•joozio•4m ago•0 comments

Anthropic Acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
3•tomeraberbach•5m ago•1 comments

Starlink raises prices across satellite internet plans

https://www.theverge.com/science/932294/starlink-price-increase-standby-mode
1•Brajeshwar•6m ago•0 comments

CoffeeScript

https://coffeescript.org
1•tosh•6m ago•0 comments

OpenAI Bought Company That Offered A.I. Tools for Cloning Voices

https://www.nytimes.com/2026/05/15/technology/openai-weightsgg-voice-cloning.html
1•JumpCrisscross•8m ago•0 comments

Justice Department announces a $1.7B fund to compensate Trump allies

https://apnews.com/article/trump-lawsuit-irs-leak-3729de38770b558be01712a143437bf8
3•Kapura•9m ago•0 comments

Aether: High-performance, formally-verified storage engine written in Rust

https://codeberg.org/gregburd/aether
2•dboreham•10m ago•0 comments

M1: Agents should generate UI that persists, scales, and hosts itself

https://www.usemontage.ai/
1•aaravmakadia•10m ago•0 comments

How to deal with your kid leaving

https://buttondown.com/monteiro/archive/how-to-deal-with-your-kid-leaving/
1•Tomte•10m ago•1 comments

Cargo-Crap: Finding Untested Complexity in AI-Generated Rust Code

https://minikin.me/blog/cargo-crap
1•koburan•11m ago•0 comments

Trump Administration Live Updates: $1.8B Fund Could Funnel to Trump Allies

https://www.nytimes.com/live/2026/05/18/us/trump-news
3•duxup•11m ago•1 comments

Jan Łukasiewicz

https://en.wikipedia.org/wiki/Jan_%C5%81ukasiewicz
1•tosh•13m ago•0 comments

AI Is Theft

https://dissentmagazine.org/article/ai-property-data-theft-anthropic/
2•cdrnsf•15m ago•0 comments

MmWave vs. Wi-Fi Sensing

https://community.home-assistant.io/t/mmwave-vs-wi-fi-sensing/1010785
1•mike2872•15m ago•0 comments

Show HN: Elmo (Open Source AEO)

https://github.com/elmohq/elmo
1•jrhizor•18m ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
2•Brajeshwar•18m ago•0 comments

Composer 2.5

https://cursor.com/blog/composer-2-5
6•meetpateltech•19m ago•0 comments

AI Eats The World – Benedict Evans macro trends in tech

https://www.ben-evans.com/presentations
2•nilen•19m ago•0 comments

How We Hacked Our Way to Free 4.0s and Took Over a uWaterloo & UofT Grading Tool

https://xtra.sh/blog/markus/
3•xtra1•20m ago•0 comments

Email belongs on YOUR disk, not a cloud server

https://mailvaulty.com
1•khaledsabae•20m ago•2 comments

US countertop workers could have damaged lungs, safety expert says

https://www.npr.org/2026/05/18/nx-s1-5691570/silicosis-beyond-california-quartz-countertop-cambria
2•mikhael•20m ago•0 comments

Amiga 68000 (SEKA) → portable C transpiler

https://bitbucket.org/rhinoid/convert68000toc/src/main/
1•ibobev•23m ago•0 comments

Lawyers in Brazil caught for prompt injection on a legal case

https://www.jota.info/trabalho/juiz-multa-em-r-84-mil-advogadas-por-prompt-injection-para-manipul...
2•cfontes•23m ago•0 comments

The Thing Protecting You Is Now the Target

https://thetechvillain.substack.com/p/the-thing-protecting-you-is-now-the
2•interrupt86•25m ago•0 comments

MinusPod self-hosted podcast ad remover learns from opt-in crowdsourced patterns

https://github.com/ttlequals0/MinusPod/blob/main/patterns/README.md
1•Ttlequals0•25m ago•0 comments