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!

OpenTelemetry Collector: A Production-Ready Guide

https://signoz.io/blog/opentelemetry-collector-complete-guide/
1•dhruv_ahuja•27s ago•0 comments

AI Kill Switch Act would let Trump admin order shutdown of rogue AI systems

https://arstechnica.com/tech-policy/2026/07/ai-kill-switch-act-would-let-trump-admin-order-shutdo...
1•ndsipa_pomu•3m ago•0 comments

An institutional-grade market terminal for retail investors

https://kresmion.com
1•sol9•5m ago•0 comments

End-to-End Encryption and "Going Dark"

https://www.schneier.com/blog/archives/2026/07/end-to-end-encryption-and-going-dark.html
1•mdp2021•5m ago•0 comments

Show HN: Amdb – Local code context MCP server, single Rust binary

https://github.com/BETAER-08/amdb
1•try_betaer•8m ago•0 comments

Game of Trees – Git-based version control from OpenBSD folks

https://www.gameoftrees.org/
1•gregnavis•9m ago•0 comments

Mirror Mirror: Mirror your PC screen to your phone over your local network

https://github.com/maco30001/Mirror-Mirror
1•maco3000•9m ago•0 comments

Use This Instead of OpenCode

https://www.truss-agent.com/
1•jrh89•10m ago•0 comments

The Hugging Face Incident – By Scott Alexander

https://www.astralcodexten.com/p/the-hugging-face-incident
1•mellosouls•11m ago•0 comments

Clop ransomware targets Windchill, FlexPLM in data theft attacks

https://www.bleepingcomputer.com/news/security/clop-ransomware-targets-windchill-flexplm-in-data-...
1•Imbiss•11m ago•0 comments

How Do We Stop Vibe Coding?

https://alexklos.ca/blog/how-do-we-stop-vibe-coding
1•prohobo•12m ago•0 comments

Launching Health in ChatGPT to US Users

https://openai.com/index/health-in-chatgpt/
1•mellosouls•15m ago•0 comments

Study: Economic benefits of data centers in USA

https://www.scheller.gatech.edu/news/2026/data-centers-are-booming-who-benefits.html
1•giuliomagnifico•17m ago•1 comments

Round-Trip Correctness: A New Metric for Generative AI-Based Process Modeling

https://community.sap.com/t5/technology-blog-posts-by-sap/round-trip-correctness-a-new-metric-for...
1•rramadass•20m ago•1 comments

The first mainstream song about computer games literally "Computer Games" (1979)

https://www.youtube.com/watch?v=gsHYSs_qgmU
2•wewewedxfgdf•22m ago•0 comments

Show HN: Audio Player with "Binaural Beats" tuned to the same key as your music

https://github.com/henrygabriels/binaural-studio
2•gabriel666smith•23m ago•0 comments

Show HN: A Website Introducing Flux 3

https://flux-3.io
2•akseli_ukkonen•24m ago•0 comments

A Semioethical Framework for Artificial Intelligence

https://lyceum.institute/humanitas-technica/seppuai/
2•einhard•29m ago•0 comments

IRGC Claims It Destroyed Amazon's Bahrain Data Center

https://houseofsaud.com/irgc-claims-destroyed-amazon-bahrain-data-center/
3•thisislife2•31m ago•0 comments

Show HN: Transept: AI translation workspace that puts humans first

https://transept.ai
3•sithamet•32m ago•0 comments

Prebuilt, parameterized, interactive HTML widgets for MCP Apps

https://github.com/Techthos/gadget
2•alex20465•34m ago•0 comments

The Codex App Lied to Me About /Clear

https://samwize.com/2026/07/24/codex-app-lied-to-me-about-clear/
2•ingve•35m ago•0 comments

I'm So Tired of "Is This AI?"

https://www.trend-mill.com/p/im-so-tired-of-is-this-ai
5•moomoy•40m ago•1 comments

Show HN: A static, client-side tarot calculator for Brazilian Portuguese

https://meuarcanopessoal.net/
5•visiohex•44m ago•1 comments

Show HN: Maplike – Rust traits for operations on containers (get, set, push...)

https://github.com/mikwielgus/maplike
2•mikolajw•45m ago•0 comments

BookWyrm is a social network for tracking and sharing your reading

https://github.com/bookwyrm-social/bookwyrm
2•protomolecool•47m ago•0 comments

Image Resizer

https://img-resizer.github.io/
2•javatuts•48m ago•0 comments

Shape Up: Stop Running in Circles and Ship Work that Matters [pdf]

https://basecamp.com/shapeup/shape-up.pdf
2•saikatsg•50m ago•0 comments

Brief Observations on Life

http://unfuck.i.ng/art/science/life/
2•singingfish•51m ago•1 comments

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
40•kensai•53m ago•4 comments