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!

PostgreSQL 18.7 and 19.0: Expression Aggregates 31.6% Slower

https://thestacksentinel.com/articles/postgresql-18-7-and-19-0-expression-aggregates-31-6-slower-...
1•nspkord•2m ago•0 comments

Mailfact – DMARC you can curl, grep, and give to your AI

https://mailfact.app/
1•thenewit•5m ago•1 comments

Show HN: Space Groups – lists and pins for Herdr's sidebar of agent workspaces

https://github.com/AlexJoom/herdr-space-groups
1•atzoumas•5m ago•0 comments

Restricted Nvidia Chips Installed at a Chinese Data Center Linked to Alice Huang

https://www.engadget.com/2329748/restricted-nvidia-chips-were-installed-at-a-chinese-data-center-...
1•thm•9m ago•0 comments

Smart-terminal – zsh ghost-text command suggestions with reversibility

https://github.com/sdi2200246/smart-terminal
1•JNS26•13m ago•0 comments

Preparing for a restart after reading Slack

https://openai.com/safety-alignment/misalignment-reports/preparing-for-a-restart-after-reading-sl...
2•anatolii1309•14m ago•0 comments

Anthropic's answer to a 167-year-old mystery isn't mathematics at all

https://observer.co.uk/news/opinion-and-ideas/article/anthropics-answer-to-a-167-year-old-mystery...
1•jalev•18m ago•0 comments

NIST: Towards Best Practices for Evaluating Super Intelligence Driven Uplift

https://www.nist.gov/news-events/news/2026/11/towards-best-practices-evaluating-si-driven-uplift
1•ersinesen•18m ago•0 comments

Linux C2 from Scratch 0x01: Virtualising Your Malware

https://jm33.me/linux-c2-from-scratch-0x01-virtualising-your-malware.html
1•frostbyte7•22m ago•0 comments

Show HN: Luciole Mono – terminal font designed for legibility

https://scriptor-pro.github.io/luciole-mono/
5•BaudouinVH•23m ago•1 comments

Icelandic Naming Committee

https://en.wikipedia.org/wiki/Icelandic_Naming_Committee
2•djoldman•23m ago•0 comments

Ctxblame – "Git blame" for LLM agent decisions via counterfactual replay

https://github.com/kekeandzeyu/ctxblame
1•kekeandzeyu369•25m ago•0 comments

x86 Is an Octal Machine

https://gist.github.com/seanjensengrey/f971c20d05d4d0efc0781f2f3c0353da
1•fanf2•31m ago•0 comments

Browser Tabs as a Container Runtime

https://fzakaria.com/2026/11/25/browser-tabs-as-a-container-runtime
2•birdculture•31m ago•0 comments

Yaw Tog – Sore Ft. O'Kenneth, City Boy, Reggie and Jay Bahd

https://www.reddit.com/user/gsclason/comments/1y7kgrb/yaw_tog_sore_ft_okenneth_city_boy_reggie_ja...
1•halmblogmusic•34m ago•0 comments

We run 100s of AI agents – here are the most common cyber attacks

https://getjavo.com/articles/ai-agent-attacks-what-we-saw/
2•bentann•37m ago•0 comments

Show HN: DecksMD – Native Markdown flashcards for your Markdown vault

https://decksmd.app/
4•hotpatato•38m ago•0 comments

Zarko Zivkovic

https://coreaex.com/
1•tschooduck•41m ago•0 comments

Show HN: Folio – Share your notes with the AI you use. For Free

https://folio-eta-bay-59.vercel.app
1•Adam-Hincu•44m ago•0 comments

Show HN: Agentic Signal – build AI agents from nodes, run them on local models

https://github.com/code-forge-temple/agentic-signal
2•code-forge•49m ago•0 comments

Why MySQL OR is slower than IN

https://www.percona.com/blog/why-mysql-or-is-slower-than-in/
6•millspore•52m ago•0 comments

Perplexity, Cross Entropy, and What 0.76 Means

https://www.sithankanna.com/posts/perplexity-is-cross-entropy.html
1•hdit•52m ago•0 comments

iPhone users are getting hacked, Telegram Warns

https://thedefiant.io/news/security/telegram-urges-users-on-older-ios-to-update-iphones
5•s_u_d_o•1h ago•0 comments

Making of the Meat Proxy

https://yeikoff.xyz/blog/11-28-2026-making-meat-proxy/
2•iglesiastj•1h ago•0 comments

iPhone users are getting hacked

5•s_u_d_o•1h ago•0 comments

Grand Theft GTA

https://grandtheftgta.com/
2•raimue•1h ago•0 comments

A neural amp modeller on an ESP32-S3

https://emblent.audio/coyopedal/
2•arbayi•1h ago•0 comments

Show HN: Svelto, a Language-Agnostic Svelte

https://lumiumai.github.io/svelto/
2•hinryd•1h ago•1 comments

GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims

https://malspark.com/blog/malicious-gguf-models-hugging-face/
19•homarp•1h ago•7 comments

Neural Networks and Deep Learning – Book Archive

https://nielsensdeeplearningbook.org/
1•Anon84•1h ago•0 comments