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!

Centipid ISP Billing OSS/BSS

https://centipidbilling.com
1•fabianmuema•3m ago•0 comments

Jailbreaking the Switch 2

https://pepsipu.com/blog/2026-10-switch2-jailbreak-ns2jb/
1•ledoge•5m ago•0 comments

Barclays cutting 5000 jobs in AI-led efficiency drive

https://news.sky.com/story/barclays-cutting-5-000-jobs-in-ai-led-efficiency-drive-13602151
2•cognoboffin•6m ago•0 comments

Just Dashboard open-source dashboard for managing your VPS

https://just-dashboard.com/
1•Wayy01•8m ago•0 comments

Mach9 raises $34M after pivoting to AI CAD software

https://techcrunch.com/2026/10/21/mach9-raises-34m-after-pivoting-to-ai-cad-software/
2•doppp•12m ago•0 comments

Show HN: SutraKey – A radial menu to download any media and web PDFs on macOS

https://sutrakey.aritro.cloud
1•halcyon-past•12m ago•1 comments

Scientists Accidentally Bred a Hybrid of Two Endangered Fish

https://www.sciencealert.com/scientists-create-a-strange-hybrid-between-two-very-different-kinds-...
2•thunderbong•13m ago•0 comments

Bose buys audio rival Skullcandy

https://www.engadget.com/2293698/bose-buys-audio-rival-skullcandy/
2•Markoff•15m ago•0 comments

Google's repository has crossed 1B CLs

1•oqsbo•16m ago•0 comments

CVE Record: CVE-2026-91403

https://www.cve.org/CVERecord?id=CVE-2026-91403
1•Daviey•21m ago•0 comments

Node.js: 5 vulnerabilities found, update now

https://nodejs.org/en/blog/vulnerability/october-2026-security-releases
4•danfritz•22m ago•1 comments

A million orthopteran singers from a year of continuous field recorders

https://www.biorxiv.org/content/10.64898/2026.10.18.759993v1
2•ersinesen•22m ago•0 comments

"Good" AI

https://thoughts.wyounas.com/p/what-does-good-ai-mean
2•simplegeek•24m ago•0 comments

Nonfiction Is Struggling. Publishers Are Making It Worse

https://thewalrus.ca/nonfiction-is-struggling-publishers-are-making-it-worse/
4•simplegeek•25m ago•0 comments

A Lost Schrödinger Manuscript Reveals a Surprising Twist in Quantum Physics

https://www.sciencealert.com/a-lost-schrdinger-manuscript-reveals-a-surprising-twist-in-quantum-p...
4•ibobev•25m ago•0 comments

Cable theft causes Openreach broadband outage for thousands in Thurnscoe, UK

https://www.datacenterdynamics.com/en/news/cable-theft-causes-openreach-broadband-outage-for-thou...
2•GloVin•29m ago•0 comments

Compare grid features, side by side

https://comparegrids.com/features
1•davidvela•31m ago•0 comments

A framework for evaluating agentic AI systems

https://deepsense.ai/blog/your-agent-passed-the-eval-should-you-ship-it/
2•nvmdbljstm•34m ago•0 comments

Patch the Planet – The Trail of Bits Blog

https://blog.trailofbits.com/2026/06/22/introducing-patch-the-planet/
3•janandonly•37m ago•0 comments

Terminal Setup for macOS: ZSH and Oh My Zsh

https://solomk.in/posts/terminal-configuration
2•ankitg12•37m ago•0 comments

Compaction Laundering:Provenance Destruction in Context-Compacting Coding Agents

https://arxiv.org/abs/2610.29869
2•ersinesen•39m ago•0 comments

ChatGPT Ads as over 100k advertisers have used the platform

https://openai.com/index/chatgpt-ads-expands-26-new-countries/
3•haebom•41m ago•0 comments

Show HN: A stateless MCP server over our docs – search, list_topics, get_article

https://chinaready.co/docs/api/
2•martinliucn•43m ago•0 comments

ZK-irp-firewall: Zero-knowledge invariant enforcement for AI agents

https://github.com/trenttrinder1111-byte/zk-irp-firewall
3•trenttrinder111•44m ago•0 comments

A Markdown File Should Just Open

https://joshuamorris.info/notes/2026/10/13/a-markdown-file-should-just-open/
11•TheWoollyBully•45m ago•1 comments

Halloween Gothic Reading Pathway

https://www.betterreads.dev/blog/halloween-gothic-pathway
3•zlu•49m ago•0 comments

AI Agent Observability with OpenTelemetry

https://signoz.io/blog/opentelemetry-ai-agent-observability/
8•dhruv_ahuja•50m ago•0 comments

They Want Your Blood

https://www.theverge.com/column/1015563/blood-death-clock-longevity-apps-health-tech
3•saikatsg•52m ago•0 comments

Show HN: no-fi – a linter for the ASCII wireframes agents draw

https://github.com/p-a-u-l-i-e/no-fi
1•PaulVanOijen•55m ago•0 comments

Turning IPv6 tunnels into programmable delay lines for pulsing DoS

https://blog.apnic.net/2026/10/22/turning-ipv6-tunnels-into-programmable-delay-lines-for-pulsing-...
2•frostbyte7•57m ago•0 comments