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!

Substantial under-detection of human rabies cases in the United States

https://www.nature.com/articles/s44528-026-00031-4
1•bookofjoe•1m ago•0 comments

A Comprehensive Study of Native Code Bugs in Python Applications

https://arxiv.org/abs/2608.29851
1•runningmike•5m ago•1 comments

Infinite Slop: An endless AI-generated TV channel

https://infiniteslop.ai
1•rzk•12m ago•1 comments

Stonehenge – From Restoration to Conservation

https://www.english-heritage.org.uk/visit/places/stonehenge/history-and-stories/history/conservat...
1•red369•15m ago•0 comments

CAA Has Been Mandatory Since 2017 but 93.1% of Company Domains Skip It

https://ciphercue.com/blog/caa-records-mandatory-since-2017-93-percent-missing
2•adulion•15m ago•0 comments

Russian missile uses Nvidia AI chip to help target Ukraine

https://www.theregister.com/offbeat/2026/08/14/russian-missile-uses-nvidia-ai-chip-to-help-target...
1•lambdaone•16m ago•1 comments

Rustc_codegen_JVM: Compile Rust to Java bytecode and runnable JARs

https://github.com/IntegralPilot/rustc_codegen_jvm
1•metrofun•20m ago•0 comments

The economics come before the code: architecting a real-time pipeline

https://xroot.dev/blog/solana-pipeline-part-1
1•SulimanMukhtar•23m ago•0 comments

Google Maps renames "Lake Ontario" to "Lake America" faster than US Government

https://arstechnica.com/gadgets/2026/08/google-maps-renames-lake-ontario-to-lake-america-even-fas...
3•Levitating•24m ago•0 comments

Is it just me, or has Claude Opus gotten worse recently?

2•de6u99er•25m ago•2 comments

Two months too late (Linux kernel 1day)

https://djnn.sh/posts/2months2late/
1•justusw•27m ago•0 comments

Operation Binder: Secrets of Inter-Process Communication [video]

https://www.youtube.com/watch?v=Fb4UoqXPEtI
1•Bluestein•27m ago•0 comments

Stanisław Lem foretold the current LLM mania in 1964

https://nibblestew.blogspot.com/2026/08/stanisaw-lem-foretold-current-llm-mania.html
3•latexr•32m ago•0 comments

Fal.live – AI television directed by everyone

https://fal.live
1•abersager•35m ago•0 comments

Show HN: ChooseCompute – Clean NAS and hard drive database for AI

https://choosecompute.com/
1•HumphreyZ•37m ago•0 comments

Helius – Personal Finance in One SQLite File, with a Rust CLI and TUI

https://github.com/Helius-Finance/helius-finance-tracker
2•stvr393•39m ago•0 comments

Trading Journal for Trade Tracking and Performance Analysis|TradeBB

https://www.tradebb.ai/
2•tradebb•40m ago•0 comments

One trie, three jobs, zero benchmarks won

https://akesson.io/wordtree/
1•lukastyrychtr•41m ago•0 comments

Reducing Java memory usage by 43% with joint JVM and container tuning

https://www.cloudpilot.ai/blog/java-workload-optimization/
1•jwcesign•43m ago•0 comments

Palmer Luckey's Rant on Paul Graham

https://twitter.com/PalmerLuckey/status/2094125479813070877
5•jakubadamw•43m ago•4 comments

Quasar 438B: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/quasar-438b
1•theanonymousone•44m ago•0 comments

Deskhop: Fast Desktop Switching Device

https://github.com/hrvach/deskhop
2•birdculture•44m ago•0 comments

Why the Future of Agentic Commerce May Belong to Websites

https://nekuda.substack.com/p/google-doubles-down-on-webmcp-at
2•amai•49m ago•0 comments

Show HN: PromptLab – Local-first Chrome sidepanel for LLM prompt testing

https://github.com/timgioh/PromptLab-Local-First-LLM-Prompt-Testing-in-Your-Browser
1•Konstantinsio•49m ago•0 comments

Anthropic sued over alleged theft of 'thousands' of songs

https://www.theguardian.com/business/2026/aug/31/aanthropic-sued-alleged-theft-songs-ai-train-claude
3•lastdong•50m ago•0 comments

Engagement-driven curation can trap culture consumers in 'overfamiliarity,'

https://www.rotman.utoronto.ca/news-events-and-ideas/news-and-stories/2026/july-2026/engagement-d...
2•downbad_•50m ago•0 comments

Show HN: Strunk – revise Google Docs from Claude without breaking comments

https://strunk.io
1•tadaslabudis•51m ago•0 comments

Leaving Gmail? Get your own domain first

https://eualternative.eu/guides/first-step-leaving-gmail/
2•sparkling•52m ago•0 comments

US irks G20 ministers by bringing back Russia, barring journalists

https://www.reuters.com/world/china/g20-host-us-pushes-growth-agenda-allay-debt-market-concerns-2...
3•vrganj•53m ago•0 comments

Trump Mocks Data-Center Opponents as Wanting to Stay 'Backwards and Poor'

https://www.nytimes.com/2026/08/31/us/politics/trump-data-centers.html
6•dkobia•58m ago•2 comments