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!

Virtual3D – Vulkan 3D Engine&Editor

https://starsigndev.itch.io/virtual3d
1•antonyrobwells•1m ago•0 comments

Taking Back the Copilot Button

https://smarmelling.com/posts/taking-back-the-copilot-button.html
2•smarmelling•7m ago•0 comments

Morstdio: Baremetal Morse Code I/O

https://gbkorr.github.io/r-bites/morstdio/morstdio.html
1•austinallegro•7m ago•0 comments

Australia Set to Sue Facebook, TikTok in Child-Safety Push

https://www.bloomberg.com/news/articles/2026-10-20/australia-to-sue-facebook-tiktok-for-alleged-b...
2•snikolaev•8m ago•0 comments

The Role of Exposition in the Future of Mathematics – Grant Sanderson [video]

https://www.youtube.com/watch?v=PtCPLLuMK1o
1•num42•15m ago•0 comments

A free Omarchy course: 25 modules and a capstone

https://stevinator.com/courses/omarchy/
1•smanookian•18m ago•1 comments

Why elevators keep anesthesia professionals up at night [4 min] [video]

https://www.youtube.com/watch?v=N4VGVEdN458
2•privacyishuman•19m ago•0 comments

Friction as a Feature

https://emilkowal.ski/ui/friction-as-a-feature
1•phartenfeller•21m ago•0 comments

Okay to share a free tool for field techs?

https://woextractor.com/
1•Syberscream•25m ago•1 comments

GitHub: Some Git over HTTPS may temporarily require authentication

https://github.blog/changelog/2026-10-19-some-git-over-https-may-temporarily-require-authentication/
3•csmantle•35m ago•0 comments

I turned a song into a Machine [video]

https://www.youtube.com/watch?v=6nULQQQZcvE
1•rslice•36m ago•0 comments

Pax8 Launches 8os

https://www.pax8.com/en-us/news-post/pax8-launches-8os-the-first-agentic-workforce-operating-syst...
1•simonjgreen•37m ago•0 comments

Quantum error correction well below the color code threshold [pdf]

https://cdn.prod.website-files.com/669960f53cd73aedb80c8eea/6ad6013f8ae0364b2cd03c53_c8c5526bc884...
1•unprovable•39m ago•0 comments

Field access in a Rust debug REPL, without reflection

https://github.com/100010/pry-rs
1•yoheisenju•40m ago•1 comments

Textus – WYSIWYG Markdown editor with built-in AI writing tools

https://textus.catvinci.com/
1•cobychapple•41m ago•0 comments

Ask HN: How to get the most intelligence out of your agents?

2•thechairman12•41m ago•1 comments

Training a Search-R1 Agent with Flame

https://xflops.io/blog/training-search-r1-with-flame/
1•k82cn•43m ago•0 comments

Where your money grows fastest

https://crazysoftwarecoder.github.io/where-it-grows/
1•ashyferny•43m ago•0 comments

Owners who spend more time close to their cats tend to have more positive moods

https://www.eurekalert.org/news-releases/1148065
3•gmays•48m ago•0 comments

Show HN: Visual heat map of AI news updated hourly

https://ai-news.jagular.io
1•jnaina•54m ago•0 comments

I put my cell number on my startup's homepage

1•civitasinnovare•56m ago•1 comments

Superintelligence Strategy (2025)

https://www.nationalsecurity.ai
2•reasonableklout•1h ago•1 comments

Americans Are Spending More Money to Drive Worse Cars

https://www.theatlantic.com/technology/2026/10/americans-not-buying-electric-cars/689071/
18•fortran77•1h ago•25 comments

Apple's OS release and how it impacts Identity Graphs

https://cunderwood.dev/2026/10/20/apples-os-release-and-how-it-impacts-identity-graphs/
1•abtestdev•1h ago•0 comments

Why do some data grids show blank rows during scrolling?

https://comparegrids.com/articles/article-why-grids-show-blank-rows
1•davidvela•1h ago•0 comments

Show HN: TMPlayer, a TV player for the videos in your own Telegram chats

https://github.com/dracu-lah/TMPlayer
1•nevilkrishnak•1h ago•0 comments

Advancing Fault-Tolerant Quantum Computing with GPU-Accelerated Simulation

https://nvidia.github.io/cuda-quantum/blogs/blog/2026/10/19/jupiter-magic-state-simulation/
1•wondersky•1h ago•0 comments

FaderBuddy – Plug-and-play motorized faders for ESPHome and more

https://github.com/scottbez1/FaderBuddy
1•foltik•1h ago•0 comments

U.S. Political Money Funnels to Indian Bots to Lure Voters

https://www.nytimes.com/2026/10/19/business/michigan-primary-disinformation-campaign.html
4•grandpajoey•1h ago•0 comments

Token-based API guard Auth Bypass

https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
1•Spqa•1h ago•0 comments