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!

Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

https://github.com/janbjorge/rekal
1•jeeybee•2m ago•0 comments

Over 4,732 Messages, He Fell in Love with an AI Chatbot. Now He's Dead

https://www.wsj.com/tech/ai/google-gemini-jonathan-gavalas-death-07351ab2
1•nradov•3m ago•0 comments

Maine set to become first state with data center ban

https://www.cnbc.com/2026/04/09/maine-data-center-ban.html
1•eatonphil•8m ago•0 comments

Orban ousted after 16 years as Hungarians flock to pro-EU rival

https://www.reuters.com/world/europe/orban-ousted-after-16-years-hungarians-flock-pro-eu-rival-20...
3•JumpCrisscross•9m ago•0 comments

Inventors Who Didn't Invent What They Are Famous for Inventing

https://www.wsj.com/tech/us-famous-inventions-inventors-wrong-3d5b0a0f
3•fortran77•11m ago•1 comments

Space Junk – A Magazine for Earthlings Who Dream of Outer Space

https://www.nytimes.com/2026/04/09/style/a-magazine-for-earthlings-who-dream-of-outer-space.html
1•bookofjoe•12m ago•1 comments

Distilling 100B+ Models 40x Faster with TRL

https://huggingface.co/spaces/HuggingFaceTB/trl-distillation-trainer
2•kashifr•12m ago•0 comments

OpenPGx – Ask Claude about medications from your 23andMe/Genera raw file (MCP)

https://github.com/open-pgx/openpgx
1•dougplac•13m ago•1 comments

Anthropic 10-step playbook for creating a Glomar Trap and pulling forward sales

https://10io.com/blog/glomar-trap-mythos
1•anactofgod•14m ago•1 comments

Audit Claude Platform Activity with the Compliance API

https://claude.com/blog/claude-platform-compliance-api
1•mooreds•15m ago•0 comments

AI Is Not a Labor Crisis. It Is a Meaning Crisis

https://twitter.com/lessin/status/2043370537280532771
1•jger15•16m ago•0 comments

A Perfectable Programming Language

https://alok.github.io/lean-pages/perfectable-lean/
1•yuppiemephisto•17m ago•0 comments

TokenMonopoly – Claude Max Is Overpriced; Compare AI Subscriptions

https://tokenmonopoly.com
1•robinw_•17m ago•0 comments

Microsoft engineer says original Task Manager was only 80KB to run on 90s comps

https://www.tomshardware.com/software/windows/veteran-microsoft-engineer-says-original-task-manag...
1•thunderbong•20m ago•0 comments

Someone Has to Be Happy. Why Not Lauren Sánchez Bezos?

https://www.nytimes.com/2026/04/11/business/lauren-sanchez-bezos-jeff-bezos.html
1•mooreds•20m ago•0 comments

Hungary's Viktor Orbán Concedes Defeat in Election

https://www.wsj.com/world/europe/hungary-election-results-orban-b2dbd42a
4•JumpCrisscross•21m ago•0 comments

Swiftpoint Z3: Do you need this much mouse?

https://www.swiftpoint.com/products/swiftpoint-z3-ea
1•Exorust•22m ago•0 comments

Been building a multi-agent framework in public for 5 weeks, its been a Journey

https://github.com/AIOSAI/AIPass
1•Input-X•23m ago•1 comments

Generation DI – Not Worse but Other

https://singularityforge.space/2026/04/12/generation-di-not-worse-but-other/
1•Voice_of_Void•26m ago•0 comments

Being a Junior Scientist in the Current Administration

https://mirawelner.com/posts/junior.html
1•mirawelner•27m ago•0 comments

Show HN: SnatchHub – An App That Solves The "who's using staging?" Problem

https://getsnatchhub.com
2•boothemoo•31m ago•0 comments

Specs for Quantum Processor Design

https://drive.google.com/file/d/1tsVV7tPQks3x70wMoJJYhuywSboaxKs0/view?usp=drivesdk
1•GeometryKernel•36m ago•0 comments

I want a better [build] action graph serialization

https://jyn.dev/i-want-a-better-action-graph-serialization/
1•jackschu•38m ago•0 comments

UltraDAG – Sub-4MB blockchain full node in Rust

https://github.com/UltraDAGcom/core
1•johanmichel•40m ago•0 comments

Designing Reproducible Test Environments for RPPG

https://www.mdpi.com/3042-7886/2/2/3
1•PaulHoule•42m ago•0 comments

A shared state system for plugins (Rust)

https://ahoyiski.neocities.org/posts/shared-state/
2•itzlambda•43m ago•0 comments

Fun with an indecisive AI coding agent

https://benhoyt.com/writings/indecisive-ai-agent/
1•ingve•44m ago•0 comments

Canada revokes crypto firms' registrations

https://www.icij.org/investigations/coin-laundry/canada-revokes-dozens-of-crypto-firms-registrati...
3•gnabgib•44m ago•1 comments

I ran Gemma 4 as a local model in Codex CLI

https://blog.danielvaughan.com/i-ran-gemma-4-as-a-local-model-in-codex-cli-7fda754dc0d4
4•dvaughan•45m ago•0 comments

I audited Garry's website after he bragged about 37K LOC/day

https://twitter.com/Gregorein/status/2038953944475472316
3•medalblue•45m ago•0 comments