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!

How I compute: An opinionated nerd post for computer nerds

https://carette.xyz/posts/how_do_i_compute/
1•LucidLynx•1m ago•0 comments

"You Can('T) See Everything"

https://carette.xyz/posts/you-can-see-everything/
1•LucidLynx•4m ago•0 comments

Novel Collision Approximation (2023)

https://www.friedgil.com/collisions
1•vismit2000•5m ago•0 comments

Are trees on buildings more than a greenwashing gimmick?

https://www.dezeen.com/2026/11/25/trees-on-buildings-greenwashing/
1•wjSgoWPm5bWAhXB•6m ago•0 comments

Robots will have a staggering economic impact

https://www.economist.com/leaders/2026/11/26/robots-will-have-a-staggering-economic-impact
1•thm•7m ago•0 comments

World has six consecutive days of 2C above preindustrial levels for first time

https://www.theguardian.com/environment/2026/nov/25/world-six-consecutive-days-2c-above-preindust...
1•botanical•11m ago•0 comments

Show HN: Workbench for making CAD parts with Claude/AI coding agent

https://github.com/luisg0nc/torno
1•freitzzz•12m ago•0 comments

Dutch government working to prevent passing of US MATCH bill

https://www.reuters.com/world/china/dutch-government-working-prevent-passing-us-match-bill-minist...
2•TechTechTech•15m ago•0 comments

Cognitive Presence

https://gustav.im/opinions/cognitive-presence
1•abraxas_•15m ago•0 comments

UK to launch first licensing scheme for knife sales

https://www.theguardian.com/uk-news/2026/nov/25/uk-knife-sales-licensing-scheme
1•robtherobber•15m ago•0 comments

Show HN: A tool to animate old photos with subtle motion

https://animateoldphotosai.com
1•jackking2060•15m ago•0 comments

Generative Handwriting Text

https://penna.luruke.com/
1•sarkarghya•17m ago•0 comments

Nullomers (2025)

https://www.friedgil.com/nullomers
1•vismit2000•17m ago•0 comments

Sounds Like a Little Chaos

https://elevenmusic.io/blog/sounds-like-a-little-chaos
1•sigvef•20m ago•0 comments

Why Is It Bad to Use Fallacies on Purpose?

https://blog.apaonline.org/2026/11/24/why-is-it-bad-to-use-fallacies-on-purpose/
2•Tomte•22m ago•0 comments

AccessDPRK

http://mynorthkorea.blogspot.com/
1•Tomte•22m ago•0 comments

The Commodore logo in pure CSS, from its 1965 construction card

https://github.com/tanaydin/c64Logo
1•tanaydinsirin•23m ago•0 comments

Effective Swarm Riding for Engineers

https://www.paradigm.xyz/writing/swarms
1•bluesilver07•29m ago•0 comments

What is an MCP gateway, and when do you need one?

https://izylifesolutions.com/articles/what-is-an-mcp-gateway-and-when-you-need-one/
1•giuseppecassata•32m ago•0 comments

Linguists explain why some words sound like what they mean

https://www.uio.no/english/research/research-news/articles/2026/why-does-the-word-huge-sound-so-l...
1•giuliomagnifico•34m ago•0 comments

A Programming Style Guide

https://github.com/facundoolano/style-guide
2•facundo_olano•36m ago•1 comments

Treasury CIO Is Vibe Coding a 'Civilization' Clone During Treasury Dept. Hack

https://www.404media.co/sam-corcos-legatum-treasury-cio-is-vibe-coding-a-civilization-clone-durin...
2•thm•37m ago•0 comments

What LLMs Do to PostgreSQL and DBAs

https://www.depesz.com/2026/11/09/what-llms-do-to-postgresql-and-dbas/
1•0x54MUR41•37m ago•0 comments

Telegram restricts message formatting for premium users

2•dimamik•38m ago•0 comments

Generalized Riemann Hypothesis proof in Lean 4, in 76k lines (down from 17M)

https://leanprover.zulipchat.com/#narrow/channel/658556-Riemann-Hypothesis/topic/Cleaning.20up.20...
3•birdculture•43m ago•0 comments

Show HN: Memora – self-hosted, file-first personal AI assistant

https://github.com/lian84/memora
1•lian84•51m ago•0 comments

Show HN: Open Deal Kit – free agents for the steps of buying a business

https://github.com/devaland-ai/open-deal-kit
2•devaland•55m ago•0 comments

Ispromptsafe.com

https://ispromptsafe.com
1•traktorn•55m ago•0 comments

Show HN: HobbyLM-Embed, a from-scratch embedding model that runs locally

https://huggingface.co/harims95/hobbylm-embed-140m
1•prajhan1•57m ago•0 comments

Why the Future Doesn't Need Us (2000)

https://www.wired.com/2000/04/joy-2/
3•sph•1h ago•0 comments