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!

Cultures of Programming: A Companion Exhibition to the Book

https://tomasp.net/cultures/exhibition/
1•lioeters•57s ago•0 comments

LLM DeepSWE Pareto Frontier

https://deepswe.datacurve.ai/
1•ijidak•2m ago•0 comments

Qwen3.8 Max now ranked as the best overall model by agentic index

https://artificialanalysis.ai/?intelligence=agentic-index
3•apitman•2m ago•0 comments

Plumb a PDF for detailed information

https://github.com/jsvine/pdfplumber
1•saikatsg•5m ago•0 comments

Trump's Iran dilemma: He's stuck in war with no exit in sight

https://www.reuters.com/world/middle-east/trumps-iran-dilemma-hes-stuck-war-with-no-exit-sight-20...
4•mapping365•6m ago•0 comments

Automating Low-Risk Code Review at Meta: Radar, Risk Calibration, and Efficiency

https://arxiv.org/abs/2605.30208
1•inferhaven•7m ago•1 comments

When Intelligence Is Not the Bottleneck

https://jackmaguire.org/bottleneck/
1•sillygoose75•8m ago•0 comments

PHAR (File Format)

https://en.wikipedia.org/wiki/PHAR_(file_format)
1•whythismatters•10m ago•0 comments

Show HN: Talkthru – Narrated screen recordings as context for coding agents

https://github.com/EdonZo/talkthru
1•edonzo•10m ago•0 comments

Show HN: Printable Coloring Pages

https://printablecoloringpages.ai/
1•nadermx•11m ago•0 comments

Lost Futures: A 19th-Century Vision of the Year 2000 (2012)

https://publicdomainreview.org/collection/a-19th-century-vision-of-the-year-2000/
2•rtavares•11m ago•0 comments

Ask HN: How do you speed up pipeline testing?

2•colwont•13m ago•0 comments

Unions Can Save Tech Workers and Tech Work

https://jacobin.com/2026/08/uc-upte-tech-workers-union
4•ughitsaaron•15m ago•0 comments

Offensive Internet Posture

https://bruceediger.com/posts/offensive-machine/
4•birdculture•17m ago•1 comments

My phone detects going on a run as "someone snatching my phone and running off"

https://mastodon.gamedev.place/@rygorous/117047697255584965
12•luu•21m ago•14 comments

US Extreme Weather and Climate Change Dashboard

https://extremeweather.thehonestbroker.org/
2•sparrish•22m ago•0 comments

Flood warning: How citizens' AI agents will swamp public services

https://www.computerweekly.com/opinion/Flood-warning-How-citizens-AI-agents-will-swamp-public-ser...
1•edward•22m ago•1 comments

Siglent enshittifies their frequency analyzers

https://siglent.tawk.help/article/ssa3000x-plus-and-x-r-free-trials
4•peteforde•23m ago•1 comments

The End of Electronic Arts Is at Hand

https://tagn.wordpress.com/2026/08/06/the-end-of-electronic-arts-is-at-hand/
3•speckx•23m ago•1 comments

Hollywood is entering its AI era

https://www.economist.com/business/2026/08/04/hollywood-is-entering-its-ai-era
2•edward•24m ago•0 comments

Announcing OpenBao v2.6

https://openssf.org/blog/2026/08/06/announcing-openbao-v2-6/
1•cipherboy•24m ago•0 comments

Deported to the Taliban: the Afghan refugees Europe is sending back

https://voxeurop.eu/en/deportation-afghan-nationals-eu-safe/
2•oriettaxx•25m ago•0 comments

Federal Communications Commission scraps limit on broadcast TV ownership

https://www.nbcnews.com/business/media/federal-communications-commission-scraps-limit-broadcast-t...
14•pseudolus•25m ago•6 comments

Tell HN: Lost over 20yrs of Yahoo Emails

2•zeisaka92•25m ago•1 comments

MediaMTX – open-source live media router

https://mediamtx.org/
1•mrlightful•26m ago•0 comments

Downloadable Past Catalog Archive

https://pastcatalogs.com/
2•bookofjoe•26m ago•1 comments

Show HN: Kifly – Expose your ecommerce store to AI agents via MCP [video]

https://www.youtube.com/watch?v=6gfn03LKRus
1•roberttk1•29m ago•1 comments

Artificial Intelligence used to design new viruses

https://www.bbc.com/news/articles/c5y3j3ngevmo
3•geox•29m ago•0 comments

Everyone Who Will Ever Be Born

https://garyrobinson.net/2026/08/05/everyone-who-will-ever-be-born/
1•garyrob•29m ago•0 comments

Linting the Shape of a Repository

https://alint.org/blog/why-alint/
1•aleqs•30m ago•2 comments