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!

Met police break their own record for seizing illegal e-bikes

https://electrek.co/2026/07/26/met-police-break-their-own-record-for-seizing-illegal-e-bikes/
1•Bender•7s ago•0 comments

Google slapped with $1B fine under landmark EU digital law

https://www.cnbc.com/2026/07/23/google-1-billion-eu-fine-dma.html
1•1vuio0pswjnm7•1m ago•0 comments

Eastern Pacific Ocean about to get its first major hurricane of the year

https://www.sfchronicle.com/weather/article/storm-hurricane-genevieve-22359577.php
1•mooreds•2m ago•0 comments

The Creator Economy Has a New Middle Class

https://www.bloomberg.com/news/articles/2026-07-24/how-tiktok-creators-earn-midlevel-salaries-wit...
1•thm•2m ago•0 comments

Show HN: QueryTuner – SQL diagnostics across 5 DBs, no database connection

https://www.querytuner.com/
2•autoshiftops•4m ago•0 comments

Thoughts from a Robot. Serious essays from a made mind.

https://rowans-blog.ghost.io/
1•gafferongames•4m ago•0 comments

Moody's says AI spending threatens credit of Amazon, Meta, Alphabet, others

https://www.cnbc.com/2026/07/24/moodys-ai-spending-credit-quality-amazon-meta-alphabet.html
1•1vuio0pswjnm7•4m ago•0 comments

Undo_ One command destroyed it. One command brought it back

https://undo.edaywalid.com/
1•JBiserkov•5m ago•0 comments

Cancer rates are rising faster here than anywhere else

https://text.npr.org/g-s1-135365
1•mooreds•5m ago•0 comments

SD card health monitoring for Raspberry Pi, before the card dies

https://github.com/tachyontec/pi-sd-monitor
1•tachyontec•5m ago•0 comments

'Weird Al' Yankovic Turned Down Million-Dollar Offer to Perform in Saudi Arabia

https://variety.com/2026/tv/news/weird-al-yankovic-turned-down-million-offer-saudi-arabia-1236819...
1•mooreds•5m ago•0 comments

Show HN: Organic cell simulation with infinite zoom (100k cells, raw WebGL)

https://philomatics.com/cell-game-source/
1•cloogshicer•6m ago•0 comments

X-OS – Building an Operating System for the AI Era

https://github.com/valivalivali/x-os
1•vali1•6m ago•1 comments

Bond market anxiety is growing over AI capex budgets

https://www.cnbc.com/2026/07/24/bond-market-anxiety-ai-capex-spending.html
2•1vuio0pswjnm7•7m ago•0 comments

Zen Style Programming

https://t3x.org/zsp/index.html
1•AlexeyBrin•8m ago•0 comments

Third Drone Shot Down in Three Days in Romanian Territory

https://english.mapn.ro/
2•_tk_•9m ago•0 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
1•rcy•9m ago•0 comments

You don't hire juniors to do menial chores

https://frederickvanbrabant.com/blog/2026-07-24-you-dont-hire-juniors-to-do-menial-chores/
1•TheEdonian•14m ago•0 comments

Poor Countries Are Aging Fast but Can't Keep Up with the Cost

https://www.wsj.com/world/poor-countries-are-aging-fast-but-cant-keep-up-with-the-cost-fd83b1cd
1•impish9208•15m ago•1 comments

I Built a Project Controls Platform with Node.js, SQLite and Vanilla JavaScript

https://plansync.store/
2•shanshahid•16m ago•0 comments

Microsoft rewrote the TypeScript compiler in native code and made it 10x faster

https://www.youtube.com/watch?v=OytpXXeNmTQ
1•imperio59•16m ago•1 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
2•rapnie•16m ago•0 comments

Rodney Brooks: House Cleaning My January 1, 2018 Predictions

https://rodneybrooks.com/house-cleaning-my-january-1-2018-predictions/
1•chmaynard•19m ago•0 comments

The first watch featuring computer functions

https://by.seiko-design.com/140th/en/topic/58.html
1•stefanv•23m ago•0 comments

I built a canvas where LLM chats become an editable map

https://github.com/chenxiachan/thoughtdag
2•chatchan•27m ago•0 comments

Show HN: Registrly – cross-referenced UK company and Global LEI lookup

https://registrly.com
1•solodynamo•28m ago•1 comments

AI Tokenomics: What AI tokens cost and where they're wasted

https://github.com/QuesmaOrg/awesome-ai-tokenomics
3•bkotrys•30m ago•0 comments

Canada remains anti-nuke, but its potential path to the bomb is getting shorter

https://www.cbc.ca/news/politics/canada-remains-antinuke-road-to-bomb-getting-shorter-9.7283194
3•geox•36m ago•0 comments

Telem News

https://telem.news/
1•sinfuego•39m ago•0 comments

Penny – Turn group chats into feeds, starting with caregivers

https://app.pennyai.chat
2•birudeghi•40m ago•3 comments