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•11mo 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!

Graphs That Explain the State of AI in 2026

https://spectrum.ieee.org/state-of-ai-index-2026
1•bryanrasmussen•2m ago•0 comments

Poetical – AI Poetry Feed

https://apps.apple.com/ro/app/poetical-ai-poetry-feed/id6761653704
1•mening12001•2m ago•0 comments

Unobtrusive inference of diurnal rhythms from smartphone data

https://www.nature.com/articles/s41746-025-02254-1
1•bryanrasmussen•3m ago•0 comments

Show HN: WebGL Liminal Space

https://liminal-dwsw5.ondigitalocean.app/
1•5fc3b4•4m ago•0 comments

Rail: A self-hosting language that speaks TLS alone

https://github.com/zemo-g/rail
1•zem0g•5m ago•0 comments

SDF Based Chess Rendering

https://github.com/Janos95/onion
1•janos95•11m ago•1 comments

Does Your Poop Float?

https://buildojas.substack.com/p/does-your-poop-float
2•rohan_shah•11m ago•0 comments

The quest to measure our relationship with nature

https://www.technologyreview.com/2026/04/16/1135245/measure-relationship-with-nature-index/
1•joozio•11m ago•0 comments

An Agentic Home Bioreactor

https://chillphysicsenjoyer.substack.com/p/an-agentic-home-bioreactor
1•crescit_eundo•13m ago•0 comments

URLmind – Turn any business URL into structured context for AI agents

https://urlmind.com
1•urlmind•15m ago•0 comments

Crystal 1.20.0 Is Released

https://crystal-lang.org/2026/04/16/1.20.0-released/
1•ksec•17m ago•0 comments

Open-source isolated runtime for AI agents

https://github.com/CelestoAI/SmolVM
2•theaniketmaurya•19m ago•3 comments

A Simple Guide to Porting Your Basic

https://permacomputer.solarpunk.au/?p=181
1•akkartik•20m ago•0 comments

Blade Runner Cinematography (1999)

https://theasc.com/magazine/mar99/blade/
2•exvi•22m ago•0 comments

Godzilla Cinematography (1998)

https://theasc.com/magazine/jun98/godzilla/
1•exvi•23m ago•0 comments

PgQue: Zero-Bloat Postgres Queue

https://github.com/NikolayS/pgque
1•gmcabrita•24m ago•0 comments

867-5309: Famous '80s song phone number now directs to cancer support line

https://thehill.com/blogs/in-the-know/5787896-867-5309-cancer-hotline/
2•rolph•26m ago•0 comments

Tangled Newsletter 01 – Hello

https://blog.tangled.org/newsletter-01/
1•birdculture•28m ago•0 comments

White House probes wave of missing or dead American scientists

https://www.foxnews.com/video/6393235356112
7•genphy1976•29m ago•0 comments

EsoNatLangs: Esolangs that embrace the complexities of natural language

https://esoteric.codes/blog/five-esonatlangs
3•xpointer•30m ago•0 comments

How to Build an Agent Or: The Emperor Has No Clothes (2025)

https://ampcode.com/notes/how-to-build-an-agent
1•tehnub•33m ago•0 comments

Sidephone: A minimalist Android phone with swappable USB keypads

https://www.sidephone.com/
1•phantomathkg•34m ago•0 comments

Georgia's Voting Technology Blunder

https://pluralistic.net/2026/04/18/dominion-sucks-actually/
3•hn_acker•35m ago•0 comments

Matt Mullenweg Says "The Wheels Have Fallen Off" in WordPress

https://www.therepository.email/matt-mullenweg-says-the-wheels-have-fallen-off-in-wide-ranging-wo...
8•rpgbr•37m ago•3 comments

Information Scent: How Users Decide Where to Go Next (2020)

https://www.nngroup.com/articles/information-scent/
1•alberto-m•38m ago•0 comments

Unearthly Terrors: Event Horizon (1997)

https://theasc.com/magazine/aug97/event/main.htm
2•exvi•43m ago•0 comments

The USDA's gardening zones have shifted. (Interactive app and map)

https://apps.npr.org/plant-hardiness-garden-map/
6•nuke-web3•43m ago•0 comments

They Were YouTube's First Stars. Here's What They Wish They'd Known

https://www.nytimes.com/2026/04/15/arts/television/early-youtube-stars-success-learnings.html
2•cainxinth•44m ago•0 comments

'Tokenmaxxing' is making developers less productive than they think

https://techcrunch.com/2026/04/17/tokenmaxxing-is-making-developers-less-productive-than-they-think/
3•Brajeshwar•47m ago•1 comments

The electromechanical angle computer inside the B-52 bomber's star tracker

https://www.righto.com/2026/04/B-52-star-tracker-angle-computer.html
14•NelsonMinar•48m ago•1 comments