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!

Forever Junior: The Skills AI Can't Develop for You

https://tech.criteo.com/blog/human-skills-ai-cant-develop-junior-engineers/
1•brugidou•2m ago•0 comments

Books of the Times; Hackers as Heroes (1999)

https://archive.nytimes.com/www.nytimes.com/books/99/01/03/specials/levy-hackers.html
2•so-cal-schemer•13m ago•1 comments

Are CAPTCHAs Still Bot-Hard?

https://halligan.pages.dev/
4•vednig•14m ago•0 comments

pg_plan_filter 1.0.0 Released

https://www.postgresql.org/about/news/pg_plan_filter-100-released-3352/
1•ear7h•19m ago•0 comments

High Interest Rates Aren't Slowing AI Boom

https://www.nytimes.com/2026/10/05/business/ai-boom-interest-rates-fed.html
2•Ambolia•20m ago•0 comments

Show HN: GitHub Action to check AI-written code changes no files, without review

https://github.com/yuyuyuyuyu-dev/assert-no-unexpected-changes
1•yuyuyuyuyu-dev•21m ago•0 comments

Twenty-two pending curl vulnerabilities

https://daniel.haxx.se/blog/2026/10/07/twenty-two-pending-curl-vulnerabilities/
3•mfrw•24m ago•1 comments

HN has lost the joy for me

3•trencedamp•30m ago•0 comments

Show HN: Neptune, a free and open-source terminal built in Rust

https://github.com/zevem/neptune
1•gabo2006•31m ago•1 comments

Longest traffic jam (number of vehicles): Berlin 1990

https://www.guinnessworldrecords.com/world-records/461618-longest-traffic-jam-number-of-vehicles
3•rguiscard•32m ago•0 comments

Stack Overflow Developer Survey – Number of HN Comments by Year (Last 8 Years)

https://i.imgur.com/wN2XVEE.png
2•nomilk•41m ago•0 comments

The Fever Has Broken – Why "Chinamaxxing" Matters

https://www.sinicapodcast.com/p/the-fever-broken-for-now
1•verdverm•42m ago•0 comments

Licensing costs driving 90 percent of VMware users to explore options: Survey

https://arstechnica.com/information-technology/2026/10/operational-complexity-a-top-barrier-for-v...
2•joozio•47m ago•0 comments

Vanishing Crossword

https://wordmaze.dev/
2•sidPhoenix17•48m ago•0 comments

Software developers are not okay

https://www.baldurbjarnason.com/2026/05-software-developers-are-not-okay/
2•equalsione•51m ago•0 comments

What's missing from the lethal injection conversation

https://www.npr.org/2026/10/07/nx-s1-5991797/christa-pike-execution-injection-alive-dead
2•theanonymousone•54m ago•0 comments

I'm starting a company that uses no AI, A letter from San Francisco, October '26

https://no-ai-tau.vercel.app/
2•normanvalentine•58m ago•0 comments

CVE-2026-63277 – LibreOffice Remote Code Execution

https://github.com/advisories/GHSA-5JX8-5G92-5W59
1•mritzmann•59m ago•0 comments

DBX: Database Manager

https://dbxio.com/en
1•thunderbong•1h ago•0 comments

LGTM: A parody of modern AI adoption in the tech industry [video]

https://www.youtube.com/watch?v=3TNpOD6bov8
3•alexeyza•1h ago•0 comments

The one ring problem: abstraction and our quest for power (2018)

https://www.tedinski.com/2018/01/30/the-one-ring-problem-abstraction-and-power.html
2•signa11•1h ago•0 comments

Python none coalescing? and?= pep 824

https://peps.python.org/pep-0824/
3•gigatexal•1h ago•0 comments

Show HN: Chorus – Ask multiple AIs at once on Mac

https://github.com/askchorus/chorus
2•smileduck•1h ago•0 comments

Jaguar targets young Americans with Type 01 EV – it's too long for UK parking

https://www.theguardian.com/business/2026/oct/07/jaguar-launch-type-01-electric-vehicle
3•porterde•1h ago•0 comments

Tescreal hallucinations: Psychedelic and AI hype as inequality engines

https://akjournals.com/view/journals/2054/7/S1/article-p22.xml
2•gushogg-blake•1h ago•0 comments

Reframe an AI Short Film [video]

https://www.youtube.com/watch?v=9MlK5VTMD88
2•daverol•1h ago•0 comments

Show HN: Truth Firewall – Don't trust your coding agent when it says DONE

https://github.com/aldi949/truth-firewall
2•Aldi949•1h ago•0 comments

Show HN: Sayrud – Yet Another Collaborative Spreadsheet

https://github.com/sayrud/sayrud
2•E99p1ant•1h ago•0 comments

A cyberpunk HUD overlay for Discord in pure Vanilla JavaScript

https://github.com/Doomeec/discord-quest-hud
2•doomeec•1h ago•0 comments

Show HN: Slopguesser – can you tell if code was written by AI or a human?

https://slopguesser.dev
2•marcascode•1h ago•0 comments