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!

Workday Down for thousands of Companies

https://www.sfchronicle.com/tech/article/workday-outage-employees-accounts-22529939.php
1•Madmallard•1m ago•1 comments

Transforming Ripgrep's Documentation with AI Automation and MkDocs

https://entropicdrift.com/blog/mkdocs-drift-automation/
2•ankitg12•9m ago•0 comments

I Built a $300 Robot Hand With 18 Motors [video]

https://www.youtube.com/watch?v=Sk0x-xMNQks
2•olalonde•11m ago•0 comments

Inquestra – Local-first lab notebook with native Web Serial DAQ

https://inquestra.org
2•ImKaleb•11m ago•0 comments

Invention Changes Everything [video]

https://www.youtube.com/watch?v=DJCN-tjBceA
2•pillars•11m ago•0 comments

Where to find Canadian government tenders: every portal compared, free

https://pubsec.pro/blog/find-government-tenders-canada
2•wren_sato•12m ago•0 comments

Lychee: Check Local Links

https://lychee.cli.rs/overview/
2•ankitg12•14m ago•0 comments

I reverse-engineered Instinct. Here's the whole machine

https://twitter.com/nizzyabi/status/2120194267066863738
2•gmays•20m ago•0 comments

Show HN: EDNA – 100% on-device human sensing so AI can perceive the user

https://openos.space
3•sebklaey•24m ago•0 comments

Let's Write a PostScript Interpreter

https://beyondloom.com/blog/postscript.html
2•zdw•25m ago•0 comments

Road Trip at the Borderland

https://longreads.com/2026/10/29/family-road-trip-china-north-korea/
2•mooreds•29m ago•0 comments

How do you hire a human? Q&A with Tom Harvey, Stack Overflow technical recruiter

https://stackoverflow.blog/2026/11/12/how-do-you-hire-a-human-q-and-a-with-tom-harvey-stack-overf...
2•mooreds•31m ago•1 comments

Historic S.S. United States Sinks to Become an Artificial Reef

https://www.nytimes.com/2026/11/11/climate/ss-united-states-ship-sinking-artificial-reef-florida....
2•duck•31m ago•0 comments

SpaceX's giant rocket may leave NASA in the dust

https://text.npr.org/nx-s1-6039312
2•mooreds•31m ago•0 comments

US to fund new research into psychedelic drug ibogaine for veterans with PTSD

https://www.reuters.com/legal/litigation/us-fund-new-research-into-psychedelic-drug-ibogaine-vete...
2•bushwart•38m ago•0 comments

Who's making all of the money in the porn industry? [video]

https://www.youtube.com/watch?v=3IsgwsuV_nE
2•AareyBaba•40m ago•0 comments

Eight years of running DocSpring on Convox

https://docspring.com/blog/posts/eight-years-running-docspring-convox/
2•nathan_f77•42m ago•0 comments

Show HN: Podcast News

https://podnews.app
2•nsemikey•55m ago•0 comments

Naughty Dog's Lisp-Based Game Engines [video]

https://www.youtube.com/watch?v=RXdI2o0yplY
4•s20n•56m ago•0 comments

Ferrari's Business Model Is Insane

https://www.tradingview.com/chart/RACE/awwoRgDb-RACE-Why-Ferrari-Is-Nothing-Like-Other-Car-Manufa...
2•moonypto•1h ago•0 comments

Monkey Island: all 13 versions side by side

https://monkeyisland.pages.dev/
2•maximilianburke•1h ago•0 comments

Tmux Floating Panes (v3.7)

https://tmuxcheatsheet.com/p/tmux-floating-panes/
2•mmh0000•1h ago•0 comments

Where Work Experience Can Fail

https://carlsonschool.umn.edu/news/where-work-experience-can-fail
2•rohanm93•1h ago•0 comments

Sick of Herding AI Cats?

https://clowder.sh
2•cat_herder_1•1h ago•1 comments

A rusty smudge: What will happen as the Titanic wreck disintegrates (2024)

https://www.bbc.com/future/article/20240903-the-titanic-why-is-it-disintegrating-and-how-long-wil...
3•thunderbong•1h ago•0 comments

Home Sales in October Plummet to 16-Year Low

https://www.wsj.com/economy/housing/home-sales-in-october-plummet-to-16-year-low-16adebc0
3•madihaa•1h ago•0 comments

Keeping video layers in place across aspect ratios

https://blog.breatic.ai/layers-across-aspect-ratios/
3•Ubiquition•1h ago•0 comments

Elon should hire Jensen to run Terafab

4•spottedmarley•1h ago•1 comments

What Are Metal Organic Frameworks (MOFs)?

https://www.ossila.com/pages/what-are-metal-organic-frameworks
2•peter_d_sherman•1h ago•1 comments

Searching for exotic scalars at fusion reactors (2025)

https://arxiv.org/abs/2502.12314
2•greesil•1h ago•0 comments