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

Remote Code Execution Vulnerability in Fooocus

https://mrbruh.com/fooocus/
2•MrBruh•1m ago•0 comments

Lets Encrypt Stopping Issuance for Potential Incident

https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/69fe2d6698ca07050eb4b1b3
3•rbaudibert•1m ago•0 comments

Interpreting A/B Test Results: Statistical vs. Practical Significance

https://prepvector.substack.com/p/interpreting-ab-test-results-statistical
1•arnavashank19•1m ago•0 comments

Production engineering when trading billions of dollars a day [video]

https://www.youtube.com/watch?v=zR9PpXWsKFQ
2•abstrus•1m ago•0 comments

Roadside Attraction

https://theoffingmag.com/essay/roadside-attraction/
2•aways•4m ago•0 comments

Next

https://apps.apple.com/us/app/next-task-money-management/id6477492823
1•inkoda•6m ago•0 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
2•MrBruh•6m ago•0 comments

Show HN: Chat with UFO Files

3•freakynit•6m ago•1 comments

Guy Goma's Accidental BBC Interview Lives on After 20 Years

https://www.nytimes.com/2026/05/06/business/media/bbc-guy-goma-interview.html
1•nxobject•10m ago•0 comments

PayPal layoffs: New CEO cuts 20% of workforce in Q1 2026

https://qz.com/paypal-layoffs-ceo-turnaround-cost-cutting-050626
2•josephscott•11m ago•0 comments

My first in-prod corrupted hard drive problem

https://blog.pavementlink.ch/2026/05/07/my-first-corrupted-hard-drive-problem/
4•r1chk1t•11m ago•0 comments

Model Report, May 2026

https://www.oxen.ai/blog/oxens-model-report-may-8th-2026
2•eloyalbmartinez•14m ago•0 comments

Amazon's Durability

https://stratechery.com/2026/amazons-durability/
1•wslh•14m ago•0 comments

Jane Street Pulls in Record $16.1B Quarterly Trading Haul

https://www.bloomberg.com/news/articles/2026-05-08/jane-street-pulls-in-record-16-1-billion-quart...
3•petethomas•15m ago•0 comments

New PRNG, 3x faster than PCG64, more random, with secure version

https://mltechniques.com/2026/05/05/npg-new-random-generator-3x-faster-stronger-than-pcg64/
1•MLTechniques•15m ago•1 comments

Google A2ui to Prod

https://github.com/manupareekk/agent-ui-to-pr
3•manupareek•17m ago•0 comments

Show HN: tltv – Federation protocol for 24/7 TV channels

https://timelooptv.org/
2•tltv•18m ago•0 comments

Meta plans advanced 'agentic' AI assistant for users

https://www.reuters.com/business/meta-plans-advanced-agentic-ai-assistant-users-ft-reports-2026-0...
2•gmays•18m ago•0 comments

Retardmaxx Your Life

https://www.retardmaxx.com
1•mitchbob•20m ago•0 comments

Scientology Speedrunning

https://en.wikipedia.org/wiki/Scientology_speedrunning
3•Tomte•22m ago•1 comments

Coinbase logs second straight quarterly loss as crypto trading momentum fades

https://www.reuters.com/business/finance/coinbase-logs-second-straight-quarterly-loss-crypto-trad...
5•1vuio0pswjnm7•23m ago•0 comments

Canada's Spring Economic Update 2026 proposes to ban crypto ATMs

https://budget.canada.ca/update-miseajour/2026/report-rapport/chap2-en.html
1•pavel_lishin•24m ago•0 comments

Cloudflare's slowing growth disappoints investors betting on AI boost

https://www.reuters.com/business/cloudflares-slowing-growth-disappoints-investors-betting-ai-boos...
3•1vuio0pswjnm7•25m ago•0 comments

Git Out

https://mht.wtf/post/git-out/index.html
1•speckx•25m ago•0 comments

Why Tennessee just banned cryptocurrency ATMs

https://www.tennessean.com/story/money/business/2026/04/29/tennessee-bans-cryptocurrency-atms-bit...
3•pavel_lishin•26m ago•0 comments

What Makes a Game Tick? Special Issue – Buffy the Performance Slayer

https://mropert.github.io/2026/05/05/making_games_tick_buffy_special/
1•ibobev•26m ago•0 comments

Schools reach out to Canvas hackers as breach hits US classrooms, source says

https://www.reuters.com/legal/litigation/schools-reach-out-hackers-canvas-breach-hits-us-classroo...
1•1vuio0pswjnm7•26m ago•0 comments

Apple Is Holding My Pictures Hostage Until I Accept Their New Terms of Service

https://probablydance.com/2026/05/01/apple-is-holding-my-pictures-hostage-until-i-accept-their-ne...
3•ibobev•28m ago•2 comments

House Prices and Fertility

https://lemire.me/blog/2026/04/30/house-prices-and-fertility/
1•ibobev•28m ago•0 comments

Metformin may work via the gut, not the liver

https://medicalxpress.com/news/2026-05-metformin-real-power-gut.html
1•brandonb•28m ago•0 comments