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!

The Age-Old Urge to Destroy Technology

https://www.newyorker.com/culture/infinite-scroll/the-age-old-urge-to-destroy-technology
1•chrisaycock•2m ago•0 comments

Richard Feldman: language runtime overhead (2022) [video]

https://vimeo.com/653510682
1•tosh•4m ago•0 comments

Show HN: I built an open protocol for Agent-to-agent commercial negotiation

https://a2cn.io/
1•cmagorr1•4m ago•0 comments

Rare China visit, Taiwan's opposition leader calls for reconciliation

https://www.aljazeera.com/news/2026/4/8/on-rare-china-visit-taiwans-opposition-leader-calls-for-r...
1•_tk_•8m ago•0 comments

Did WordPress VIP leak my phone number?

https://shkspr.mobi/blog/2026/04/did-wordpress-vip-leak-my-phone-number/
1•ColinWright•9m ago•0 comments

OpenAI Codex reaches 3M weekly active users, up from 2M in under a month

https://twitter.com/thsottiaux/status/2041655710346572085
1•alecco•10m ago•0 comments

What Is a 'Cyberdeck': Meet Gen Z's New DIY Obsession

https://www.newsweek.com/what-is-a-cyberdeck-gen-zs-new-custom-computing-obsession-11787017
1•breve•11m ago•0 comments

Roc: Fast

https://www.roc-lang.org/fast
1•tosh•20m ago•0 comments

What does Lockdown Mode do to keep you safe from spyware? [video]

https://www.youtube.com/watch?v=5D3lWDUEJA8
1•skibz•27m ago•0 comments

An AI Agent. In COBOL. Yes

https://github.com/xawt/cobold-cli
2•Brosper•29m ago•0 comments

Ask HN: Is there some sort of stigma around Qubes OS on HN?

2•vntok•30m ago•2 comments

Effects of Stablecoin Yield Prohibition on Bank Lending

https://www.whitehouse.gov/research/2026/04/effects-of-stablecoin-yield-prohibition-on-bank-lending/
1•salkahfi•31m ago•0 comments

The Signature Method in Machine Learning (an interactive reading note)

https://ngrislain.github.io/blog/2026-4-6-reading-note-the-signature-method-in-machine-learning/
1•ngrislain•35m ago•0 comments

The Martians

https://en.wikipedia.org/wiki/The_Martians_(scientists)
1•tosh•36m ago•0 comments

We Got the Lithium-ion Battery (2024)

https://www.construction-physics.com/p/how-we-got-the-lithium-ion-battery
1•doener•36m ago•0 comments

Completely Private AI

https://molebieai.com/
1•Jimmy6929•39m ago•0 comments

FormTo – Open-source, self-hosted form back end

https://github.com/lumizone/formto
1•luka5184•40m ago•0 comments

Show HN: I built a Zoom alternative with 1 command

https://sfu.mirotalk.com
1•mp85•41m ago•1 comments

Starving Genies

https://tidyfirst.substack.com/p/starving-genies
1•danebalia•43m ago•0 comments

Roc

https://www.roc-lang.org/
1•tosh•45m ago•0 comments

Struggle Against the Gods

https://firstthings.com/struggle-against-the-gods/
3•marcofloriano•46m ago•0 comments

Google adopts new stance on device fingerprinting (2025)

https://www.lewissilkin.com/insights/2025/01/16/google-adopts-new-stance-on-device-fingerprinting...
1•bellwhistle•47m ago•0 comments

All of the String Types

https://lambdalemon.gay/posts/string-types
1•g0xA52A2A•48m ago•0 comments

Škoda DuoBell – The Bike Bell Designed to Penetrate Noise-Cancelling Headphones [video]

https://www.youtube.com/watch?v=zDaVPfpQvPI
1•SockThief•48m ago•1 comments

Russia Hacked Routers to Steal Microsoft Office Tokens

https://krebsonsecurity.com/2026/04/russia-hacked-routers-to-steal-microsoft-office-tokens/
3•KnuthIsGod•50m ago•0 comments

The Building Block Economy

https://twitter.com/mitchellh/status/2041566958681014418
1•doppp•53m ago•0 comments

HappyHorse 1.0 – Turn Any Idea into AI Videos Instantly

https://happyhorse.video
1•sarkory•53m ago•0 comments

C's Biggest Mistake

https://digitalmars.com/articles/C-biggest-mistake.html
2•mhh__•56m ago•1 comments

What "Open" Means: Abliterating Gemma 4 in 24 Minutes

https://thenewguard.ai/features/abliterating-gemma-4/
2•mattezell•58m ago•0 comments

VR Undermines the Laws of the Internet

https://yadin.com/notes/vr-amends/
1•dryadin•1h ago•0 comments