frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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 can fix the fragmented online public transport space

https://simianwords.bearblog.dev/ai-can-fix-the-fragmented-online-public-transport-space/
1•simianwords•1m ago•0 comments

He Federal Data Field Guide

https://www.federaldatafieldguide.us/
1•firexcy•3m ago•0 comments

Pokemon NPCs Powered by Local LLMs

https://www.owenmc.dev/posts/local-inference-npcs
1•owenmccadden•5m ago•0 comments

Mistral's CEO: Europe has 2 years to stop becoming America's AI 'vassal state'

https://www.businessinsider.com/mistral-ceo-warns-europe-2-years-avoid-us-ai-dependence-2026-5
1•LelouBil•6m ago•0 comments

Mudflat Hiking

https://en.wikipedia.org/wiki/Mudflat_hiking
1•debarshri•7m ago•0 comments

Don't Outsource the Learning

https://addyosmani.com/blog/dont-outsource-learning/
1•korecodes•7m ago•0 comments

In 1979 engineer Hugh Padgham discovered "gated reverb" – by accident

https://producelikeapro.com/blog/how-one-recording-mistake-created-a-musical-phenomenon-in-the-80s/
1•bookofjoe•10m ago•0 comments

I want to try S.Y's GasTown to create code from a Spec without spending any $

https://github.com/stevef1uk/freeride
1•apiemotion•11m ago•1 comments

JSON logging isn't enough anymore: A deep dive into OTel Logs

https://www.dash0.com/knowledge/opentelemetry-logging-explained
1•ayoisaiah•13m ago•0 comments

Poll: Do you customize the TCP/IP settings of your OS, Router or Firewall?

1•Bender•14m ago•0 comments

Ask HN: Reading AI Assisted Essays

1•parentheses•16m ago•0 comments

Students noticing their AI‑smoothed writing sounds strong – and not like them

https://theconversation.com/college-students-are-noticing-their-ai-smoothed-writing-sounds-strong...
1•paulpauper•17m ago•0 comments

Something Big Is Happening on Campus

https://www.theatlantic.com/ideas/2026/05/david-brooks-something-is-going-right-at-universities/6...
1•paulpauper•18m ago•0 comments

Intro to TLA+ for the LLM Era: Prompt Your Way to Victory

https://emptysqua.re/blog/intro-to-tla-plus-for-the-llm-era/
1•zdw•19m ago•0 comments

Lawsuit Blames ChatGPT Maker OpenAI for Helping Plan a School Shooting

https://www.mississippifreepress.org/lawsuit-blames-chatgpt-maker-openai-for-helping-plan-a-schoo...
1•droidjj•20m ago•1 comments

La Machine

https://la-machine.fr/en?market=us&_redirected=1
2•jgrahamc•21m ago•0 comments

What are we getting out of code review?

https://sociable-mosquito.static2.website/posts/code-review-costs.html
1•ur_tech_friend•23m ago•0 comments

Is AI putting graduates out of work already?

https://www.economist.com/finance-and-economics/2026/05/13/is-ai-putting-graduates-out-of-work-al...
1•paulpauper•24m ago•1 comments

Memory trees and Taylor expansion of the lambda|-calculus (2012) [pdf]

https://www.irif.fr/_media/users/saurin/ohana-trees.pdf
1•sargstuff•25m ago•0 comments

Learning on the Shop Floor

https://twitter.com/tobi/status/2053121182044451016
1•cmbailey•28m ago•0 comments

Show HN: A freehand drawing guestbook for my portfolio

https://paco.fyi/guestbook
1•leoverdura•29m ago•0 comments

Pixie, a local-first workbench for your tools and models

https://github.com/AlexKapadia/Pixie
1•alexkapadia1•30m ago•0 comments

Deep Dive into SHA-3: Understanding Keccak and Sponge Functions

https://kerkour.com/sha3
2•randomint64•30m ago•0 comments

REST in Peace GraphQL

https://raheeljunaid.com/blog/rest-in-peace-graphql/
1•raheelrjunaid•32m ago•0 comments

Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep

https://github.com/MinishLab/semble
3•Bibabomas•34m ago•0 comments

Peter G. Neumann (RISKS) has died

https://mastodon.laurenweinstein.org/@lauren/116590409762570703
1•davidgerard•34m ago•0 comments

Memoirs from the old web: IE's crazy content rating system

https://www.devever.net/~hl/pics
2•pona-a•35m ago•0 comments

U.S. eyes attack-drone threat from Cuba

https://www.axios.com/2026/05/17/us-military-drones-cuba
2•cwwc•35m ago•2 comments

Solomon's Paradox

https://en.wikipedia.org/wiki/Solomon%27s_paradox
1•andrewstetsenko•39m ago•0 comments

AI license plate cameras tore this town apart and led to a state of emergency

https://www.washingtonpost.com/nation/2026/05/17/citys-ai-license-plate-cameras-led-an-uproar-sta...
3•greenburger•40m ago•2 comments