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!

Remembering Ken Iverson (2004)

https://web.archive.org/web/20180412035431/https://keiapl.org/rhui/remember.htm
1•tosh•1m ago•0 comments

I needed one feature for my SaaS. 6 hours later I had launched another SaaS

https://www.floatingvideo.com
1•astonfred•3m ago•1 comments

Think preprints are unreliable? Analysis of 70000 studies might change your mind

https://www.nature.com/articles/d41586-026-02167-3?linkId=62708614
1•XzetaU8•3m ago•1 comments

A proper Docker image for WebCalendar: SQLite-backed and self-contained

https://projects.rocks/blog/webcalendar-docker.html
1•mysterhawk•7m ago•0 comments

Jiki – Learn to Code the Fun Way

https://jiki.io
1•phil-pickering•8m ago•0 comments

The Hard-Line Activists Ramping Up for the War with AI

https://www.wsj.com/tech/ai/anti-ai-activists-disappearance-sam-kirchner-6872879f
1•thm•10m ago•0 comments

The Gen X Career Meltdown (2025)

https://www.nytimes.com/interactive/2025/03/28/style/gen-x-creative-work.html
1•Michelangelo11•16m ago•0 comments

In Praise of Exhaustive Destructuring

https://antoine.vandecreme.net/blog/exhaustive-destructuring-praise/
1•avandecreme•20m ago•0 comments

AST vs. Bytecode (2023) [pdf]

https://stefan-marr.de/downloads/oopsla23-larose-et-al-ast-vs-bytecode-interpreters-in-the-age-of...
1•tosh•22m ago•0 comments

When They Steal Our Future

https://karenkelsky.substack.com/p/when-they-steal-our-future
1•Michelangelo11•23m ago•0 comments

Shark: The First Light Aircraft That Cancels Turbulence [video]

https://www.youtube.com/watch?v=wHcZf9E0esA
1•skibz•23m ago•0 comments

School Is Not Enough

https://www.palladiummag.com/2023/06/06/school-is-not-enough/
3•ronfriedhaber•24m ago•1 comments

Ghostel.el: Terminal emulator powered by libghostty

https://dakra.github.io/ghostel/
1•signa11•25m ago•0 comments

Show HN: DejaView – Terminal dashboard for all your Claude Code sessions

https://github.com/dotbrt/dejaview
1•thisbrt•26m ago•0 comments

Growing list of countries move to ban social media for children

https://www.france24.com/en/live-news/20260712-growing-list-of-countries-move-to-ban-social-media...
4•geox•27m ago•1 comments

Vyrai – a travel challenge where your age is your flight budget

https://vyrai.app/
1•Imbryk•29m ago•0 comments

Show HN: Godot running Gemma 4 inference in GDScript and Vulkan compute shaders

https://github.com/asallay/godot-llm
1•steamspaghetti•30m ago•0 comments

Show HN: Markdown Tools Online – 16 free browser-based Markdown converters

https://markdowntoolsonline.com
1•nagudharan•31m ago•0 comments

Reaction: A daemon that scans program outputs for repeated patterns, and takes a

https://framagit.org/ppom/reaction
2•fanf2•36m ago•0 comments

Puffin-Inspired Robot That Swims and Flies [video]

https://www.youtube.com/watch?v=9XJhrKpcBGI
2•skibz•44m ago•0 comments

We are now factory engineers, not product engineers

https://www.warp.dev/blog/we-are-now-factory-engineers-not-product-engineers
3•shintoist•49m ago•1 comments

Finetuning a Reasoning LLM with Supervised or Reinforcement Learning?

https://discuss.huggingface.co/t/finetuning-a-reasoning-llm-with-supervised-or-reinforcement-lear...
2•verdverm•49m ago•0 comments

Political Neutrality Benchmark of popular AI models

https://neutralityproject.org/results.html
4•ryzvonusef•57m ago•0 comments

Short Reflection on being Offline for 24 hours

https://lewiscampbell.tech/blog/260712.html
3•LAC-Tech•1h ago•0 comments

xs: Concatenative array language inspired by kdb+/q in OCaml

https://cryptm.org/xs/
3•tosh•1h ago•0 comments

Edge Password Bulk Manager

https://github.com/marinfrankovic/EdgePasswordManager
3•taubek•1h ago•0 comments

NetBSD as a Desktop: A Nostalgic '90s Experience

https://www.howtogeek.com/i-tried-netbsd-as-a-desktop-and-it-felt-like-stepping-into-the-90s-in-a...
3•birdculture•1h ago•0 comments

Teleflow: A local-first teleprompter and selfie recorder for creators

https://getteleflow.com
3•63labs•1h ago•0 comments

Show HN: LifePath – See what Einstein was doing at your exact age

https://thelifepaths.com/
2•pro_methe5•1h ago•3 comments

Forget "Fat" Models. The Future Is Narrow

https://adlrocha.substack.com/p/adlrocha-forget-fat-models-the-future
3•adlrocha•1h ago•0 comments