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!

Show HN: Plasma Wiki – a CLI for maintaining agent-edited Markdown wikis

https://github.com/plasma-ai/wiki
1•ndiao•42s ago•0 comments

Getting Rid of Scrolling

1•matteosaporiti•2m ago•0 comments

The Polycentric Production of Global Public Goods [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2025/11/goodman-pfwo.pdf
1•brandonlc•2m ago•0 comments

BCG immunotherapy reprograms CNS immunity and alters Alzheimer's biomarkers

https://www.nature.com/articles/s43856-026-01691-7
1•bookofjoe•3m ago•0 comments

Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds with Incompatibility

https://www.phoronix.com/news/Rust-Coreutils-cp-Ubuntu-Images
1•Bender•3m ago•0 comments

Google loses fight against record €4.1B EU antitrust fine

https://www.reuters.com/world/eu-top-court-dismisses-google-fight-against-record-41-billion-eu-an...
1•1vuio0pswjnm7•5m ago•0 comments

The Information Theory Behind Why AI Writing Sucks

https://www.pangram.com/blog/joe-stech-information-theory-why-ai-writing-sucks
1•malshe•5m ago•0 comments

Show HN: I built a map to visualize the walkable area from any location

https://emanant.app
1•parcl0•5m ago•0 comments

Alibaba bans staff from using Claude Code over Anthropic spyware concerns

https://www.scmp.com/tech/big-tech/article/3359375/alibaba-bans-staff-using-claude-code-over-anth...
1•dstala•8m ago•2 comments

Iberdrola kicks off its first large-scale battery project in the US

https://electrek.co/2026/07/02/iberdrola-kicks-off-its-first-large-scale-battery-project-in-the-us/
1•Bender•10m ago•0 comments

Recall of potato chips upgraded to highest level reasonable probability of death

https://www.dailymail.com/health/article-15950863/Utz-potato-chips-recall-salmonella-contaminatio...
2•Bender•10m ago•1 comments

Andy Burnham Here – AMA

https://old.reddit.com/r/ukpolitics/comments/1uls1lw/andy_burnham_here_ama/
2•MrsPeaches•11m ago•0 comments

Show HN: U.S. Declaration of Independence but as Google Doc Version History

https://declaration.docs.willmeye.rs
1•willmeyers•12m ago•0 comments

Dial Town

https://jamiedolan.com/Dial-Town/
1•rrotaru•13m ago•0 comments

US residents angry datacenters 'shoved down our throats' are recalling officials

https://www.theguardian.com/us-news/2026/jul/03/datacenter-recall-elections
2•beardyw•14m ago•0 comments

The pandemic of incomplete OpenSSL error handling

https://blog.jak-linux.org/2026/07/03/openssl-pandemic/
1•julian-klode•15m ago•0 comments

FiberFS Technical Overview

https://fiberfs.io/content/fiberfs_technical_overview
1•nyc_pizzadev•16m ago•0 comments

Trump has made more than $1B from crypto in a year

https://theconversation.com/trump-has-made-more-than-1-billion-from-crypto-in-a-year-how-286635
2•thisislife2•16m ago•0 comments

CVV Checker – Real-time card verification via zero-dollar bank auth

https://cvvchecker.org
1•hurtzbergcc•17m ago•0 comments

Meirro Pro Display, 32" 6K Retina-class, Full Aluminum, anyone heard of them?

https://www.meirro.com
1•lisovin•19m ago•1 comments

Skillsaw: Lints the files that steer your AI coding agents

https://skillsaw.org/
2•sea-gold•21m ago•0 comments

Codex Agents Built and Operate My Weapons Research

https://weaponsofconflict.com/blog/codex-agents-weaponsofconflict-experiment
1•Politely1527•25m ago•0 comments

The feature in OxCaml that more languages should steal

https://theconsensus.dev/p/2026/06/27/the-feature-in-oxcaml-more-languages-should-steal.html
1•eatonphil•27m ago•0 comments

Show HN: Verbum Vitae – Bible memorization with spaced repetition

https://vvitae.com/
2•pseudocharles•28m ago•1 comments

Notion pulled itself back from the brink of failure (2019)

https://www.figma.com/blog/design-on-a-deadline-how-notion-pulled-itself-back-from-the-brink-of-f...
1•downbad_•28m ago•1 comments

Food for Agile Thought 551: AI Confidence Theater, We Tried Agile; Didn't Work

https://age-of-product.com/food-agile-thought-551-ai-confidence-theater/
2•swolpers•35m ago•0 comments

AdaptHealth says attackers stole patient data

https://www.theregister.com/security/2026/07/03/adapthealth-crooks-stole-our-passwords-patient-he...
1•Bender•38m ago•0 comments

2-Click Remote Code Execution in Meccha Chameleon

https://khaelkugler.com/blogs/meccha_chameleon.html
1•tester457•38m ago•0 comments

The Life and Times of Maxis, Part 1: SimEverything

https://www.filfre.net/2026/07/the-life-and-times-of-maxis-part-1-simeverything/
4•doppp•38m ago•0 comments

How the Summer of Atomic Bomb Testing Turned the Bikini into a Phenomenon

https://www.smithsonianmag.com/smithsonian-institution/how-wake-testing-atomic-bomb-bikini-became...
1•thunderbong•39m ago•1 comments