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!

Kubernetes, mark II? Why Google's giving away gVisor used by A/ and OAI

https://thenewstack.io/gvisor-cncf-kubernetes-open-source/
1•stevefan1999•5m ago•0 comments

Why Do We Build Fluxcut?

1•loveTech•6m ago•0 comments

He Was a Suspect in the Yogurt Shop Murders for Thirty Years. He Can't Forget

https://www.texasmonthly.com/true-crime/the-yogurt-shop-killer-who-wasnt/
2•gmays•14m ago•0 comments

Tetris Theme Remix (video, 2018)

https://www.youtube.com/watch?v=-1uQKFblyUU
1•erickhill•15m ago•0 comments

SR-Gadgets: Make Scan-Resistant Caching Practical

https://arxiv.org/abs/2609.30468
2•matt_d•15m ago•0 comments

Open source Matlab Alternative, first release.

https://github.com/me-farza/opennumlab
1•AI4Science•16m ago•1 comments

NASA Navigation Experiment Shows Promise for Planetary Landings

https://www.nasa.gov/centers-and-facilities/armstrong/nasa-navigation-experiment-shows-promise-fo...
1•andsoitis•17m ago•0 comments

Type: Agent orchestrator for running Claude Code and Codex on cloud

https://type.com/
1•handfuloflight•17m ago•0 comments

Kimi K3.1 locally on one GPU

2•Argonautlabs•21m ago•0 comments

Asahi Linux Progress Linux 7.3

https://asahilinux.org/2026/11/progress-report-7-3/
2•ackyshake•21m ago•0 comments

Google, Meta and TikTok Sue to Block Law Curbing Addictive Social Media for Kids

https://www.kqed.org/news/12108703/google-meta-and-tiktok-sue-to-block-california-law-curbing-add...
5•geox•25m ago•0 comments

Show HN: JavaScript web apps with WASM layout and GPU rendering in 280 KB

https://github.com/rkaehn/uniform
1•rkaehn•25m ago•0 comments

Powered by muscle cells, a paper-thin robot swims through watery maze

https://news.mit.edu/2026/powered-by-muscle-cells-paper-thin-robot-swims-through-watery-maze-0929
3•gmays•30m ago•0 comments

SpiritFone Session

http://spirititc.org/2026/11/06/spiritfone-in-action/
1•pkshadygrove•32m ago•0 comments

17776 (2017)

https://www.sbnation.com/a/17776-football
1•akkartik•32m ago•0 comments

Connect ChatGPT or Claude to Wordpress.com, Free in November

https://wordpress.com/blog/2026/11/03/free-chatgpt-claude/
1•rdmuser•34m ago•0 comments

California Voters Reject Billionaire Wealth Tax, DDHQ Projects

https://www.bloomberg.com/news/articles/2026-11-07/california-voters-reject-billionaire-tax-ddhq-...
7•madihaa•34m ago•0 comments

Naval Ravikant: The Beginning of Infinity [video]

https://www.youtube.com/watch?v=yAj5EnyuakI
2•jakeogh•35m ago•0 comments

Just turned my car into a Tesla Roadster

https://roadster-chi.vercel.app/
2•aaron_dutta•38m ago•0 comments

Meta Employees 'Interacted' with Pirated Copies of Adult Films, Filing Shows

https://torrentfreak.com/meta-employees-interacted-with-pirated-copies-of-adult-films-filing-shows/
3•gslin•39m ago•0 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
6•benbreen•47m ago•0 comments

Code Matters: Reflections on Rust in the LLM Age – Bryan Cantrill – Rust NYC [video]

https://www.youtube.com/watch?v=5D7QPOIZ7gY
3•vismit2000•47m ago•0 comments

Show HN: Help me pick a logo animation for my in-browser AI creature game

https://id-le.com/review/intro-logo-animation
1•nico•48m ago•0 comments

We Engineer Safer Agents

https://www.perplexity.ai/hub/blog/how-we-engineer-safer-agents
1•gmays•49m ago•0 comments

Quantum Computers Are Poised to Crack Encryption. AI Could Beat Them to It

https://www.wsj.com/tech/ai/ai-math-online-encryption-quantum-computers-57926bb2
1•fortran77•1h ago•0 comments

Exploring Janet and the HTTPF web framework

https://nick.gs/blog/2026-11/exploring-janet-and-the-httpf-web-framework/
1•veqq•1h ago•0 comments

F2FS: A New File System for Flash Storage (2015) [pdf]

https://www.usenix.org/system/files/conference/fast15/fast15-paper-lee.pdf
1•vismit2000•1h ago•0 comments

Show HN: We tested our prompt injection filter in public

https://hodor.gatebolt.com/blog/secret-leak-test
1•junayedmizan5•1h ago•0 comments

MCP-server-AutoCAD-Lisp-helper

https://github.com/radwanalmsora/mcp-server-autocad-lisp-helper
1•radwanAlmsora•1h ago•0 comments

The AI Business Model Just Collapsed

https://www.honest-broker.com/p/the-ai-business-model-just-collapsed
3•paulpauper•1h ago•1 comments