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!

Voice Agent for Customer Support

https://usevoicelink.co
1•odufuwa_segun•1m ago•0 comments

Buyer cancels showing after Deflock shows two cameras utilized by the HOA

https://twitter.com/lydiakauppi/status/2089196932413452386
1•bilsbie•1m ago•0 comments

Who Owns Intelligence? Jensen Huang and the Battle for Open-Weight AI

https://aiengineerhub.com/who-owns-intelligence-open-weight-ai
2•HenriHubert•2m ago•0 comments

What if Wirecutter rated Universities?

https://hollisrobbinsanecdotal.substack.com/p/what-if-wirecutter-rated-universities
1•HR01•4m ago•0 comments

Video Agents are getting crazy-good at Minute-Long Video Generation

https://physionlabs.ai/blog/physion-arc1.0
1•ppsreejith•5m ago•0 comments

Writing a Fast Compiler (2024)

https://tibleiz.net/blog/2024-02-04-writing-a-fast-compiler.html
1•haeseong•7m ago•0 comments

Am I better because of AI?

https://bytecode.news/posts/2026/08/am-i-better-because-of-ai
1•jottinger•8m ago•1 comments

Mexico Crackdown on Coastal Development Underway

https://yucatanmagazine.com/mexico-crackdown-on-coastal-development/
1•untiledsource•9m ago•0 comments

GPT 5.6 Sol is the best "vision" model OpenAI ever released

https://blog.roboflow.com/openai-gpt-5-6/
2•plurby•10m ago•0 comments

Show HN: Repliflow – a node canvas for chaining Replicate image and video models

https://github.com/tommyjepsen/repliflow
3•tommyjepsen•10m ago•0 comments

Cumora the Team Harness from Yetone

https://github.com/yetone/cumora
1•wey-gu•12m ago•0 comments

Intercom: Doing the right thing when things go wrong

https://www.intercom.com/blog/doing-the-right-thing-when-things-go-wrong/
1•jreynar•17m ago•0 comments

ESP32 Firmware Development with Docker Sandboxes

https://www.docker.com/blog/reproducible-esp32-firmware-development-with-docker-and-docker-sandbo...
1•mfranzon•17m ago•0 comments

AI market correction is coming, ECB blog predicts

https://www.reuters.com/business/autos-transportation/ai-market-correction-is-coming-ecb-blog-pre...
1•navjeetgill307•19m ago•0 comments

LLMs are (still) mostly powered by imitative learning, not RL

https://www.lesswrong.com/posts/wYpjXRLqbLbnmjbJP/llms-are-still-mostly-powered-by-imitative-lear...
1•surprisetalk•19m ago•0 comments

The Artifact Is No Longer Proof of Competence

https://eliasson.me/articles/the-artifact-is-no-longer-proof-of-competence
1•elitan•20m ago•0 comments

Argument AI App on iOS and Android

https://argumentapp.ai/
1•angryteacher•21m ago•1 comments

What happens when an AI agent stops being a disposable session?

https://www.dropstone.io/blog/dropstone-sdk-1-0
2•DarenWatson•22m ago•0 comments

Show HN: Lips Scheme 1.0.0-beta.22 with full call/cc and TCO

https://lips.js.org/blog/beta-continuations-and-tco
1•jcubic•22m ago•0 comments

Travis Kalanick on VC: "a super high bar for a VC is: do no harm"

https://twitter.com/haroonmeer/status/2089310997420933398
1•mh_•23m ago•0 comments

Death by a Thousand Small Decisions

https://codebytom.blog/2026/07/death-by-a-thousand-small-decisions/
1•theanonymousone•24m ago•0 comments

Who Owns Commodore? The Retro PC Brand Still Exists, but a Lot Has Changed

https://www.bgr.com/2233625/who-owns-commodore-retro-brand/
2•theanonymousone•24m ago•0 comments

Ryde Data Breach Exposes 4.5M Customer Accounts Across Nordic Region

https://ebuildersecurity.se/en/cyber-news/ryde-data-breach-4-5-million-nordic-accounts-2026/
2•absqueued•25m ago•0 comments

Extreme space weather could disrupt flights, expose passengers to high radiation

https://www.surrey.ac.uk/news/extreme-space-weather-could-disrupt-flights-and-expose-passengers-h...
1•giuliomagnifico•25m ago•0 comments

Solving Hack the Box Challenges with GPT‑5.6

https://theaq.blog/2026/08/17/solving-htb-challenges-with-openai-gpt-5.6.html
2•HonzaT•26m ago•0 comments

'Can we accept what we have done or not done?'

https://www.theguardian.com/film/2026/aug/17/gaza-doctor-documentary
2•root-parent•27m ago•0 comments

And then the men with guns tell you to do it anyway

https://shkspr.mobi/blog/2026/08/and-then-the-men-with-guns-tell-you-to-do-it-anyway/
2•ColinWright•29m ago•1 comments

AI Has Plunged the Book Publishing Industry into Utter Chaos

https://www.wsj.com/arts-culture/books/generative-ai-book-publishing-be79a287
3•thm•29m ago•0 comments

We built AI accelerators to reduce the time from AI prototype to production

https://geekyants.com/ai-accelerator
2•Harish_0089•31m ago•1 comments

People are worried about America's solvency

https://www.ft.com/content/e04f286c-f5ed-46d1-8e3f-0bbe4cce4d3e
16•root-parent•34m ago•8 comments