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!

OpenStep User Interface Guidelines [pdf]

https://www.gnustep.org/resources/documentation/OpenStepUserInterfaceGuidelines.pdf
1•jumpocelot•1m ago•0 comments

UK/GB: Plug-in solar: Regulatory amendment and interim product specification

https://www.gov.uk/government/consultations/plug-in-solar
1•DamonHD•1m ago•0 comments

Show HN: An n8n alternative where coding agents build the workflows, not humans

https://velane.sh/
2•abhishekraj272•3m ago•0 comments

Show HN: I built a middleware agent that turns PLC data into REST/gRPC APIs

https://limenedge.com/docs/getting-started
1•Saneth•8m ago•0 comments

Why Japanese Web Design Is So Different (2013)

https://randomwire.com/why-japanese-web-design-is-so-different/
2•downbad_•9m ago•0 comments

Ukraine launches database with 'deep technical data' of Russian weapons

https://kyivindependent.com/ukraine-launches-database-with-deep-technical-data-of-russian-weapons...
3•vrganj•11m ago•0 comments

Getting OpenCode plugins working in your organisation

https://sinn.io/opencode-setup/
1•sifex•12m ago•0 comments

Netref – Networking Quick Reference

https://netref.dev/
1•costabrosky•13m ago•0 comments

The only macOS battery app your MacBook needs

https://www.mac4breakfast.app/
1•1Kapish•13m ago•0 comments

Welcome to the Eternal September of open source. Here's what we plan to do

https://github.blog/open-source/maintainers/welcome-to-the-eternal-september-of-open-source-heres...
1•rolph•14m ago•0 comments

You Might Be Better Off Without Pull Requests(2024)

https://hamvocke.com/blog/better-off-without-pull-requests/
1•rolph•16m ago•0 comments

A new study rewrites the history of the plague

https://www.npr.org/2026/06/19/nx-s1-5860874/a-new-study-rewrites-the-history-of-the-plague
1•Jimmc414•16m ago•0 comments

The Free Press summer reading list

https://www.thefp.com/p/the-free-press-summer-reading-list
1•paulpauper•17m ago•0 comments

The Myth of SpaceX

https://www.theatlantic.com/technology/2026/06/spacex-starlink-ipo-elon-musk-trillionaire/687651/
1•paulpauper•18m ago•0 comments

Tutor who charged thousands to sit exams for students jailed

https://www.bbc.com/news/articles/cq810d7gpkgo
1•paulpauper•19m ago•0 comments

How many of the 170k English words do you REALLY know?

https://vocabulary-size-test.thisisnotai.workers.dev/
1•kashablya•19m ago•0 comments

The Giant Test Kitchen Where Cooks Battle A.I. Slop

https://www.nytimes.com/2026/06/20/business/media/people-inc-ai-test-kitchen.html
1•saikatsg•19m ago•0 comments

Millimeter wave technology drills 100 meters into granite

https://www.thinkgeoenergy.com/quaise-energy-achieves-100-meters-of-drilling-using-millimeter-wav...
2•Jimmc414•23m ago•0 comments

Agents publish HTML on the internet through thethings.ai

https://thethings.ai
1•sptmbr•23m ago•0 comments

Nothing cancels this year's CMF stating unsustainable RAM costs

https://twitter.com/AkisEvangelidis/status/2067855233968156975
2•sim04ful•23m ago•0 comments

Neural Cellular Automata and Recurrent Architectures

https://shonczinner.github.io/posts/gameoflife/
1•kjshsh123•26m ago•0 comments

I don't see any good orchestration system for AI agents

https://ffacu.dev/blog/the-split-terminal-problem
1•ffacu•29m ago•2 comments

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
3•overflowy•30m ago•3 comments

Show HN: Saysheep – dumpster diving and free stuff app

https://sloev.github.io/saysheep/
2•supernihil•35m ago•4 comments

India's foremost court declares safe footpaths a constitutional right

https://www.thehindu.com/news/national/supreme-court-declares-the-right-to-walk-carefree-on-footp...
1•dinosor•36m ago•0 comments

Agent Rigor – Stop your AI coding assistant from doom-looping

https://github.com/MeherBhaskar/agent-rigor
1•meherbhaskar•37m ago•0 comments

How it feels to practice for IOAI in Iran

https://howitfeels.netlify.app/
3•linmer•39m ago•0 comments

Show HN: Cody – Voice control for Neovim using its own commands, LSP

https://github.com/juancgarza/cody
2•jcgr•40m ago•0 comments

Agency stole bestselling author's book, used AI to relaunch as their own

https://waxy.org/2026/06/the-wholesale-plagiarism-of-obscure-sorrows/
111•ridesisapis•42m ago•20 comments

Global AI confessions: CEO edition 2026 – Dataiku

https://pages.dataiku.com/global-ai-confessions-ceo-edition
4•Baljhin•43m ago•1 comments