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!

CRTs and other ewaste can no longer be exported from the USA

https://twitter.com/techknight2/status/2085434346501001668
1•tosh•3m ago•0 comments

The AI slowdown is coming

https://www.transformernews.ai/p/the-ai-slowdown-is-coming
1•reasonableklout•5m ago•0 comments

The Event of 2033 – An AI-Imagined Second Coming

https://www.amazon.com/dp/B0HCN65Q57
1•aimasterpiece•10m ago•0 comments

90 second power loss causing second day of train disruption

https://www.bbc.co.uk/news/live/cwy0d0wgy4xt
2•rwmj•15m ago•1 comments

Why and how the Austrian Military moved to LibreOffice (Part 1)

https://blog.documentfoundation.org/blog/2026/08/07/why-and-how-the-austrian-military-moved-to-li...
3•mksaunders2•16m ago•0 comments

DeepSeek V4 Flash 0731: Is It Cheaper to Run It at Home or Pay per Token?

https://grigio.org/deepseek-v4-flash-0731-is-it-cheaper-to-run-it-at-home-or-pay-per-token/
1•grigio•17m ago•1 comments

All memory manufactured in 2027 has been sold out

https://www.ign.com/articles/ramageddon-continues-another-year-as-2027-memory-capacity-is-reporte...
1•inigyou•17m ago•0 comments

Is your Bitcoin seed safe after Coldcard accident? What about iancoleman/bip39?

https://grigio.org/is-you-bitcoin-seed-safe-after-coldcard-accident-what-about-iancoleman-bip39/
1•grigio•18m ago•1 comments

Truckslop

https://truckslop.joshu.dev/
1•tosh•18m ago•0 comments

Marque Terminal

https://marque.at/download
1•scanash00•21m ago•0 comments

The Ones Who Look Outward

https://www.centauri-dreams.org/2026/08/06/the-ones-who-look-outward/
1•JPLeRouzic•22m ago•0 comments

Tsang Tsou-Choi

https://en.wikipedia.org/wiki/Tsang_Tsou-choi
1•bondarchuk•24m ago•0 comments

Show HN: Remembrane – agent memory in one SQLite file, zero dependencies

https://github.com/satyasairay/remembrane
3•satyasairay•24m ago•0 comments

Windows Tracks You with Hidden ID. We Built DeGDID to Block It

https://windscribe.com/blog/windows-tracks-you-with-a-hidden-id-so-we-built-degdid-to-block-it/
1•defrost•25m ago•0 comments

AI model achieves breakthrough in forecasting cyclones – Google DeepMind

https://deepmind.google/blog/weathernext-ai-model-achieves-breakthrough-in-forecasting-cyclones/
1•rbanffy•26m ago•0 comments

Operational Tropical Cyclone Forecasting with AI – Nature

https://www.nature.com/articles/s41586-026-10953-2
1•rbanffy•27m ago•0 comments

Don't get rejected by Apple anymore

https://www.apprejectkit.com/guides/app-store-submission-checklist/
1•jonvolio•28m ago•0 comments

Show HN: CapyToolkit – Browser-native developer and hardware diagnostic tools

https://capytoolkit.com/
1•ChillyCapy•29m ago•0 comments

High-Quality Free Transparent PNG Collections

https://pngdex.com/collections/
1•kanlabs•29m ago•0 comments

I won't read LLM authored fiction

https://mccormick.cx/news/entries/why-i-won-t-read-llm-authored-fiction
2•chr15m•29m ago•0 comments

The offline messaging apps challenging internet shutdowns

https://restofworld.org/2026/india-github-geoblock-jack-dorsey-bitchat/
4•billybuckwheat•30m ago•0 comments

Ask HN: DeepSeek Alternatives

1•bndr•32m ago•0 comments

Ask HN: After 20 years of coding it is not a fun hobby anymore. How about you?

1•alex_x•32m ago•1 comments

Russian spy 'honeytraps' lure Ukrainian soldiers to their deaths

https://www.thetimes.com/world/europe/article/russia-spy-ukraine-death-honeytrap-kbm55pcl7
1•petethomas•33m ago•0 comments

Ball Scratch Simulator: release date, gameplay, VR, and PC requirements

https://ballscratchsimulator.wiki/
1•visiohex•34m ago•1 comments

Passkeys by default and retirement of Microsoft SMS and voice authentication

https://www.microsoft.com/en-us/security/blog/2026/07/13/microsoft-entra-id-security-updates-pass...
1•firefoxd•38m ago•0 comments

How to read the Attention formula from the Attention is all you need paper

https://twitter.com/i/status/2085629807656862037
1•asxndu•39m ago•0 comments

Americans Are Richer Than Everyone Else

https://www.cremieux.xyz/p/americans-are-richer-than-everyone
1•NewCzech•41m ago•1 comments

INT2 KV-cache quantization is getting surprisingly good

https://arxiv.org/abs/2608.02691
1•yunuyean•42m ago•0 comments

Canadian imports for data centre equipment up 88% from prior year

https://www.theglobeandmail.com/business/article-data-centre-equipment-imports-ai-boom-canada/
1•petethomas•44m ago•0 comments