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!

ChatGPT for Word, Excel and PowerPoint

https://chatgpt.com/apps/word/
1•vertigoruntime•37s ago•0 comments

Show HN: Pi-jev-auto-mode – a probability model gates Pi's shell commands

https://github.com/jomatsu/pi-jev-auto-mode
1•jomatsu•2m ago•0 comments

Inside OpenAI’s agentic software factory

https://newsletter.pragmaticengineer.com/p/openai-software-factory
1•gfortaine•3m ago•0 comments

Don't Just Say Hello

https://nohello.net/en/
3•ninju•3m ago•0 comments

Saturn's South Pole Features Newly Formed Atmospheric Decagon

https://www.universetoday.com/articles/saturns-south-pole-features-newly-formed-atmospheric-decagon
1•Betelbuddy•4m ago•0 comments

256GB Mac Mini is too small. You need Elbowroom

https://tomjohnell.com/your-256gb-mac-mini-is-too-small-you-need-elbowroom/
1•tjohnell•4m ago•0 comments

AI could create a 'silicon species' that rivals humans, Microsoft chief warns

https://www.euronews.com/next/2026/09/17/ai-could-create-a-silicon-species-that-rivals-humans-mic...
3•devonnull•5m ago•0 comments

Migrating the GitHub Copilot Runtime to Rust, Using Copilot

https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-co...
1•mring33621•5m ago•0 comments

Show HN: Telly, talk to your Mac and it does the clicking

https://www.hey-telly.com/
1•mrutopia•7m ago•1 comments

More Kiwis taking 'hands off' approach with self-driving technology

https://www.rnz.co.nz/news/science-and-technology/1447009/more-kiwis-taking-hands-off-approach-wi...
3•billybuckwheat•7m ago•0 comments

Robots are asking for tips. But who gets the money?

https://www.bbc.com/future/article/20260818-do-you-have-to-tip-the-robots
3•ent101•7m ago•0 comments

Typesafe's Jev is the fish at the poker table

https://backnotprop.com/blog/jev-poker/
2•ramoz•8m ago•0 comments

DuckDB Queries Inside MySQL

https://villagesql.com/blog/duckdb/
1•deesix•10m ago•1 comments

Monobloc Chair

https://en.wikipedia.org/wiki/Monobloc_(chair)
2•ginko•10m ago•0 comments

Novgraph: Knowledge graph for codebases that saves you 99% percent tokens

1•Shourya_55•10m ago•0 comments

What happens when you send a message to an LLM (the API call explained)

https://heymeraki.substack.com/p/aie_20-inside-the-llm-api-call
1•heyy-meraki•10m ago•1 comments

When Software Outlives Its Reasons (Philosophical Essay)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6761138
1•camilochs•11m ago•0 comments

KIDS Act

https://digital-strategy.ec.europa.eu/en/policies/kids-act
2•Betelbuddy•13m ago•0 comments

Play Hamster Inn Game Now: Build Your Dream Hotel

https://hamster-inn-game.pages.dev/posts/hamster-inn-game/
1•klklkjlk•14m ago•0 comments

A Feather Found in Dinosaur Poop Might Explain How Birds Beat Extinction

https://www.nytimes.com/2026/09/17/science/feather-dinosaur-poop-bird-extinction.html
3•jvnewman•14m ago•0 comments

VortexKV – 6.8M ops/s pure Go Redis alternative with Web Studio

1•ianshugarg•14m ago•0 comments

Review-comments.nvim: Do code review in Neovim – pass review comments to agents

https://github.com/narqo/review-comments.nvim
1•varankinv•16m ago•0 comments

Goldman Sachs – Physical AI

https://finvaulta.com/share/IiHiYMiUB7CdVQWuq-EKpw
2•campervans•16m ago•1 comments

How macOS Works

https://www.macinternals.app/en
1•terminalbraid•18m ago•0 comments

Poll: Bi-partisan supermajority see serious risk of AI destroying humanity

https://www.politico.com/news/2026/09/16/poll-ai-technology-risks-humanity-trump-voters-01078087
1•JumpCrisscross•19m ago•1 comments

The Auroral Oval [pdf]

https://secwww.jhuapl.edu/techdigest/Content/techdigest/pdf/APL-V06-N02/APL-06-02-Zmuda.pdf
1•joebig•19m ago•0 comments

Streaming real-time HDR reflections to every device

https://www.miris.com/blog/streaming-real-time-hdr-reflections-to-the-web
1•fagnerbrack•19m ago•0 comments

Adventures in Microcontroller Circuit Debugging

https://www.bigmessowires.com/2026/08/30/adventures-in-microcontroller-circuit-debugging/
1•lateatdesk•19m ago•0 comments

A supermajority wants to slow AI down

https://www.natesilver.net/p/a-supermajority-wants-to-slow-ai
1•JumpCrisscross•20m ago•1 comments

Show HN: The Endless Museum, Wikipedia as a walkable museum

https://theendlessmuseum.com/
2•edwardbonnett•22m ago•0 comments