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!

Not the Glue They Thought It Was

https://www.science.org/content/blog-post/not-glue-they-thought-it-was
1•EA-3167•1m ago•0 comments

Mark Zuckerberg: Profile of history's largest non-territorial empire

https://colossus.com/article/mark-zuckerberg-profile/
1•IshanMi•1m ago•0 comments

DeepSeek Is Down

https://openrouter.ai/deepseek/deepseek-v4.1-flash
1•dofi4ka•1m ago•0 comments

Why Beyond Vanilla RAG?

https://chandula7.gumroad.com/l/AgenticRAGFundamentals
3•lokizzz•1m ago•1 comments

A Single Firm Is Behind OpenAI, Anthropic, and Meta Hacking Scandals

https://www.effort.news/irregular
1•yusufozkan•2m ago•0 comments

Ollama 0.33.3 changed what prompt_eval_duration measures

https://lognebudo.github.io/llmxray/docs/en/articles/ollama-prefill-metrics.html
1•lognebudo•2m ago•0 comments

Fathom (YC W21) is being acquired by Superhuman

https://www.fathom.ai/superhuman
1•jorts•4m ago•1 comments

Personal Statement on AI Risk

https://docs.google.com/document/u/0/d/e/2PACX-1vQNl3SEX5IyA6d9qHjjFZN-qzGRZNFI6b63g-yu1Fy-ZYkVfC...
1•mellosouls•5m ago•1 comments

California lawmakers urge criminal penalties emergency legislation to rein in AI

https://www.latimes.com/california/story/2026-09-13/rogue-ai-concerns-prompt-ca-lawmakers-to-dema...
1•1vuio0pswjnm7•6m ago•0 comments

SWE-Bench Multimodal: Do AI Systems Generalize to Visual Software Domains?

https://www.swebench.com/multimodal.html
1•matt_d•8m ago•0 comments

New EU Repair Rules [video]

https://www.youtube.com/watch?v=N66XA9UwaRA
1•franczesko•8m ago•0 comments

A Generalizable Light Transport 3D Embedding for Global Illumination

https://dl.acm.org/doi/full/10.1145/3799902.3811095
1•ibobev•10m ago•0 comments

RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems

https://arxiv.org/abs/2609.12551
2•matt_d•11m ago•0 comments

DLSS 5: Generative Neural Rendering

https://research.nvidia.com/labs/adlr/DLSS5/
1•ibobev•11m ago•0 comments

Amazon.com Services, LLC vs. Perplexity AI, INC., No. 26-1444 (9th Cir. 2026)

https://law.justia.com/cases/federal/appellate-courts/ca9/26-1444/26-1444-2026-08-04.html
35•neom•12m ago•7 comments

US coal 'biggest contributor by far' to rise in global emissions

https://www.thechemicalengineer.com/news/us-coal-biggest-contributor-by-far-to-rise-in-global-emi...
2•softwaredoug•12m ago•1 comments

Add custom AI model providers to Siri in macOS 27

https://twitter.com/marcelpociot/status/2099604010634207678
1•marcelpociot•13m ago•0 comments

Salesforce launches Hunter, an outbound sales agent

https://www.salesforce.com/sales/prospecting/agent/?bc=HL
1•simonswords82•13m ago•1 comments

Playing video games is associated with higher cognitive ability

https://www.sciencedirect.com/science/article/pii/S000169182600911X
1•theanonymousone•15m ago•0 comments

We grew AI usage 52x, then cut our costs 90%

https://www.prosus.com/news-insights/2026/we-grew-ai-usage-52x-then-cut-our-costs-90-percent-here...
2•simonebrunozzi•16m ago•0 comments

The current debate about AI replacing Mathematicians (take 2)

https://www.wisdom.weizmann.ac.il/~oded/on-proofs-t2.html
1•Tyyps•17m ago•0 comments

Backpass: Gradient descent for your agent memory

https://github.com/kunchenguid/backpass
2•nkko•18m ago•0 comments

What in the Graphics Is Volumetric Rendering?

https://www.3denginerd.com/blog/what-in-the-graphics-is-volumetric-rendering
1•ibobev•18m ago•0 comments

Slate.com Turns 30

https://slate.com/30th
1•hihellohello•21m ago•0 comments

Qwen3.8-Flash-Next non-uniform quantization runs on 2 RTX3090s

https://huggingface.co/pfeifferj/Qwen3.8-Flash-Next-GSQ-RCO-GGUF
3•pfeifferj•26m ago•0 comments

Tiny League – compare small LLMs easily

https://tinyleague.nunodonato.com/
2•nunodonato•28m ago•1 comments

Anthropic's AI architect argued that discrimination could combat stigmas

https://www.europesays.com/people/38239/
1•like_any_other•28m ago•2 comments

The Case for Free Intelligence

https://jadidbourbaki.substack.com/p/the-case-for-free-intelligence
1•pptadversary•31m ago•0 comments

Show HN: Do Not Build – measure a software market before you build in it

https://donotbuild.com/verdicts
1•andrecacador•31m ago•0 comments

There are only twelve 4x4 sudoku grids and 85632 puzzles

https://baldino.dev/blog/there-are-only-twelve-4x4-sudokus/
1•fanf2•35m ago•0 comments