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!

Iran war shows Green Deal 'fundamental' to EU security

https://www.politico.eu/article/eu-green-deal-energy-security-iran-war/
1•vrganj•1m ago•0 comments

PEP 827 – Type Manipulation

https://peps.python.org/pep-0827/
1•arusahni•3m ago•0 comments

Volkswagen to cut 50k jobs as China offers cheaper electric cars

https://www.telegraph.co.uk/business/2026/03/10/volkswagen-to-cut-50000-jobs-after-failed-bet-on-...
2•emzo•4m ago•0 comments

Show HN: Iran War Clock

https://www.iranwarclock.com/
1•martialg•4m ago•0 comments

Cold DMs don't work anymore. Here's what got me my first users

1•deep1283•5m ago•0 comments

AI C-Suite – Chat with a fictional leadership team (1-on-1 or group chat)

https://99helpers.com/tools/csuite-advisor
1•nickk81•8m ago•1 comments

Most B2B Lead Generation Tools Create Contacts, Not Customers

1•lakshmirk•8m ago•0 comments

Show HN: A mission-based game to help students apply math in real life

https://www.owsterlabs.com/module/eagle-in-the-sky/
1•firepegasus11•9m ago•0 comments

Who Killed German Nuclear?

https://zionlights.substack.com/p/who-really-killed-german-nuclear
1•mpweiher•9m ago•0 comments

Removing recursion via explicit callstack simulation

https://jnkr.tech/blog/removing-recursion
1•gsky•11m ago•0 comments

Amygdala Research: Prompt topic, get footnoted report from experts in seconds

https://amygdala.eu/research
1•JoranCornelisse•12m ago•0 comments

Gemini Exporter – a Chrome extension to export Gemini chats

1•nongquy•16m ago•0 comments

Understanding React Native's new architecture

https://www.z1.digital/blog/react-native-s-new-architecture-a-paradigm-shift
1•ClarisaGuerra•16m ago•0 comments

IronPE – Minimal Windows PE manual loader written in Rust

https://github.com/iss4cf0ng/IronPE
1•iss4cf0ng•17m ago•0 comments

Nasdaq partners with Kraken to distribute tokenized stocks globally

https://www.coindesk.com/business/2026/03/09/nasdaq-and-kraken-are-teaming-up-to-let-you-trade-to...
1•giuliomagnifico•19m ago•0 comments

Show HN: .ispec – because documentation always lies and I'm trying to fix that

https://github.com/johnfire/ispec
1•alby-durer•20m ago•0 comments

We now know why some people had blood clots after Covid shots

https://www.thehindu.com/sci-tech/science/we-now-know-why-some-people-had-severe-blood-clots-afte...
1•thisislife2•21m ago•0 comments

Mnemos,persistent memory for AI agents

https://github.com/mem9-ai/mem9
2•mountainview•23m ago•0 comments

I put my whole life into a single database

https://howisfelix.today/
1•lukakopajtic•24m ago•0 comments

Lambda Calculus Explorer

http://kmicinski.com/cis352-s26/lambda-playground/
1•todsacerdoti•24m ago•0 comments

Ask HN: What AI content automation stack are you using in 2026?

2•jackcofounder•25m ago•1 comments

Bash is all you need. A nano Claude Code–like agent, built from 0 to 1

https://github.com/shareAI-lab/learn-claude-code
1•Oras•26m ago•0 comments

Hardware passkeys are winning on security, losing on adoption

https://www.corbado.com/blog/hardware-passkey-adoption-observability
1•vdelitz•27m ago•0 comments

Too Much Color

https://www.keithcirkel.co.uk/too-much-color/
5•Keithamus•27m ago•0 comments

CPG – Generate Cilium network policies from dropped Hubble flows

1•soulkyu•29m ago•0 comments

What's my JND? – a colour guessing game

https://www.keithcirkel.co.uk/whats-my-jnd/?r=ARUjKP__-ve-
3•Keithamus•30m ago•2 comments

I think I'm turning into a vibe coder

2•bekauridev•32m ago•2 comments

Measuring the Weight of an Electron (2017)

https://deftly.net/posts/2017-06-01-measuring-the-weight-of-an-electron.html
2•asimovDev•33m ago•0 comments

I made myself a device that tells me what plane flies above my home

https://old.reddit.com/r/aviation/comments/1roy7qs/i_made_myself_a_device_that_tells_me_what_plane/
1•taubek•34m ago•0 comments

Working to Decentralize FedCM

https://atproto.com/blog/working-to-decentralize-fedcm
1•erlend_sh•37m ago•0 comments