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

Dropover – Mouse Jiggling

https://daringfireball.net/linked/2026/05/15/dropover
1•ctaloi•1m ago•0 comments

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•tosh•2m ago•0 comments

Show HN: Nativeblocks – Code-push for native Kotlin and Swift apps

https://nativeblocks.io/
1•alirezat775•2m ago•0 comments

The Code's the Thing

https://www.jimgumbley.com/blog/the-codes-the-thing.html
1•LeonigMig•2m ago•0 comments

DriftLens integrates the practice of self-observation

https://driftlens.substack.com/p/grounded-in-monastic-self-observation
1•driftlensOS•2m ago•0 comments

Gemini Omni

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-omni/
1•pretext•3m ago•0 comments

Potemkin "Independence" May Be the Future of the Fed in Bank Regulation

https://toddhbaker.substack.com/p/potemkin-independence-may-be-the
1•petethomas•6m ago•0 comments

Has the Anthropic Settlement Changed Everything?

https://writerbeware.blog/2026/05/22/has-the-anthropic-settlement-changed-everything/
1•speckx•7m ago•0 comments

Show HN: CoreMem – Portable context for AI agents

https://coremem.app
2•20wenty•10m ago•0 comments

2-time NASCAR champ Kyle Busch dies at 41 after a 'severe illness'

https://www.washingtonpost.com/sports/auto-racing/2026/05/21/nascar-kyle-busch-hospitalized/bb0c5...
1•bookofjoe•10m ago•1 comments

Phind.com has shut down completely

https://old.reddit.com/r/LocalLLaMA/comments/1qfbt9f/local_replacement_for_phindcom/
3•behnamoh•13m ago•0 comments

Seven days of fasting transforms the human body

https://www.sciencedaily.com/releases/2026/05/260517030404.htm
1•ketanmaheshwari•14m ago•0 comments

Vulnerabilities in various GTK-based PDF readers

https://lwn.net/Articles/1073944/
2•Brajeshwar•15m ago•0 comments

Tulsi Gabbard resigns as US director of national intelligence

https://www.bbc.com/news/articles/cvgj2gkv1x1o
5•thm•17m ago•1 comments

Cartesia's Sonic-3.5 Takes #1 on Artificial Analysis Speech Leaderboard

https://artificialanalysis.ai/text-to-speech/leaderboard
2•ganeshmm•17m ago•0 comments

Commencement Speeches

https://apps.npr.org/commencement/
1•gcanyon•18m ago•0 comments

Thinking in an Array Language

https://github.com/razetime/ngn-k-tutorial/blob/main/12-thinking-in-k.md
3•tosh•19m ago•0 comments

Sundar Pichai discusses AI search

https://www.nytimes.com/2026/05/22/podcasts/sundar-pichai-understands-why-people-are-anxious-abou...
2•garyrob•21m ago•0 comments

Bumblebee: Read-only supply-chain inventory for macOS/Linux dev machines.

https://github.com/perplexityai/bumblebee
1•georgehill•22m ago•0 comments

Interim Install Guide: KDE Neon for a professional digital painter workstation

https://www.davidrevoy.com/article1145/interim-install-guide-kde-neon-user-edition-for-a-professi...
2•Tomte•23m ago•0 comments

Immigrants waiting for a Green Card must return to their home country to apply

https://twitter.com/DHSgov/status/2057817233200418837
3•freddier•24m ago•0 comments

AVX-512 and Validating Usage on AMD EPYC

https://www.amd.com/en/blogs/2026/understanding-avx-512---validating-usage-on-amd-epyc-.html
1•tosh•24m ago•0 comments

Canada's shortwave radio time standard station CHU to go dark June 22nd

https://nrc.canada.ca/en/certifications-evaluations-standards/canadas-official-time/nrc-shortwave...
2•joe_bleau•26m ago•0 comments

Kash Patel merch site hacked to trick users into installing malware

https://san.com/cc/kash-patels-personal-merch-site-hacked-to-trick-users-into-installing-malware/
4•impish9208•29m ago•1 comments

India's quiet redrawing of research integrity's accountability chain

https://www.researchinformation.info/analysis-opinion/indias-quiet-redrawing-of-research-integrit...
1•rustoo•29m ago•0 comments

Lattice: Grid-based space navigation for macOS

https://github.com/bryancostanich/lattice
2•keithba•30m ago•1 comments

Microsoft Drops Claude Code After Budget Overrun

https://aiweekly.co/alerts/microsoft-drops-claude-code-after-budget-overrun
55•robertkarl•30m ago•24 comments

TorQ: Kdb+ Production Framework

https://github.com/DataIntellectTech/TorQ
2•tosh•31m ago•0 comments

API to fix telemetry pathologies and calculate invariant proxies

https://dashboard.render.com/web/srv-d888rk8g4nts73et5fv0/deploys/dep-d888rkog4nts73et5ghg?r=2026...
1•Oliviana•31m ago•0 comments

CRTC to require streamers pay 15% of annual rev to support Canadian content

https://nationalpost.com/news/crtc-to-require-online-streamers-to-pay-15-of-annual-revenues-to-su...
1•fidotron•32m ago•0 comments