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!

Build an SMS Auto-Reply Bot with the Telnyx Messaging API

https://telnyx.com/resources/sms-auto-reply-bot
1•harpreetseehra•1m ago•0 comments

Deadly abuse of mobilized men in Ukraine

https://eventsinukraine.substack.com/p/concentration-camp-army
1•rainworld•1m ago•1 comments

Ornith-1.0: Self-Scaffolding open source LLMs for Agentic Coding rivaling Claude

https://deep-reinforce.com/ornith_1_0.html
1•itvision•2m ago•0 comments

Volkswagen reportedly planning to axe 100k jobs

https://www.cnn.com/2026/06/26/economy/volkswagen-job-cuts
1•rawgabbit•4m ago•0 comments

Hey HN, I built local char an open source local AI platform like character AI

https://github.com/KishaWeb/local-char
1•KishaWeb•5m ago•0 comments

Show HN: I built a tool that matches Founders to VCs based on their pitch deck

https://investormatch.pro
2•MartinTobias•5m ago•0 comments

Sony's Clever but Flawed PlayStation Copy Protection [video]

https://www.youtube.com/watch?v=XUwSOfQ1D3c
1•tosh•5m ago•0 comments

Multi-harness session monitoring app for heavy AI users

https://cctop.app/
1•st0012•6m ago•1 comments

AI and Liability

https://www.schneier.com/blog/archives/2026/06/ai-and-liability.html
1•simonw•7m ago•0 comments

The Teen Believers in Christian Nationalism

https://www.newyorker.com/magazine/2026/06/29/the-teen-believers-in-a-christian-america
1•rbanffy•7m ago•0 comments

Automated My Homelab with the Bat Stack (Bootc, Ansible, Terraform/OpenTofu)

https://keijilohier.com/blogs/recreating-my-homelab-with-infrastructure-as-code/
1•Klohier•8m ago•0 comments

Climate.us launches independent website for trusted climate information

https://www.climate.us/news-features/feed/climateus-launches-independent-website-trusted-climate-...
1•ChrisArchitect•8m ago•0 comments

How much "Super Mario" per year?

https://sethmlarson.dev/super-mario-per-year
1•surprisetalk•9m ago•0 comments

Atari Video Music

https://www.generationamiga.com/2026/06/26/atari-video-music-the-1977-atari-console-that-turned-m...
1•Lio•10m ago•1 comments

AI inference is obviously profitable

https://www.seangoedecke.com/ai-inference-is-obviously-profitable/
2•medbar•10m ago•1 comments

Where the wild Discovery Loops are

https://blog.christianperone.com/2026/06/where-the-wild-discovery-loops-are/
1•perone•10m ago•0 comments

I Wish I Knew This Before Building an AI Second Brain

https://pub.towardsai.net/i-wish-i-knew-this-before-building-an-ai-second-brain-6179aa439aef
1•majidfekri•11m ago•0 comments

Skills vs. knowledge – formalizing how agents need both

https://blog.herlein.com/post/procedures-travel-knowledge-stays-home/
1•gherlein•13m ago•0 comments

NYC Off Tech

https://nycofftech.com
1•anandbaburajan•14m ago•1 comments

I Am Behind on C# 14 Features, and I Can't Prove It but Does It Matter?

https://medium.com/c-sharp-programming/i-am-behind-on-csharp-14-features-and-i-cant-prove-it-but-...
1•sukhpinder0804•14m ago•1 comments

Trump administration asks OpenAI to stagger release of GPT 5.6

https://old.reddit.com/r/OpenAI/comments/1ufnwkh/breaking_trump_administration_asks_openai_to/
1•samber•16m ago•0 comments

SpaceX's newest Starmind will make earth data centers obsolete

https://www.teslarati.com/spacex-starmind-ai-satellite-vs-starlink/
2•avgarrison•19m ago•1 comments

Show HN: ShotBrief – Daily photography briefings, should you shoot tomorrow?

https://shotbrief.app/
1•bigwindow1•20m ago•1 comments

Was GLM-5.2 trained on Opus 4.5 outputs?

https://1chat.com/research/was-glm-5-2-trained-on-outputs-from-opus-4-5
2•coolspot•21m ago•1 comments

Anthropic's Claude is winning over paid consumers, a market owned by ChatGPT

https://techcrunch.com/2026/06/25/anthropics-claude-is-winning-over-paid-consumers-a-market-owned...
2•sambcui•21m ago•2 comments

Foundation and Manifesto of Futurism (1909)

https://thelastpromontory.com/texts/foundation-and-manifesto-of-futurism/
1•Schlagbohrer•21m ago•0 comments

Ceiling Fans [video]

https://www.youtube.com/watch?v=_KWdCqpXB7A
3•tosh•23m ago•0 comments

Bureaucracy Is Eating the World

https://xn--gckvb8fzb.com/bureaucracy-is-eating-the-world/
2•surprisetalk•23m ago•0 comments

Adobe is buying Topaz Labs, the AI video enhancer

https://thenextweb.com/news/adobe-acquires-topaz-labs-ai-enhancement
2•microflash•25m ago•0 comments

What Should Be Done

https://www.hyperdimensional.co/p/what-should-be-done
1•bluepeter•25m ago•0 comments