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

Show HN: ModifyWithAI v2 – Add chat-based agents to your app

https://modifywithai.com
1•destroyerxyz•33s ago•0 comments

Show HN: Next.js and Spring Boot SaaS Starter (OAuth, Stripe, Admin)

https://micality1.gumroad.com/l/cnxuk
1•starwisher•1m ago•0 comments

Uber launches an 'AV Labs' division to gather driving data for robotaxi partners

https://techcrunch.com/2026/01/27/uber-launches-an-av-labs-division-to-gather-driving-data-for-ro...
1•jsemrau•1m ago•0 comments

Tim Cook Says He Is 'Heartbroken' by the Events in Minn, Calls for De-Escalation

https://www.marketwatch.com/story/apple-ceo-tim-cook-says-hes-heartbroken-after-minneapolis-shoot...
1•bluedino•2m ago•0 comments

The Algorithmic Tax: Rethinking ROAS as a Profit-Extraction Mechanism

https://breakevenroas.org
1•zidana•3m ago•0 comments

Optimizing my note-taking to study 585 medical conditions this year

https://srg.id.au/posts/notes/
2•lanakei•3m ago•1 comments

Is this the longest Chess game? (2020) [pdf]

https://tom7.org/chess/longest.pdf
1•vismit2000•3m ago•0 comments

Native Instruments GmbH is in preliminary insolvency

https://cdm.link/ni-insolvency/
1•tomwphillips•4m ago•0 comments

SEC Form 8-K – EventBrite acquired by BendingSpoons [Dec 2025]

https://www.sec.gov/Archives/edgar/data/1475115/000119312525304531/d86117d8k.htm
2•philipwhiuk•11m ago•1 comments

Ask HN: Why all the sudden people are writing browsers with AI?

2•paperplaneflyr•13m ago•3 comments

They Covered the Sky, and Then... (2014)

https://www.nybooks.com/articles/2014/01/09/pigeons-they-covered-sky/
1•mitchbob•14m ago•1 comments

Big Tech's borrowing spree raises fears of AI risks in US bond market

https://www.ft.com/content/8264122b-cb6b-4af5-85b8-3789c3ae3a78
2•petethomas•15m ago•0 comments

Diverging the Desktop – in search for better human computing interfaces

https://www.divergent-desktop.org/
1•pabs3•19m ago•0 comments

Bill Gates wants to tax the robots

https://finance.yahoo.com/news/bill-gates-wants-tax-robots-233045575.html
2•RyanShook•20m ago•0 comments

Show HN: Xray – A minimal screenshot tool for developers (Rust/Tauri)

1•wlswo•27m ago•0 comments

Odyssey-2 Pro: The GPT-2 moment for interactive world models

https://odyssey.ml/the-gpt-2-moment-for-world-models
2•askooton•29m ago•0 comments

Show HN: Nyxi – Execution-time governance for irreversible

https://github.com/indyh91/Nyxi-Showcase
1•Shaehenderson•31m ago•0 comments

Show HN: Minima LMS – Bitmap view tracking, caption search, reusable content

https://github.com/cobel1024/minima
1•pigon1002•32m ago•0 comments

Health Insurers in Shock After Medicare Holds Line on 2027 Payments

https://www.wsj.com/health/healthcare/shock-and-dismay-among-health-insurers-after-medicare-holds...
3•petethomas•34m ago•0 comments

SQL Injection Cheat Sheet

https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet
1•behnamoh•37m ago•0 comments

Peter H. Duesberg, 89, Renowned Biologist Turned HIV Denialist, Dies

https://www.nytimes.com/2026/01/27/science/peter-duesberg-dead.html
1•toomanyrichies•41m ago•2 comments

Modern Law of Leaky Abstractions

https://codecube.net/2026/1/modern-law-leaky-abstractions/
1•CodeCube•44m ago•0 comments

Ask HN: Why do people not like VimScript

1•cirnovsky•46m ago•0 comments

Google to pay $68M over allegations its voice assistant eavesdropped on users

https://www.cbsnews.com/news/google-voice-assistant-lawsuit-settlement-68-million/
2•iamnothere•47m ago•0 comments

Show HN: My AI tracks Polymarket whales with guardrails so it won't bankrupt me

https://predictor-dashboard.vercel.app
1•JackDavis720•48m ago•0 comments

Android's full desktop interface leaks: New status bar, Chrome Extensions

https://9to5google.com/2026/01/27/android-desktop-leak/
1•thunderbong•50m ago•0 comments

Amazon Discontinuing One Palm?

1•sshillo•51m ago•2 comments

Ups retires its fleet of MD-11 cargo aircraft

https://www.pbs.org/newshour/nation/ups-retires-its-fleet-of-md-11-cargo-aircraft-involved-in-dea...
4•canucker2016•1h ago•2 comments

Rye pollen's cancer-fighting structure revealed for first time

https://phys.org/news/2026-01-rye-pollen-cancer-revealed.html
2•PaulHoule•1h ago•0 comments

Book: "Beading with Algorithms: Cellular Automata in Peyote Stitch."

https://mathstodon.xyz/@gwenbeads/115968206227675487
1•sohkamyung•1h ago•0 comments