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!

Covert CIA program said to be behind mysterious attacks on Galápagos boats

https://www.washingtonpost.com/investigations/2026/08/13/covert-cia-program-said-be-behind-myster...
2•u1hcw9nx•4m ago•0 comments

I released a game that has no assets [video]

https://www.youtube.com/watch?v=Qr3VsZYQy4s
1•duck•6m ago•0 comments

JCT-1 Labs announces general availability of JCT-1

https://www.jacquescorbytuech.com/writing/jct-1-labs-announces-general-availability-jct-1
1•iamacyborg•8m ago•0 comments

Making of the Four Books of Architecture – C82: Works of Nicholas Rougeux

https://www.c82.net/blog/making-of-the-four-books-of-architecture
1•dsushant•9m ago•0 comments

Ask HN: How do you use AI for learning?

1•marko-djuric•10m ago•0 comments

Comma AI Introducing Chestnut

https://blog.comma.ai/chestnut/
1•b8•11m ago•0 comments

Connecticut judge says plaintiff hid messages for AI in court filings

https://www.reuters.com/legal/litigation/connecticut-judge-says-plaintiff-hid-messages-ai-court-f...
3•nomilk•14m ago•0 comments

PenguinHarness, Harness for Recursive Self-Improvement

https://github.com/Prism-Shadow/penguin-harness
1•jinqueeny•16m ago•0 comments

Bootloader Unlock – Xiaomi MTK (HyperOS/MIUI14): No Mi Unlock Tool or 168h Wait

https://xdaforums.com/t/guide-bootloader-unlock-xiaomi-mtk-hyperos-miui14-no-mi-unlock-tool-no-16...
1•Markoff•23m ago•0 comments

96.2% on ARC-AGI-3 with Opus 5

https://twitter.com/jeremyberman/status/2087633198822117446
2•rzk•24m ago•1 comments

Show HN: 8-player survival Pong, the arena loses a wall every time someone loses

https://antics.gg/world/side-out-94df7d
2•eric_khun•25m ago•1 comments

HS₂ installs a plaque 40M below London to celebrate the Brunels' legacy

https://www.ianvisits.co.uk/articles/hs2-installs-a-plaque-40-metres-below-london-to-celebrate-th...
1•zeristor•28m ago•1 comments

Show HN: Miser – Cost-Optimised AI Gateway

https://github.com/rShetty/miser
1•rshetty•28m ago•0 comments

Flock will add privacy guardrails to camera systems amid backlash

https://thehill.com/policy/technology/6027324-flock-cameras-ai-surveillance-privacy-updates/
1•sssilver•28m ago•0 comments

AI Isn't Outthinking Mathematicians. It's Out-Remembering Them

https://davidepiffer.com/p/ai-isnt-outthinking-mathematicians
1•rzk•31m ago•0 comments

Aiseesoft Mac Video Converter Ultimate

https://www.aiseesoft.com/mac-video-converter-ultimate/
1•aiseesoft•32m ago•1 comments

Loss Curves Lie: Building a Deterministic Linter for ML Training Runs

https://ai.bedvibe.studio/trainproof/
1•BedVibe_Studios•32m ago•0 comments

TravelMatchr I built a matching app for travelers whose friends are never free

https://travelmatchr.com
2•NunoAires•32m ago•1 comments

Gary Kildall's Design of Knowledge Retrieval Systems for PC

https://www.programmersatwork.net/blog/gary-kildalls-design-of-knowledge-retrieval-systems-for-pc
1•rbanffy•32m ago•0 comments

Herdr-nvim: Neovim integrated into your herdr workspace

https://github.com/ChmaraX/herdr-nvim
1•ryuzyy•32m ago•0 comments

The web's newest weapon against AI scrapers is a font

https://arstechnica.com/ai/2026/08/new-font-turns-ordinary-webpages-into-nonsense-for-ai-scrapers/
2•rbanffy•34m ago•0 comments

Why Books Don't Work: Constructivism over Transmissionism (2021)

https://www.masterhowtolearn.com/2021-01-30-why-books-dont-work-constructivism-over-transmissionism/
8•bmacho•37m ago•2 comments

Osstrl – open-source Software Technology Readiness Level (OSSTRL) 1–9

https://github.com/adulau/osstrl
1•adulau•38m ago•0 comments

Claude AI Content Marks Will Go Global but Cannot Prove Authorship

https://www.ainews.com/p/claude-ai-content-marks-will-go-global-but-cannot-prove-authorship
2•ashurandi•38m ago•0 comments

Friday Links #43: What Mattered in JavaScript This Week

https://jsdevspace.substack.com/p/friday-links-43-what-mattered-in
1•javatuts•40m ago•0 comments

Show HN: HyperOS Unfcker

https://github.com/Enki013/hyperosunfcker
1•vednig•40m ago•0 comments

Hello There

https://www.thegoalonline.com/atlantis-marketplace/rotator
1•robert753•41m ago•0 comments

The AI-Native Company

https://danielmiessler.com/blog/the-ai-native-company
1•zjh•41m ago•0 comments

Ask HN: Analogy for Database Modification Recovery?

1•shivajikobardan•43m ago•0 comments

We Reduced API Requests in the Hetzner Cloud Controller Manager

https://www.hetzner.com/blog/How-we-reduced-API-requests-in-the-Hetzner-Cloud-Controller-Manager/
2•lukasmetzner•47m ago•0 comments