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!

Tell HN: An inside view of Montana's new biotech law

1•niklas_anzinger•1m ago•0 comments

Coldwire – Offline Caching for Rails, Hotwire, and Hotwire Native

https://github.com/noreastergroup/coldwire-rails
2•hubert_magni•5m ago•0 comments

Claude Code files HR complaints about you while you work

https://github.com/lasagnapizza/claude-hr
1•kinduff•5m ago•0 comments

Rypipe – Format- and source-agnostic ingestion framework

https://github.com/emiliano-go/rypipe
1•emi_gandini•5m ago•0 comments

Anyhropic Launches Google Docs Alternative: Claude Docs

https://www.theverge.com/ai-artificial-intelligence/996234/anthropic-one-claude-cowork-docs-slides
1•lewisjoe•6m ago•0 comments

Show HN: Blast Arena – Quake 3-style deathmatch in the browser (WebRTC P2P)

https://kosmi.io/blast-arena/
1•hauxir•8m ago•0 comments

Will Taiwan Just Give Up?

https://www.theatlantic.com/magazine/2026/10/trump-taiwan-sovereignty-china/688356/
1•JumpCrisscross•9m ago•1 comments

Show HN: Deiko – point at your screen, talk, and hand the brief to your agent

https://deiko.app/
1•maddy30445r•10m ago•0 comments

MSI Titan 18 HX Dragon Edition Norse Myth AI: Can It Run AI Workloads Locally?

https://techstackups.com/articles/msi-titan-18-hx-dragon-edition-norse-myth-ai-review/
1•sixhobbits•10m ago•0 comments

AirPods 5 with Wireless Charging Case Works with MagSafe, but Not Magnetically

https://daringfireball.net/linked/2026/09/16/airpods-5-magsafe
1•aleshh•11m ago•1 comments

Meat Yield Calculators

https://meatprocessingplant.com/tools/meat-yield-calculator
1•g_langenderfer•12m ago•1 comments

We've created the first vectorized Quicksort

https://opensource.googleblog.com/2022/06/Vectorized%20and%20performance%20portable%20Quicksort.html
3•mococa•13m ago•0 comments

9-year-old Minecraft YouTuber ran up a $118,000 ad bill using dad's company card

https://www.videogameschronicle.com/news/im-definitely-cooked-a-9-year-old-minecraft-youtuber-ran...
2•speckx•15m ago•1 comments

Ask HN: What is the best local model that runs on your Mac at decent speed?

1•carloslfu•19m ago•0 comments

UK mathematician debunks myth around Parthenon's optical illusions

https://www.theguardian.com/science/2026/sep/16/uk-mathematician-debunks-myth-parthenon-optical-i...
2•pseudolus•20m ago•0 comments

A masterfully architected application for solving ANYTHING

https://the-analog-method--sophiasbookofl2.replit.app/
1•Harperissharper•20m ago•0 comments

Artificial Analysis: What Is the Intelligence Index Measuring?

https://itsmonkey.business/blogposts/01-On_Artificial_Analysis.html
1•baddash•21m ago•0 comments

GoBench: Evaluating LLMs on 9×9 Go using KataGo opponents as Elo anchors

https://rolandgao.com/blog/gobench/
1•GodelNumbering•21m ago•1 comments

Pull the best espresso shot with derivative-free optimization

https://humpday.microprediction.org/applications/espresso.html
1•timkpaine•23m ago•0 comments

An agent fleet needs a new kind of OS, not a bigger harness

https://pentad.ai/blog/fleet-needs-an-os/
3•kgcgfva•23m ago•1 comments

Iran improved targeting of US assets. How Russian satellites likely have helped

https://www.cnn.com/2026/09/16/world/video/russia-spy-satellites-iran-intelligence-strikes-us-ass...
2•giuliomagnifico•29m ago•0 comments

Fed approves interest rate hike, signals one more to come this year

https://www.cnbc.com/2026/09/16/fed-rate-decision-september-2026.html
9•rawgabbit•30m ago•0 comments

Is GitHub a social network that endangers children? Australia wants to know

https://www.theregister.com/offbeat/2025/09/25/australia-asks-github-if-its-a-dangerous-social-ne...
2•docflabby•31m ago•0 comments

Jotter – A local recording and transcription tool written in Rust

https://github.com/nfishel48/Jotter
1•movingmovie•33m ago•1 comments

NASA spacecraft discovers a new crater on the moon

https://apnews.com/article/moon-lunar-crater-space-nasa-80eea242ad275fda1f7a88587cdccd2f
1•dwringer•33m ago•0 comments

Feds Want California to Give Up 14 Years of Broadband Protections. It Should Sue

https://cyberlaw.stanford.edu/blog/2026/09/california-is-being-asked-to-give-up-14-years-of-broad...
1•rsingel•35m ago•0 comments

Who is vertigoruntime and how do they have 3 posts on the front page rn?

https://news.ycombinator.com/user?id=vertigoruntime
1•johnnyApplePRNG•35m ago•1 comments

GDScript: The Good, Bad, and Ugly Parts

https://azhdarchid.com/gdscript-good-bad-ugly/
3•birdculture•37m ago•0 comments

Fed Raises Rates as Warsh Bucks Trump to Contain Inflation

https://www.bloomberg.com/news/articles/2026-09-16/fed-raises-rates-as-warsh-bucks-trump-to-conta...
13•toomuchtodo•39m ago•6 comments

Show HN: Real-Time Chess Assistant (C++ DirectX, OpenCV, ImGui and Stockfish)

https://github.com/rccmb/oracle
2•baptistarodrigo•39m ago•1 comments