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!

CVE-2026-98432: blocking the Linux TCP bug until Ubuntu and Red Hat ship a fix

https://getrff.com/blog/cve-2026-98432-linux-tcp-ip-options-block/
2•natebc•9m ago•0 comments

Remote Imaging Protocol (RIP)

https://breakintochat.com/wiki/Remote_Imaging_Protocol_(RIP)
1•Bluestein•10m ago•0 comments

Wrangler – Open-Source macOS Window Manager (Swift, Grid HUD, Auto-Tiling)

https://github.com/mezzie/wrangler
1•richardtngo•10m ago•0 comments

Will AI take your job? You have more agency than you think

https://www.vox.com/technology/508032/ai-jobs-ethan-mollick-co-existence
2•Anon84•14m ago•0 comments

clc-wiki

https://clc-wiki.net/wiki/Main_Page
2•turtleyacht•16m ago•0 comments

Anthropic takes steps to block Claude from reverse-engineering video games

https://mashable.com/tech/anthropic-takes-steps-to-block-video-game-cloning-and-reverse-engineering
9•firesteelrain•20m ago•3 comments

Alternativ to Miro Board

https://wytboard.com
3•herrlen•22m ago•0 comments

Terence Tao: Algebra helps us navigate hard realities by making them abstract

https://www.sciencefriday.com/articles/six-math-essentials-book-excerpt/
3•digital55•24m ago•0 comments

One Durable Object per room, and a rule that stranded a lecture hall

https://davidmashiah.com/notes/the-room-filled-after-i-pressed-start
1•davidmashiah•28m ago•0 comments

Benchma(R)king: Making Chairs with LLMs

https://emergencemagazine.org/essay/benchmarking/
1•CharlesW•30m ago•0 comments

Recycling ANSI Art: Tracing the Origins of BBS Logon Screens

https://games.slashdot.org/story/26/10/31/2038237/recycling-ansi-art-tracing-the-origins-of-bbs-l...
2•MilnerRoute•30m ago•0 comments

The Ludwig Wittgenstein Project

https://wittgensteinproject.org/w/index.php?title=Main_Page
2•gone35•30m ago•0 comments

Distributed Proofreaders

https://www.pgdp.net/c/
4•gone35•32m ago•0 comments

Point-Contact Transistor

https://en.wikipedia.org/wiki/Point-contact_transistor
2•thunderbong•33m ago•0 comments

The Loudest Stories Were Missing from the Map: Learning Topics on Hacker News

https://medium.com/@yastrebovks/the-loudest-stories-were-missing-from-the-map-learning-topics-on-...
1•splimeproject•34m ago•0 comments

Ask HN: Where do you see software engineering careers heading?

1•grandimam•34m ago•1 comments

'What Were You Thinking?' – Scott McNeely, Founder of Sun Microsystems

https://app.hedgeye.com/insights/86557-what-were-you-thinking-part-deux/print
2•extraextra•34m ago•1 comments

OqtaNet – Sinclair Network over the Internet

https://codeberg.org/xelalexv/oqtadrive/src/branch/master/doc/network.md
1•Bluestein•36m ago•0 comments

Show HN: Gitmsg – A messenger where every message is a Git commit

https://www.gitmsg.fun
1•eugenepavlov•40m ago•0 comments

From $2.30 to $230: A Lifetime of Broadway Musicals and Their Movies

https://conradkottak.substack.com/p/from-230-to-230-a-lifetime-of-broadway
1•cpkottak•41m ago•0 comments

With 86% of the words, you might understand only 38% of an anime's lines

https://learnfromx.com/research/anime-word-coverage-vs-lines-understood
10•lakesare•42m ago•4 comments

Common Desktop Environment available now as open-source

https://sourceforge.net/projects/cdesktopenv/
21•torcete•45m ago•9 comments

People are the hard part of AI

https://keithbrown.com/proton-ai-manifesto
1•drewlem•49m ago•2 comments

Free AI

https://cloudy.chat/
1•Armsn•51m ago•0 comments

A Haskell processor running on an FPGA

https://bathtub-01.github.io/technical/ouros-demo/
4•AriFordsham•54m ago•0 comments

A Chemical Hunger (2021)

https://slimemoldtimemold.com/2021/07/07/a-chemical-hunger-part-i-mysteries/
3•bilsbie•56m ago•1 comments

GPT-6.1 Terra

https://simonwillison.net/2026/Oct/26/gpt-61-terra/
10•hnisjafx40•56m ago•2 comments

Reddit shares plunge as Google's AI search squeezes traffic

https://www.reuters.com/business/reddit-pinterest-shares-tumble-weak-user-revenue-growth-2026-10-30/
5•randycupertino•57m ago•1 comments

NASA's Voyager 1 Conserves Power, Resolves Brief Communications Pause

https://www.jpl.nasa.gov/news/nasas-voyager-1-conserves-power-resolves-brief-communications-pause/
7•Stratoscope•57m ago•3 comments

macOS 27 Golden Gate does not support CoreStorage or HFS+ volumes

https://wadetregaskis.com/macos-27-golden-gate-does-not-actually-support-corestorage-or-hfs-volumes/
3•chmaynard•1h ago•0 comments