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!

So bright the vision (1956) a story about machines writing instead of humans [pdf]

https://s3.us-west-1.wasabisys.com/luminist/EB/S/Simak%20-%20So%20Bright%20the%20Vision.pdf
1•marysminefnuf•29s ago•0 comments

Apollo 11 Guidance Computer (AGC) source code

https://github.com/chrislgarry/apollo-11
1•modinfo•4m ago•0 comments

Cosmonapse – an event-driven protocol for AI agent systems

https://github.com/Cosmonapse/cosmonapse-core
1•aqibkhan026•4m ago•0 comments

Run Ray on TPU, Part 1: The foundations

https://developers.googleblog.com/run-ray-on-tpu-part-1-the-foundations/
1•simonpure•7m ago•0 comments

IEA Predicts First Decrease in Global Oil Demand Since 2020

https://oilprice.com/Energy/Crude-Oil/IEA-Predicts-First-Decrease-in-Global-Oil-Demand-Since-2020...
3•toomuchtodo•7m ago•1 comments

New York blocks large data centers for a year

https://apnews.com/article/new-york-data-centers-moratorium-ai-c1e05b74208a6c570eec7c658ac8f187
6•gmays•8m ago•0 comments

State-by-State Data and ITEP Tax Inequality Index Map

https://itep.org/whopays-7th-edition/
2•speckx•8m ago•0 comments

A PHP server that can handle 10x as many concurrent requests as Nginx+PHP-fpm

https://github.com/Qbix/webserver/blob/main/README.md
1•EGreg•13m ago•0 comments

Oracle could face $7B collateral bill for Wisconsin data centre

https://www.ft.com/content/b37030b6-bda8-4ba9-8e08-e6b88687b8f5
1•toomuchtodo•15m ago•1 comments

curl_cffi - Python binding for curl-impersonate

https://github.com/lexiforest/curl_cffi
1•gregsadetsky•19m ago•0 comments

Concentrate: LLM Gateway

https://concentrate.ai
1•handfuloflight•26m ago•0 comments

Sakana Fugu-Cyber

https://sakana.ai/fugu-cyber-release/
2•ilreb•29m ago•1 comments

Show HN: Hospital Price Watch: Transparent, Shoppable Hospital Prices

https://hospitalpricewatch.com/
1•brad12345•29m ago•1 comments

Ramp Router

https://ramp.com/router/
1•handfuloflight•29m ago•0 comments

Show HN: AI meeting notes – no bot, insights and answers from your files (BYOK)

https://getaiassist.app/
1•rfigueror1•31m ago•0 comments

How Cursor Rebuilt Its Terraform Workflow with Masterpoint

https://masterpoint.io/case-studies/cursor/
1•mooreds•32m ago•0 comments

New Chrome plugin automates Reddit conversations

https://subsnipe.thomasunise.com/
2•is_dev_active•36m ago•0 comments

Ten-year-old butterfly researcher finds memories can be inherited

https://www.upworthy.com/ten-year-old-butterfly-researcher-discovers-that-memories-an-be-passed-d...
2•MaysonL•36m ago•0 comments

Freerange: Static fit checks for ordinary TypeScript layout code

https://github.com/chenglou/freerange
1•handfuloflight•43m ago•0 comments

British Standard – "Preparation of a liquor of tea for use in sensory tests" [pdf]

https://www.teahong.com/wp-content/uploads/2022/03/bs-6008-or-iso-3103.pdf
1•gregsadetsky•46m ago•0 comments

Homeric Question

https://en.wikipedia.org/wiki/Homeric_Question
3•thunderbong•55m ago•0 comments

Eye Tracking on Your Cellphone

https://gazecapture.csail.mit.edu/
2•soupspaces•56m ago•0 comments

Expect More Data Center Moratoriums – and Slower Growth

https://www.bloomberg.com/opinion/articles/2026-07-20/new-york-data-center-moratorium-friction-sl...
1•petethomas•58m ago•0 comments

Industrial DevOps

https://itrevolution.com/product/industrial-devops-book/
1•firesteelrain•59m ago•0 comments

Absurdity and hypocrisy in war, Celine [pdf]

https://neoalchemist.wordpress.com/wp-content/uploads/2012/06/louis-ferdinand-celine-journey-to-t...
1•DaveZale•1h ago•0 comments

Anthropic's Landmark $1.5B Copyright Settlement Is Approved

https://techcrunch.com/2026/07/20/anthropics-landmark-1-5b-copyright-settlement-is-approved/
3•golly_ned•1h ago•3 comments

The Rise (and Fall?) Of Palantir [video]

https://www.youtube.com/watch?v=SfGUzSYEqY0
2•figmert•1h ago•0 comments

Official Package Registry of Veryl

https://veryl-lang.org/blog/official-package-registry/
2•dalance•1h ago•2 comments

Cairn|personal finance your own AI can read over MCP, read-only by construction

https://cairn.nnnsightnnn.com/dashboard
2•kautryii•1h ago•0 comments

Show HN: How to Get a Fable CoT for the Jacobian Conjecture Refutation

4•SonOfLilit•1h ago•0 comments