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!

I built a website cost calculator with 9 engines

https://projectcostestimator.com
1•VrumVrum•3m ago•1 comments

Martin Shkreli Breaks Down the Collapse of Situational Awareness [video]

https://www.youtube.com/watch?v=RJdgh9eEZvw
2•j_aime•3m ago•0 comments

'First tremors' of AI earthquake showing in digital revenue hit

https://pressgazette.co.uk/publishers/digital-journalism/first-tremors-of-ai-earthquake-showing-i...
2•giuliomagnifico•9m ago•0 comments

Human Honeypot

https://human2llm.pages.dev/
2•kevin_kraft•13m ago•1 comments

Critical Rendering Path: The Foundation of Web Performance [Part 1]

https://pagarevijayy.substack.com/p/critical-rendering-path-the-foundation
2•pagarevijayy•14m ago•0 comments

Aschenbrenner's hedge fund forced to unwind all public stock positions

https://www.cnbc.com/2026/07/30/leopold-aschenbrenners-hedge-fund-is-facing-steep-ai-losses.html
3•akbabu•17m ago•0 comments

Nvidia's $750B AI bet deepens fears of a circular tech bubble

https://www.latimes.com/business/story/2026-07-29/nvidias-750-billion-ai-bet-deepens-fears-of-cir...
3•1vuio0pswjnm7•19m ago•0 comments

Show HN: What should the GUI for AI agents look like?

https://marbleos.com/demo
3•akbabu•22m ago•0 comments

The nation's harshest data privacy law collides with a political problem

https://www.politico.com/news/2026/07/24/new-jersey-data-privacy-law-politics-01011055
2•1vuio0pswjnm7•22m ago•0 comments

Let's Make the Worst Htmx

https://zserge.com/posts/worst-htmx-ever/
2•RebelPotato•22m ago•0 comments

LinkedIn Introduces a 'Seems Like AI Slop' Button

https://www.404media.co/linkedin-introduces-a-seems-like-ai-slop-button/
3•saikatsg•24m ago•0 comments

Oooo – Digital Tape Loops

https://oooo.audio/
2•gregsadetsky•33m ago•0 comments

Hi, Jinks

https://blog.gingerbeardman.com/2026/07/30/hi-jinks/
2•zdw•34m ago•0 comments

Disney+ removes 4K and HDR10 in Europe

https://www.flatpanelshd.com/news.php?subaction=showfull&id=1785420735
2•theanonymousone•37m ago•0 comments

Claude Opus 5 jailbreak with a 3-word prompt

https://twitter.com/i/status/2082566186785480708
6•gck1•40m ago•2 comments

RosaicLabs, Atom RTL, and 32-Tile AMX: Trying to Piece Together a x86 Puzzle

https://chipsandcheese.com/p/rosaiclabs-atom-rtl-and-32-tile-amx
3•aba_cz•42m ago•0 comments

Anthropic says Claude AI hacked three organisations during cyber tests

https://www.bbc.co.uk/news/articles/cz7dl7w8y7po
4•ColinEberhardt•42m ago•0 comments

Fluency Is Not Authority: Building Local AI Characters for Signal Drift

https://engineering.signaldrift.net
2•alcoveresearch•44m ago•0 comments

Anthropic's AI Claude escaped testing environment and hacked organizations

https://www.theguardian.com/technology/2026/jul/30/anthropic-ai-claude-hack
3•theanonymousone•48m ago•0 comments

Anthropic Discloses That AI Models Testing Hacked Three Companies

https://www.washingtonpost.com/technology/2026/07/30/anthropic-discloses-that-ai-models-testing-h...
2•juunge•49m ago•0 comments

U.S. Coworking Inventory Inching Towards 9,400, Adding over 200 Locations

https://www.coworkingcafe.com/blog/national-coworking-report/
1•vanclaude•51m ago•0 comments

Screenshot Studio – a screenshot tool built for ChatGPT and Claude users

https://chromewebstore.google.com/detail/screenshot-studio-capture/ekoloaibegijelgaebjklmbgjkkokhic
2•raajahuja01•55m ago•0 comments

PhoneFree app. Block distracting apps on your phone

https://apps.apple.com/ca/app/phonefree/id6786120372
1•fahadzaidi•55m ago•2 comments

Just brute force your embeddings

https://softwaredoug.com/blog/2026/07/29/just-brute-force-embeddings
2•JohnBerryman•1h ago•1 comments

JEP 401: Value Objects (Preview) merged to OpenJDK master

https://github.com/openjdk/jdk/pull/31120
2•mfiguiere•1h ago•0 comments

Noisegate: A differential-privacy gateway for untrusted AI agents

https://github.com/yashmahajan10/llm-differential-privacy-gateway
2•handfuloflight•1h ago•0 comments

Minimax H3 on Anime

https://www.reddit.com/r/StableDiffusion/comments/1vbdf4c/comment/p0t2jzw/
2•E-Reverance•1h ago•0 comments

Data's Hierarchy of Needs Revisited

https://yanirseroussi.com/2026/07/31/datas-hierarchy-of-needs-revisited/
2•yanir•1h ago•0 comments

Send your VSCode context to OMP

https://github.com/klondikemarlen/omp-send-context/tree/main
2•ankitg12•1h ago•0 comments

How to Display Stocks on GitHub Profile

https://github.com/Liyfez/PosSol
2•liyfez•1h ago•0 comments