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!

AI Erodes a Legacy of Reading

https://molochinations.substack.com/p/ai-erodes-a-legacy-of-reading
1•domhudson•36s ago•0 comments

The Permission Slip

https://www.cringely.com/2026/05/28/the-permission-slip/
1•B1FF_PSUVM•10m ago•0 comments

Iterating Faster with TypeScript 7

https://code.visualstudio.com/blogs/2026/06/26/iterating-faster-with-ts-7
2•soheilpro•10m ago•0 comments

Show HN: Boot a tiny app-making OS inside an AI chat

https://hollingsworthd.github.io/RAu/
1•logn•11m ago•0 comments

The Impacts of Unauthorized Immigration on U.S. Labor and Housing Markets

https://www.dallasfed.org/research/papers/2026/wp2607
1•nradov•26m ago•1 comments

Enterprise AI customers pulling back from OpenAI and Anthropic as costs mount

https://qz.com/enterprise-ai-spending-openai-anthropic-roi-pullback-062626
2•toomuchtodo•30m ago•4 comments

Compiler Education Deserves a Revolution

https://thunderseethe.dev/posts/compiler-education-deserves-a-revoluation/
1•azhenley•31m ago•0 comments

I Co-Founded Wikipedia. Now I'm Banned for Life

https://www.thefp.com/p/larry-sanger-wikipedia-co-founder-banned
8•bko•31m ago•3 comments

Show HN: Tested – AI Tools Scored by a Panel of LLMs (Claude, GPT, Gemini, Grok)

https://trytested.com
1•pro_methe5•33m ago•0 comments

What's the value of the Biblical half shekel?

https://www.chabad.org/library/article_cdo/aid/673063/jewish/Whats-the-value-of-the-biblical-half...
1•teleforce•34m ago•0 comments

Show HN: GetBlocked – a local-only Chrome extension for blocking web trackers

https://github.com/alex-w-developer/GetBlocked/
6•sudo_cowsay•39m ago•3 comments

Indus civilisation reveals its volumetric system

https://www.thehindu.com/news/national/Indus-civilisation-reveals-its-volumetric-system/article16...
1•teleforce•40m ago•0 comments

Evolving the Node.js Release Schedule

https://nodejs.org/en/blog/announcements/evolving-the-nodejs-release-schedule
1•thunderbong•41m ago•0 comments

Greatgramps: A static site generator for GRAMPS family trees

https://bennuttall.com/blog/2026/06/greatgramps/
1•benn_88•43m ago•0 comments

Join .agent – Pre-Register Your Domain Free

https://agentcommunity.org/join
2•Anon84•50m ago•0 comments

The State of the AI Economy

https://intelligence.exponentialview.co/
2•marc__1•50m ago•0 comments

How a Star Wars Lego Dispute Triggered an Armed Police Raid in Utah

https://www.wsj.com/us-news/how-a-star-wars-lego-dispute-triggered-an-armed-police-raid-in-utah-c...
1•fortran77•51m ago•1 comments

Building While Becoming

https://pushapaula.substack.com/
2•paulawp•52m ago•0 comments

The Supreme Court's Era of Meaningless Rights

https://www.theatlantic.com/ideas/2026/06/supreme-court-decisions-unenforceable-rights/687713/
1•paulpauper•54m ago•0 comments

Show HN: I scanned 87 MCP servers for agent-authority hygiene – leaderboard

https://capframe.ai/leaderboard
1•euan21•55m ago•2 comments

Show HN: Hacker News on a Train Station Style Flip Board

https://popflame.quickish.space/hn-flipboard/
2•PaybackTony•56m ago•1 comments

The Duck Is Growing

https://gemenergyanalytics.substack.com/p/the-duck-is-growing
1•paulpauper•58m ago•1 comments

The State of the AI Economy

https://www.exponentialview.co/p/the-state-of-the-ai-economy
1•paulpauper•58m ago•0 comments

The formation of human populations in South and Central Asia

https://www.science.org/doi/10.1126/science.aat7487
1•teleforce•1h ago•0 comments

Show HN: Hatchr – Share Claude Designs with a public link

https://www.hatchr.link/
1•othmanosx•1h ago•0 comments

Show HN: Noise Lang, JIT stochastic programming language in Rust

https://noiselang.com/
1•manucorporat•1h ago•0 comments

PrismLib – semantic LLM cache and cluster mesh that cuts token spend

https://github.com/insightitsGit/prismlib
2•insightits•1h ago•0 comments

Economists have pushed for prediction markets. They're not what they'd hoped for

https://www.cnn.com/2026/06/21/business/prediction-markets-economists
2•JumpinJack_Cash•1h ago•1 comments

Routing for serverless servers with Pingora, Envoy, and Spanner

https://modal.com/blog/serverless-servers
2•birdculture•1h ago•0 comments

EU Trade Explorer

https://tradedashboard.eu/
1•abracadabrapouf•1h ago•1 comments