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

M^2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling

https://arxiv.org/abs/2603.14360
1•matt_d•27s ago•0 comments

COW Fork: Zero-Copy Sandbox Cloning for AI Agents

https://multikernel.io/2026/03/19/sandlock-cow-fork/
1•wang_cong•1m ago•0 comments

Netcup Increases Prices over 21%

https://www.netcup.com/en/priceadjustment
1•gethly•2m ago•0 comments

Location of French aircraft carrier leaked in real time via Strava user on board

https://www.lemonde.fr/international/article/2026/03/19/stravaleaks-le-porte-avions-charles-de-ga...
1•asp1•3m ago•0 comments

360B tokens, 3M customers, 6 engineers

https://vercel.com/blog/360-billion-tokens-3-million-customers-6-engineers
1•gmays•7m ago•0 comments

Beat Paxos

http://muratbuffalo.blogspot.com/2026/03/break-paxos.html
1•ingve•8m ago•0 comments

Things That Turbo Pascal Is Smaller Than (2011)

https://prog21.dadgum.com/116.html
1•birdculture•9m ago•0 comments

Justice Department Disrupts Iranian Cyber Enabled Psychological Operations

https://www.publicnow.com/view/938A7EFC4064A4EE42581494308F60A13767ADEA
1•Animats•10m ago•0 comments

US Jobless Claims Fell Last Week to Lowest Since January

https://www.bloomberg.com/news/articles/2026-03-19/us-jobless-claims-declined-last-week-to-lowest...
1•DGAP•10m ago•0 comments

Kalshi in Hot Water – What This Means for Startups Like PolyBets

https://www.nytimes.com/2026/03/17/technology/arizona-criminal-charges-kalshi.html
1•realJared54•10m ago•0 comments

Crypto.com lays off 12% of workforce as latest company to cite AI in job cuts

https://www.cnbc.com/2026/03/19/crypto-com-layoffs-12percent-ai-job-loss.html
2•DGAP•11m ago•0 comments

Young Adults Are Not Happy

https://www.allendowney.com/blog/2026/03/19/young-adults-are-not-very-happy/
2•nznbody•12m ago•0 comments

Tricks That Made Amiga Games Look 3D

https://www.generationamiga.com/2026/03/19/the-mind-blowing-tricks-that-made-commodore-amiga-game...
1•atan2•18m ago•0 comments

Firefox Update Will Prompt Users to Accept Terms of Use at Startup

https://windowsreport.com/firefox-update-will-prompt-users-to-accept-terms-of-use-at-startup-with...
1•belorn•18m ago•0 comments

The AlexNet moment for RAG. March 19th 2026

https://lighton.ai/lighton-blogs/the-bloated-retriever-era-is-over
1•nuitblanche•19m ago•0 comments

A static site generator and website transferring under 20kB

https://theconsensus.dev/blog/2026/03/19/a-static-site-generator.html
1•eatonphil•19m ago•0 comments

Meteorite hunters scour Ohio for fragments of 7-ton space rock that crashed

https://apnews.com/article/ohio-search-meteor-asteroid-fireball-explosion-990fdb46f4c0c447357e4c0...
2•petethomas•20m ago•0 comments

US Mint can begin producing Trump commemorative gold coin

https://apnews.com/article/trump-gold-coin-250th-anniversary-8be387e70ae561c62e27552bf47fb430
3•petethomas•21m ago•2 comments

Taskybear: Agent for you daily Planner and Habit

https://openinapp.link/taskybear-app
1•kravixstudio•21m ago•0 comments

PostgreSQL extension to set connection to read-only mode (for AI agents and MCP)

https://github.com/danolivo/safesession
1•tanelpoder•22m ago•0 comments

What's inside a Lego SMART brick? [Teardown/decapping/imaging video]

https://www.youtube.com/watch?v=S7l6nSAm4hk
1•lysace•22m ago•0 comments

Google Invokes First Amendment to Shield Gmail Users from Piracy Subpoena

https://torrentfreak.com/google-invokes-first-amendment-to-shield-gmail-users-from-piracy-subpoena/
2•gslin•28m ago•0 comments

Linux on IBM Z and LinuxONE Open Source Software February 2026

https://community.ibm.com/community/user/blogs/elizabeth-k-joseph1/2026/03/19/linuxone-open-sourc...
3•rbanffy•30m ago•0 comments

NASA's Hubble unexpectedly catches comet breaking up

https://phys.org/news/2026-03-nasa-hubble-unexpectedly-comet.html
2•rpledge•30m ago•0 comments

Striking gambit: Erling Haaland invests in new world chess championship

https://www.theguardian.com/sport/2026/mar/19/striking-gambit-erling-haaland-invests-in-new-world...
1•mellosouls•30m ago•0 comments

HexVault – Open-source crypto architectures that cut KMS latency 2000x

https://crates.io/crates/hexvault
2•z3ddiez•32m ago•0 comments

Horror Novel 'Shy Girl' Canceled over Suspected A.I. Use

https://www.nytimes.com/2026/03/19/books/shy-girl-book-ai.html
4•jeffwass•35m ago•0 comments

The White House Is Using the Wrong Oil Price for the Iran War

https://www.bloomberg.com/opinion/articles/2026-03-19/iran-war-trump-is-using-the-wrong-oil-price...
5•alecco•36m ago•2 comments

Tesla's Full Self-Driving is on the cusp of a recall

https://www.theverge.com/transportation/897303/tesla-full-self-driving-nhtsa-probe-march-2026
1•voxadam•36m ago•0 comments

Show HN: Where Is Downtown Manhattan?

https://wheredown.town
1•spaghetti-code•36m ago•0 comments