frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo 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!

Star-History.com in 2025

https://www.star-history.com/blog/star-history-2025
1•tianzhou•50s ago•0 comments

Making Magic Leap past Nvidia's secure bootchain and breaking Tesla Autopilots

https://fahrplan.events.ccc.de/congress/2025/fahrplan/event/making-the-magic-leap-past-nvidia-s-s...
1•rguiscard•1m ago•0 comments

A simulator for concentrated stock diversification

https://diversifire.ludable.com
1•ludable•1m ago•1 comments

A brief, incomplete, and mostly wrong climate forecast for 2026

https://climatedrift.substack.com/p/a-brief-incomplete-and-mostly-wrong-19c
1•dxs•1m ago•0 comments

Show HN: Built a fast, light GUI for PostgreSQL (replaces DataGrip)

https://github.com/foxwise-ai/seekqool
1•hgezim•2m ago•1 comments

Show HN: Allscreenshots – a developer focused screenshot as a service API

https://allscreenshots.com
1•erikpau•3m ago•0 comments

Why Did Waymos Get Stuck? Was It Crazy Humans?

https://www.forbes.com/sites/bradtempleton/2025/12/31/why-did-waymos-get-stuck--was-it-crazy-humans/
1•mhb•6m ago•0 comments

Show HN: Bloomberry – Find out what SaaS products a company uses

https://bloomberry.com/explore/
1•AznHisoka•8m ago•0 comments

Show HN: Browser-to-Browser File Sharing Using the Web Push API

https://baab.atj.sh
2•letaem77•9m ago•0 comments

Need for 'Untagged' Label in Keep Notes

1•mil10akash•9m ago•0 comments

Logos Language Guide: Compile English to Rust

https://logicaffeine.com/guide
1•tristenharr•11m ago•1 comments

Tell HN: Stripe Dashboard Is Slow

1•_RPM•13m ago•0 comments

I built a API that autogenerates FedRamp boundary diagrams

https://github.com/atelierlogos/hayashi
1•jdbohrman•15m ago•0 comments

The benefits of a harsh mentor [video]

https://www.youtube.com/watch?v=-HC1eYHQ6qo
1•saltysalt•16m ago•0 comments

Show HN: Tokri – a cross-platform drag-and-drop desktop basket

https://github.com/jarusll/tokri
1•jarusll•17m ago•0 comments

Aphros-WASM: Computational fluid dynamics solver in the browser

https://cselab.github.io/aphros/wasm/aphros.html
1•summarity•17m ago•0 comments

From Silicon to Sandstorm: breaking famous synthesizer DSPs [video]

https://media.ccc.de/v/39c3-from-silicon-to-darude-sand-storm-breaking-famous-synthesizer-dsps
1•natebc•18m ago•1 comments

Winio: Single-threaded asynchronous GUI runtime

https://github.com/compio-rs/winio
1•P_qRs•18m ago•0 comments

Ask HN: Does GitHub have a traffic reporting bug for Jul-Aug Dec-Jan?

1•fruitplants•20m ago•0 comments

AI in the Global Lexicon of 2025

https://redalemeden.com/blog/2026/ai-in-the-global-lexicon-of-2025/
2•kaishin•24m ago•0 comments

The Heartbreak Machine: Nazis in the Echo Chamber [video]

https://media.ccc.de/v/39c3-the-heartbreak-machine-nazis-in-the-echo-chamber
1•robtherobber•25m ago•0 comments

iOS allows alternative browser engines in Japan

https://developer.apple.com/support/alternative-browser-engines-jp/
2•eklavya•29m ago•0 comments

Irish radio to celebrate 100 years in 2026

https://www.rte.ie/news/ireland/2026/0101/1551072-irish-radio-centenary/
1•austinallegro•29m ago•0 comments

Privacy aware layman understanding of cancer medical records using RAG and ML

https://understand-your-cancer-medical-records-in-layman-ese.vercel.app/
1•tuxguy•31m ago•0 comments

Sorting with Fibonacci Numbers and a Knuth Reward Check

https://orlp.net/blog/fibonacci-sort/
1•g0xA52A2A•31m ago•0 comments

What Happened in 2025

https://avc.xyz/what-happened-in-2025
1•wslh•38m ago•0 comments

Cinderella Stamp

https://en.wikipedia.org/wiki/Cinderella_stamp
2•bookofjoe•41m ago•0 comments

Show HN: LeadSynth – Capture leads at the exact moment they're looking

https://www.leadsynthai.app/
2•datamine007•42m ago•2 comments

Securing MCP Infrastructure

https://aliparnan.com/blog-mcp-security.html
1•aliparnan•52m ago•0 comments

Nokia went from iPhone victim to $1B Nvidia deal

https://www.ft.com/content/0a07cbc3-dac4-4b89-9f26-038deb833060
1•mmarian•53m ago•1 comments