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!

Should we still teach our kids to code?

https://medium.com/@daveflynn/should-we-still-teach-our-kids-to-code-in-2026-db16051fea18
1•dave_infuseai•1m ago•0 comments

Biology is a Burrito: A text- and visual-based journey through a living cell

https://burrito.bio/essays/biology-is-a-burrito
1•the-mitr•3m ago•0 comments

Can LLMs create lasting flashcards from readers' highlights?

https://memory-machines.com/report/
1•jryio•4m ago•0 comments

The Arpanet Reconstruction Project

https://obsolescence.dev/arpanet_home.html
1•ecliptik•5m ago•0 comments

Where the Goblins Came From

https://openai.com/index/where-the-goblins-came-from/
5•ilreb•7m ago•0 comments

Demonstrating the idea of gamma camera imaging [video]

https://www.youtube.com/watch?v=PyGlHtvihXA
1•num42•8m ago•0 comments

Ernie 5.1 Preview

https://ernie.baidu.com/
1•qainsights•10m ago•0 comments

Strait of Hormuz Daily Intelligence

https://insights.windward.ai/
2•jnord•12m ago•0 comments

LFM2-24B-A2B: Scaling Up the LFM2 Architecture

https://www.liquid.ai/blog/lfm2-24b-a2b
1•nateb2022•12m ago•0 comments

Finetuning Activates Verbatim Recall of Copyrighted Books in LLMs

https://github.com/cauchy221/Alignment-Whack-a-Mole-Code
1•reconnecting•16m ago•0 comments

Functional Programmers need to take a look at Zig

https://pure-systems.org/posts/2026-04-29-functional-programmers-need-to-take-a-look-at-zig.html
2•xngbuilds•16m ago•0 comments

Transponders to be installed on New York area airport ground vehicles

https://apnews.com/article/laguardia-plane-crash-air-canada-transponders-18578e94f2f7ec67b5ed45e9...
1•geox•17m ago•0 comments

GitHub Is Sinking

https://dbushell.com/2026/04/29/github-is-sinking/
1•xngbuilds•20m ago•0 comments

Opus 4.7's New Tokenizer: What It Costs

https://openrouter.ai/announcements/opus-47-tokenizer-analysis
3•vinhnx•21m ago•0 comments

Scroll-Driven Animations

https://www.joshwcomeau.com/animation/scroll-driven-animations/
1•vinhnx•21m ago•0 comments

AI Groupchats app just launched

https://techcrunch.com/2026/04/29/meet-shapes-the-app-bringing-humans-and-ai-into-the-same-group-...
1•nooriee•22m ago•1 comments

Show HN: Lssh – Terminal-native remote access suite for SSH and cloud targets

https://github.com/blacknon/lssh
1•blacknon•24m ago•1 comments

What is something you started and then wish you started earlier?

https://old.reddit.com/r/AskReddit/comments/1szjkl5/comment/oj2a8b7/
1•eeko_systems•26m ago•0 comments

I Choose Email over Messaging

https://www.spinellis.gr/blog/20250926/
1•fagnerbrack•27m ago•0 comments

The TypeScript AI Framework – Mastra

https://mastra.ai/
1•fagnerbrack•28m ago•0 comments

Build programmatic agents with the Cursor SDK

https://cursor.com/blog/typescript-sdk
1•2arrs2ells•29m ago•0 comments

The AI Compute Extensions (ACE) for x86 [pdf]

https://x86ecosystem.org/wp-content/uploads/2026/03/ACE-Whitepaper-v1.pdf
2•matt_d•35m ago•0 comments

Microsoft open sources DOS 1.00 on 45th anniversary

https://opensource.microsoft.com/blog/2026/04/28/continuing-the-story-of-early-dos-development/
8•hackthemack•35m ago•1 comments

Beyond Conventional Drones: A Review of Unconventional Rotary-Wing UAV Design

https://www.mdpi.com/2504-446X/9/5/323
1•CarbonBasedUnit•35m ago•0 comments

Warm Burnout: editor and terminal color scheme

https://warmburnout.com/
3•cdrnsf•37m ago•0 comments

IBM Releases Granite 4.1 family of models

https://research.ibm.com/blog/granite-4-1-ai-foundation-models
2•ibgeek•38m ago•0 comments

Agents can now create Cloudflare accounts, buy domains, and deploy

https://blog.cloudflare.com/agents-stripe-projects/
1•tech234a•42m ago•0 comments

QuaryLite

https://github.com/sardortpd-eng/QuaryLite
1•sardor-sam•46m ago•0 comments

Orangutan Filmed Using a Human-Made Bridge

https://www.sciencealert.com/world-first-orangutan-filmed-using-a-human-made-bridge
1•wslh•47m ago•0 comments

All databases will eventually be (re)written in Rust

https://kerkour.com/rust-databases
1•lwhsiao•50m ago•0 comments