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!

New materials can beat copper for internal chip wiring

https://arstechnica.com/science/2026/12/building-nanowires-that-conduct-better-as-they-get-thinner/
2•rbanffy•1m ago•0 comments

We measured which LLMs catch real bugs in code review

https://www.codereviewbench.com/
1•eddfreitas•1m ago•0 comments

Amazon just broke its own record for the largest launch contract in history

https://arstechnica.com/space/2026/12/amazon-just-broke-its-own-record-for-the-largest-launch-con...
1•rbanffy•1m ago•0 comments

Build, release, and operate Xbox games from your terminal

https://github.com/xbox/cli
1•therepanic•3m ago•0 comments

Beyond Bits: Analog Computing for Real-Time Control – Communications of the ACM

https://cacm.acm.org/research/beyond-bits-analog-computing-for-real-time-control/
2•rbanffy•3m ago•0 comments

OpenAI Erlang SDK – Native OpenAI API Integration for Erlang/OTP

https://github.com/scalicon/openai-erlang
1•vkatsuba•4m ago•0 comments

Lumina Engine

https://luminagameengine.com/
1•frozenseven•4m ago•0 comments

Show HN: I built a video editor for agents to automate making good content

https://darkstud.io/
1•johnjudeh•9m ago•1 comments

The Riemann Hypothesis for Humans

https://arxiv.org/abs/2612.03144
3•__rito__•9m ago•0 comments

Why does shuffling the schedule find so many bugs?

https://fzakaria.com/2026/11/03/why-does-shuffling-the-schedule-find-so-many-bugs
3•ingve•10m ago•0 comments

Show HN: Terminal UI Examples and Themes

https://www.typeui.sh/terminal-ui
2•themesberg•11m ago•0 comments

Why Slack needed a different retrieval approach when building AI assistant

https://deepsense.ai/blog/from-classic-rag-to-agentic-rag-how-retrieval-architectures-evolve-in-p...
2•nvmdbljstm•11m ago•0 comments

Show HN: WordForge – a vocabulary battle game for English learners

https://word-forge.replit.app/
2•wordforge_jp•11m ago•0 comments

Show HN: BPM Finder – In-browser tempo detector for full audio files

https://bpmfinderonline.com/
2•xjtumj•11m ago•0 comments

Django security releases issued: 6.1.4, 6.0.11, and 5.2.20

https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
5•globular-toast•13m ago•0 comments

Vampire camel roamed N America 9M years ago

https://www.smithsonianmag.com/smart-news/researchers-discover-a-prehistoric-vampire-camel-specie...
2•nephihaha•14m ago•0 comments

What Are Authors For?

https://www.bostonreview.net/articles/what-are-authors-for/
2•ColinWright•18m ago•0 comments

AI and Sexuality: ORPO Alignment

https://hartmans.dreamwidth.org/102303.html
2•edward•19m ago•0 comments

AI Cryptography Breakthroughs Spark Fears of a Bitcoin Doomsday

https://www.wsj.com/cio-journal/ai-cryptography-breakthroughs-spark-fears-of-a-bitcoin-doomsday-e...
3•thiagomonteiro•20m ago•0 comments

Railway Has Gone Mobile

https://railway.com/mobile
2•janandonly•21m ago•0 comments

Hyakunin Isshu

https://100poets.com/index/index-by-number/
2•justsomehuman•21m ago•1 comments

Static Recompilation of Age of Empires II PS2 Running Natively on Sega Dreamcast

https://github.com/javierbule/aoe2-dc-recomp
3•JavierBule•23m ago•0 comments

Apocalypse would be beneficial (for the survivors)

https://pawelmiech.com/books/reflection/2026/02/14/station-eleven-apocalypse-beneficial.html
2•ffjffsfr•25m ago•1 comments

Show HN: Cactorial, a Mac app that lets your AI agent make updatable tutorials

https://cactorial.com/
2•mattront•26m ago•0 comments

US Rep. Massie: AI safety is "about trying to maintain power" for AI labs

https://twitter.com/RepThomasMassie/status/2128264430538621403
3•anon373839•26m ago•0 comments

A free daily digest of Linux and local-AI news, with a public page and RSS

https://linux-doctor.com/latest
2•linux-doctorcom•27m ago•0 comments

Handling dates and times in SQL queries with PostgreSQL

https://www.mon-code.net/post/186/handling-dates-and-times-in-sql-queries-with-postgresql
2•metfan•27m ago•1 comments

A Review of 'Ten Arguments for Deleting Your Social Media Accounts Right Now'

https://riddle.press/jaron-lanier-saw-it-all-coming/
2•Bluestein•28m ago•1 comments

Joint statement from large companies on transition to post-quantum cryptography

https://twitter.com/Cloudflare/status/2128331729010115041
2•chr15m•28m ago•0 comments

Carlo Gasbarri: The Role of Mathematicians in Mathematics

https://arxiv.org/abs/2611.29087
2•internet_points•28m ago•0 comments