frontpage.
newsnewestaskshowjobs

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•1y 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 Last Boring Slide

https://thelastboringslide.com/
1•c-fe•42s ago•0 comments

Typed Indexes in Zig

https://lvignoli.eu/posts/2026-11-16-typed-indexes-in-zig/
1•birdculture•2m ago•0 comments

Why Does Voice AI Still Struggle with Kenyans' Speech?

https://spectrum.ieee.org/swahili-speech-recognition
1•ersinesen•4m ago•0 comments

Taking Trainium3 to the Track: Generating Videos with LTX-2.5

https://huggingface.co/blog/video-trainium3
1•dacorvo•6m ago•1 comments

A new breed of chip runs AI models using waves of light

https://www.wired.com/story/a-new-breed-of-chip-runs-ai-models-using-waves-of-light/
2•thamiltonsmith•7m ago•0 comments

How the Heck Do Locks Work?

https://perthirtysix.com/how-the-heck-do-locks-work
1•TanZeng•7m ago•0 comments

E-government platform serving 2B people has a critical SQL injection bug

https://www.theregister.com/security/2026/11/27/free-e-government-platform-that-serves-two-billio...
2•Skyfall106•7m ago•0 comments

Temu3 Code: No telemetry. Just receipts

https://temu3code.com
1•rob•8m ago•0 comments

Deploy Log – one commit per production deploy, published publicly

https://github.com/bryanhamiltondev/deploy-log
1•bphamilton01•13m ago•0 comments

Ask HN: What further checks are being done on the Riemann proof?

1•palad1n•14m ago•1 comments

Show HN: MinimalPad, a 16-key wireless macropad I design and build by hand

https://www.minimalmacropad.com
1•TimoWielink•15m ago•0 comments

Rewinding by Fast-Forwarding

https://fzakaria.com/2026/11/05/rewinding-by-fast-forwarding
1•surprisetalk•16m ago•0 comments

TickerGlass – Self-hosted stock charting, screener and alerts (AGPL)

https://github.com/YavuzAkbay/TickerGlass
1•yakbay•18m ago•0 comments

Marmot, an Alternative Go Compiler

https://marmot.gaurav.zip/
2•andreynering•18m ago•0 comments

'Cyber Incident' at UK Department of Work and Pensions

https://www.theguardian.com/politics/2026/nov/27/dwp-cyber-incident-pensions-benefits-systems-off...
2•bifftastic•20m ago•0 comments

Show HN: Bloque – Hosted MCP gateway for teams without an IT department

https://bloque.run
1•k4200•20m ago•0 comments

Roman Love

https://worksinprogress.co/issue/were-the-romans-tolerant-about-sex/
1•andsoitis•21m ago•0 comments

Show HN: Turtle, an importable coreutils implementation in Go

https://github.com/charmbracelet/turtle
2•andreynering•21m ago•0 comments

Local AI Inference on Qubes OS with an Unlocked Blackwell GPU and iGPU SR-IOV [video]

https://media.ccc.de/v/qubesos26-110899-local-ai-inference-on-q
1•_____k•22m ago•0 comments

Science isn't a series of lucky accidents

https://worksinprogress.co/issue/accidental-discoveries/
1•andsoitis•22m ago•0 comments

Qubes OS Summit 2026

https://media.ccc.de/c/qubesos26
1•_____k•22m ago•0 comments

The edge of biotech hedge funds

https://worksinprogress.co/issue/how-do-biotech-hedge-funds-make-money/
1•andsoitis•23m ago•0 comments

Don't write skills, write scripts (blogpost written by me)

https://verbosemode.dev/p/dont-write-skills-write-scripts
1•ablx000•24m ago•0 comments

State of the Climate Update for COP31

https://library.wmo.int/records/item/69998-state-of-the-climate-update-for-cop31
1•tosh•26m ago•0 comments

World losing battle to end HIV threat by 2030, UN says

https://www.ft.com/content/7ffe526f-ee13-4ad4-b3dc-d57fd335c608
1•JumpCrisscross•27m ago•0 comments

A Deterministic Subexponential-Time Algorithm for the Discrete Logarithm Problem [pdf]

https://eprint.iacr.org/2026/3020.pdf
18•yuvadam•27m ago•2 comments

Show HN: Pytrends-cloud, pytrends without the 429 errors

https://github.com/morvanvivien/pytrends-cloud
1•bibian44•28m ago•0 comments

Hackers Breached US Air Force's Cloud Platform

https://www.bloomberg.com/news/articles/2026-11-27/hackers-breached-us-air-force-s-cloud-platform
3•tilt•29m ago•1 comments

Page builders are dead: why we take them out of every Shopify store

https://cleancommit.io/blog/leaving-shopify-page-builders/
1•mrkaluzny•31m ago•0 comments

Modders add multiplayer to unofficial GTA VI PC port

https://videocardz.com/newz/modders-add-multiplayer-to-unofficial-gta-vi-pc-port
1•madihaa•31m ago•0 comments