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!

Rewriting my toy blockchain in Rust (2022)

https://www.ezzeriesa.com/index/Writing/Rewriting%20my%20toy%20blockchain%20in%20Rust%209a130f225...
1•kurinikku•4m ago•0 comments

HuggingFace Attack Postmortem: Civilizations, Reactions and Next Actions

https://thezvi.wordpress.com/2026/09/01/huggingface-attack-postmortem-civilizations-reactions-and...
1•gmays•12m ago•0 comments

Show HN: Deckard – Diablo 4 Companion

https://www.patreon.com/deckard_companion/posts/deckard-is-soon-173632635
1•ozanbora•16m ago•0 comments

How to Make Almost Anything

https://pub.cba.mit.edu/863.26/site/
1•o4c•18m ago•0 comments

How to Make Something That Makes Almost Anything(2024)

https://fab.cba.mit.edu/classes/865.24/
2•o4c•20m ago•1 comments

Fractional Reserve Banking 101

https://www.lynalden.com/fractional-reserve-banking/
1•rzk•20m ago•0 comments

Automatar – An Intelligent AI Guitar

https://www.creativeapplications.net/member/automatar-an-intelligent-ai-guitar/
1•bryanrasmussen•23m ago•0 comments

Sortition

https://en.wikipedia.org/wiki/Sortition
1•xnx•24m ago•0 comments

We need a data vault to grant on-demand access to our data

https://memo.mx/posts/datavault/
1•__warlord__•25m ago•0 comments

Qwen4 Max: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/qwen4-max
2•theanonymousone•31m ago•2 comments

The Tools of Dan Gelbart

https://scottlocklin.wordpress.com/2026/08/05/the-tools-of-dan-gelbart/
2•o4c•36m ago•0 comments

Questions asked on self-help cassettes

https://tapes.emilysaltz.space/
1•gregsadetsky•38m ago•0 comments

Can robotics models control a 4200lb excavator?

https://www.dreamscalelabs.com/blog/excavate/
1•PenTest-duck•47m ago•0 comments

Show HN: RediWM – A complete Wayland Desktop Environment built in Zig 0.17

https://github.com/oxydizer/rediwm
1•oxydizer•51m ago•0 comments

I made an addicting game that will generate a million in revenue one day

https://www.pufful.com/
1•mattmerrick•53m ago•1 comments

Reviewing footage and audio isn't editing. I built an app that does it for you

https://editmatic.app/en
1•EithanK•54m ago•0 comments

Import PST file to Office 365

https://www.mailsdaddy.com/pst-to-office-365-migration-tool/
1•somit0•58m ago•0 comments

Show HN: Agent-Otel-Kit – OTel Dashboards for Claude Code, Codex and Gemini CLI

https://github.com/s3onghyun/agent-otel-kit
1•s3onghyun•58m ago•0 comments

Show HN: Vindle – Wordle for Cars

https://vindle.app/
1•cachebag•1h ago•0 comments

Show HN: OpenButterfly – Tracking the environmental impact of the AI ecosystem

https://openbutterfly.com
2•ravipatib•1h ago•0 comments

Did the Apollo Guidance Computer use 60% of the ICs in 1963?

https://retrocomputing.stackexchange.com/questions/12158/did-the-apollo-guidance-computer-really-...
3•Skyfall106•1h ago•0 comments

Show HN: New Book

https://github.com/metereindustries/qeg
1•metereindustrie•1h ago•0 comments

HS 9th Grade ELA Assignment Turned into philosophical rambling

https://liamis.dev/blogs/CaptionRambling/
1•ForgottenMail•1h ago•0 comments

Google AI Ultra Subscription Not Worth It

https://www.reddit.com/r/google_antigravity/comments/1xx9nl3/google_ai_ultra_subscription_not_wor...
4•behnamoh•1h ago•0 comments

Jensen Huang's downfall will accelerate US-China 'great decoupling'

https://www.channelnewsasia.com/commentary/nvidia-jensen-huang-affair-us-china-ai-tech-decoupling...
1•Markoff•1h ago•0 comments

RISC-V Matrix Extensions

https://fprox.substack.com/p/risc-v-matrix-extensions
1•hasheddan•1h ago•0 comments

Debian Becomes Unresponsive after 6.1.0-55 Kernel Update

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154101
24•artooro•1h ago•0 comments

Show HN: A benchmark that diffs the whole database after an AI agent's task

https://github.com/shubhamjoshipromail-svg/software-world-model
1•shubhamjoshipro•1h ago•0 comments

Ask HN: How to visually edit vibe coded websites?

1•keepitverysimpl•1h ago•2 comments

Why did base64 win against uuencode? (2023)

https://retrocomputing.stackexchange.com/questions/3019/why-did-base64-win-against-uuencode
1•zenincognito•1h ago•1 comments