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

"Now I Have the Full Picture"

https://taoofmac.com/space/notes/2026/04/19/1400
1•rcarmo•33s ago•0 comments

They Went Abroad to Save Money. Moving Back Seems Unaffordable

https://www.nytimes.com/2026/04/19/business/americans-abroad-cheaper-living-costs.html
1•mikhael•2m ago•0 comments

The Unsuitability of English (2015)

https://www.chronicle.com/blogs/linguafranca/the-unsuitability-of-english
1•downbad_•3m ago•1 comments

A Chinese Android just ran a half-marathon faster than any human

https://www.cnn.com/2026/04/19/china/china-robot-half-marathon-intl-hnk
3•Bender•9m ago•1 comments

Show HN: Faceoff – A terminal UI for following NHL games

https://www.vincentgregoire.com/faceoff/
3•vcf•9m ago•0 comments

Show HN: A drop-in, open-source replacement for YouTube embed iframes

https://embedlite.com/
1•corentin88•9m ago•0 comments

The Bromine Chokepoint: How Strife Could Halt Production of World’s Memory Chips

https://warontherocks.com/cogs-of-war/the-bromine-chokepoint-how-strife-in-the-middle-east-could-...
3•crescit_eundo•10m ago•0 comments

Air Force Recruits Most New Airmen Since 2004, Making Goal Early

https://www.airandspaceforces.com/active-air-force-hits-recruiting-goal-early-2026/
2•Bender•11m ago•0 comments

Thermometry of simulated Bose–Einstein condensates using machine learning

https://iopscience.iop.org/article/10.1088/2632-2153/ae4f4f
1•opnac•11m ago•0 comments

Sam Altman reportedly targeted in second attack

https://www.theverge.com/ai-artificial-intelligence/910890/openai-sam-altman-second-home-attack-s...
2•GaryBluto•12m ago•0 comments

Make flipbooks from browser sessions, videos and documents

https://flipbook.browserbox.io
1•keepamovin•13m ago•0 comments

Recent advances push Big Tech closer to the Q-Day danger zone

https://arstechnica.com/security/2026/04/while-some-big-tech-players-accelerate-pqc-readiness-oth...
1•Bender•13m ago•0 comments

Show HN: Alodb – I got tired of pasting my Postgres schema into ChatGPT

https://alodb.com
1•eyvzov•15m ago•1 comments

When old HTML5 dreams become reality – field generator in a nutshell

https://rogmash.neocities.org/AuroraCore
1•rogmash•17m ago•2 comments

MCPs are the music of AI Agents. We built the player

https://github.com/vinkius-labs/mcp-explorer
1•renatomarinho•17m ago•0 comments

Why North Koreans Don't Revolt? (and Probably Never Will) [video]

https://www.youtube.com/watch?v=CtgJzLx7y04
1•lisper•17m ago•0 comments

A frictionless, self-hosted e-book sync between Kindle, Android, and KOReader

https://philwornath.com/garden/self-hosted-ebook-sync-koreader
1•ph1lw•17m ago•0 comments

How to Break a Terroristleigh Dickinson University

https://www.youtube.com/watch?v=JaSp20sjc10
1•tukunjil•18m ago•1 comments

Alex Karp is a pathetic toddler

https://www.hamiltonnolan.com/p/grievance-poisoning-in-the-first
2•blackcoffeerain•20m ago•0 comments

Babies Born from Dead Parents Will Increase with New Tech

https://www.404media.co/babies-born-from-dead-parents-will-increase-with-new-tech-are-we-ready/
1•Brajeshwar•20m ago•0 comments

Multi-agent systems: Frameworks and step-by-step tutorial

https://blog.n8n.io/multi-agent-systems/
1•onchainintel•22m ago•0 comments

Dario – local proxy to keep Claude Pro/Max working with any client

https://github.com/askalf/dario
1•askalf•23m ago•1 comments

The Dangers of Reusing Protobuf Definitions: Critical Code Exec in Protobuf.js

https://www.endorlabs.com/learn/the-dangers-of-reusing-protobuf-definitions-critical-code-executi...
1•gnabgib•23m ago•0 comments

The Imperative of Mastering Writing and Coding in the Age of Automation

https://fodysoft.com/blog/learn-coding/
1•osdotsystem•25m ago•1 comments

Software Driven Drive Lights

https://bumblingelectron.blogspot.com/2026/04/creating-drive-lights-on-gpio-linux-only.html
1•mainmeister•26m ago•0 comments

Model Council

https://github.com/bruce249/Model_Council
1•vignesh_146•27m ago•1 comments

SQLite prefixes its temp files with `etilqs_`

https://avi.im/blag/2026/etilqs/
1•birdculture•31m ago•0 comments

Some secret management belongs in your HTTP proxy

https://blog.exe.dev/http-proxy-secrets
2•tosh•34m ago•0 comments

Show HN: Infrawise Azure Cloud Optimization

https://infrawiseai.com
1•pdroid12•35m ago•0 comments

Show HN: Bridge the gap between AI code/app generation and human understanding

https://sourcebridge.ai
1•Craze0•35m ago•0 comments