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!

Popular LLM software hit by critical vulnerability in Python package Starlette

https://arstechnica.com/information-technology/2026/05/millions-of-ai-agents-imperiled-by-critica...
1•theanonymousone•6m ago•0 comments

Linux reportedly restored to the free version of Vivado

https://twitter.com/HotAisle/status/2059706563665998317
1•mindcrime•6m ago•0 comments

Harness Sensitivity Is Non-Monotone Across LLM Agent Tiers

https://arxiv.org/abs/2605.26731
1•simonpure•12m ago•0 comments

Biff is a command line datetime Swiss army knife

https://github.com/BurntSushi/biff
2•burntsushi•13m ago•0 comments

Carbon Nanotube CPU Cooling

https://www.lttlabs.com/articles/2026/05/26/carbice-ice-pads
1•LorenDB•15m ago•0 comments

Ask HN: What made you lose faith in God/Religion?

4•alonsovm44•17m ago•6 comments

Locked out of the city some young Canadian buyers are heading to cottage country

https://www.theglobeandmail.com/investing/personal-finance/retirement/article-locked-out-of-the-c...
1•petethomas•18m ago•0 comments

Rinderpest

https://en.wikipedia.org/wiki/Rinderpest
1•petethomas•22m ago•0 comments

State of Subscription Apps 2026

https://www.revenuecat.com/sosa-26-insights/
1•CobaltFire•23m ago•0 comments

Workload isolation using shuffle-sharding

https://aws.amazon.com/builders-library/workload-isolation-using-shuffle-sharding/
1•charleshn•26m ago•0 comments

EaglePress – Working 2.00 Status, with Marketplace Themes and Plugins

https://eaglepress.org/post/eaglepress-download
1•eagle10ne•27m ago•0 comments

Show HN: The Two Pillars – A conceptual framework for post-AI software work

https://zenodo.org/records/20371166
1•rlabbe•32m ago•0 comments

Anthropic takes 8 spots in top 10 most secure LLMs

https://www.thedeepview.com/articles/anthropic-takes-8-spots-in-top-10-most-secure-llms
1•mgh2•36m ago•0 comments

Objects of Design Metaphor

https://liamzebedee.com/design/articles/objects-of-design-metaphor/
1•liamzebedee•47m ago•0 comments

What It Takes to Preserve Floppy Disks

https://spectrum.ieee.org/floppy-disk-data-preservation-archives
2•pseudolus•48m ago•0 comments

The Damned Human Race by Mark Twain

https://faculty.mtsac.edu/jmcfaul/thedamnedhumanrace.html
1•rramadass•48m ago•0 comments

1-Click to sign up, 1 hour on the phone to cancel

https://idiallo.com/blog/how-spectrum-internet-lost-me
5•firefoxd•49m ago•0 comments

Invariant Mesh – bridge legacy ERP to SAP/Oracle with hash-sealed receipts

https://invariant-mesh-demo.web.app/
1•henryco•49m ago•0 comments

Workshop: Sandboxed development environments with one command

https://ubuntu.com/workshop
1•tjek•50m ago•0 comments

"US has the troops in place to attack Cuba" per Politico

https://www.politico.com/news/2026/05/27/cuba-us-military-attack-00938740
10•cwwc•51m ago•3 comments

Why I Wrote Safescript

https://medium.com/@uriv/safescript-a-programming-language-for-ai-era-e6f018c4b3f6
1•uriva•57m ago•0 comments

Your Future job will be to keep AI on task

https://www.noahpinion.blog/p/your-future-job-will-be-to-keep-ai
2•thm•58m ago•1 comments

Propuesta TLBIC v4.1 – «La sabiduría de dialogar con un espejo imperfecto

1•michikawa59•59m ago•0 comments

DTensor, Correctness and the Costs of Abstraction

https://runwayml.com/news/dtensor-distributed-training
1•jxmorris12•1h ago•0 comments

Safescript – A Language for AI Era

https://safescript.cc/
2•uriva•1h ago•0 comments

Pimmur, can LLM simulate human collective behavior?

https://arxiv.org/abs/2509.18052
1•xiaoluolyg•1h ago•0 comments

A survey of HTTP 'server' headers

https://alex.keeling.me/blog/server-survey.html
1•TwinOaks65•1h ago•0 comments

AIPass – Persistent agent workspace with identity, memory, and email

https://github.com/AIOSAI/AIPass
2•AIOSAI•1h ago•0 comments

Stratasys snaps up Markforged in $42.5M deal

https://all3dp.com/6/stratasys-snaps-up-markforged-in-42-5m-deal/
1•iancmceachern•1h ago•0 comments

Progressives Are Listening to the Wrong People on A.I

https://www.nytimes.com/2026/05/26/opinion/progressives-left-ai.html
5•cratermoon•1h ago•0 comments