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!

Show HN: Pi-cowboy – a Herdr native agent orchestrator for Pi

https://github.com/electric-dragon-80000v/pi-cowboy
1•suoloordi•1m ago•0 comments

nmail – Terminal-based email client

https://github.com/d99kris/nmail
1•smartmic•3m ago•0 comments

Show HN: Kramena – Classic books, 20 minutes a day, with spoiler-safe recaps

https://read.kramena.app
1•raahelb•3m ago•1 comments

Building a Compositor for a Userbase of One

https://onewireout.com/writeups/resonance/
1•airhangerf15•6m ago•0 comments

How to Set Up Multiview with RTSP Cameras Using Red5 Pro?

https://www.red5.net/blog/revolutionizing-live-video-streaming-multiview-with-rtsp-cameras-using-...
1•mondainx•6m ago•0 comments

Safety and Liveliness in Software Engineering

https://en.wikipedia.org/wiki/Safety_and_liveness_properties
1•_josh_meyer_•7m ago•0 comments

AI-Assisted Product Discovery: When Code Is Cheap, Judgment Is the Job

https://age-of-product.com/ai-assisted-product-discovery/
1•swolpers•10m ago•1 comments

Python's binary wheels and supply chain attacks

https://rushter.com/blog/python-binary-wheels/
1•birdculture•12m ago•0 comments

Microsoft drops AI datacentre project in Essex over power supply concerns

https://www.theguardian.com/uk-news/2026/oct/18/microsoft-drops-huge-ai-datacentre-project-in-ess...
3•wondersky•17m ago•0 comments

Benchmarking DuckDB v2.0-dev on Nvidia Vera

https://duckdb.org/2026/10/16/nvidia-vera-benchmark
1•tosh•19m ago•0 comments

Ask HN: System One models for autonomous agents

1•manlymuppet•24m ago•0 comments

Campus deplatformings hit record high

https://expression.fire.org/p/campus-deplatformings-hit-record
3•iamnothere•24m ago•0 comments

Simultaneous high-fidelity single-qubit gates in a spin qubit array

https://www.nature.com/articles/s41567-026-03466-2
1•bookofjoe•25m ago•0 comments

Probabilistic Programming

https://adriansampson.net/doc/ppl.html
1•rramadass•35m ago•1 comments

Casio GG-B100X-1A

https://www.casio.com/uk/watches/gshock/product.GG-B100X-1A/
1•asjkff•38m ago•1 comments

Israeli settlers attack European diplomats, beat French mayor

https://www.channelnewsasia.com/world/israeli-settlers-attack-european-diplomats-beat-french-mayo...
6•Markoff•39m ago•0 comments

macOS 15.8.2 Breaks OpenGL

https://developer.apple.com/forums/verify-human/verify.html?next=/forums/thread/850550
25•Audiophilip•40m ago•11 comments

Show HN: AI Zombie Trend–Generating multi-shot narrative videos from two photos

https://aizombietrend.online/
1•dawn3727•41m ago•0 comments

Show HN: Secret Guard – a local LLM gateway; keys never leave your machine

https://github.com/luochen1990/secret-guard
1•luochen1990•41m ago•0 comments

Snow Leopard Was Peak Computer

https://www.alara.blog/snow-leopard-was-peak-computer/
3•asaddhamani•43m ago•0 comments

Galileo: History and Myth

https://historyforatheists.com/2026/10/galileo-history-and-myth/
1•throw0101a•43m ago•0 comments

Built a task tracker for teams that hate project management

https://turtletask.app/
1•james_mcavoy•44m ago•0 comments

Show HN: Gecit, share a Windows PC's keyboard and mouse with a Mac over QUIC

https://kasparovabi.github.io/gecit/
2•kasparovabi•44m ago•0 comments

Show HN: Wisp – a voice AI on your shoulder, with spatial audio in the browser

https://wispplayer.com/?tab=ai
1•Serg75•48m ago•0 comments

Study shows cannabis is not associated with better sleep quality

https://news.northwestern.edu/stories/2026/10/think-cannabis-helps-you-sleep-better-think-again
4•gmays•49m ago•3 comments

Trust in Depth: Giving agents more autonomy without losing control

https://aws.amazon.com/blogs/machine-learning/trust-in-depth-giving-agents-more-autonomy-without-...
1•burcsahinoglu•49m ago•0 comments

Show HN: BricksChat – Generate Lego builds from images, including Technic

https://brickschat.com/
2•mireklzicar•52m ago•0 comments

Omarchy Gets the Web Browser Launching Faster by Avoiding XDG Overhead

https://www.phoronix.com/news/Omarchy-Faster-Web-Browser
1•mikece•52m ago•0 comments

Negotiation tips for people who hate negotiating

https://coached.com/essays/negotiation-tips-for-people-who-hate-negotiating/
1•rohanm93•53m ago•0 comments

Why we decided to open source Relate

https://viablesystems.ai/writing/why-we-decided-to-open-source-relate
2•dennisy•53m ago•1 comments