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!

The Nature of the Swarm

https://hallerite.com/posts/on-the-nature-of-the-swarm/
1•hallerite•3m ago•0 comments

Microsoft Has $80B of AI Chips It Can't Plug in [video]

https://www.youtube.com/watch?v=es4FfRU8saQ
1•xbmcuser•3m ago•0 comments

Turing: Opposition from the Intellectuals

1•daly•5m ago•0 comments

Ariodb – a proxy that checks and can undo what AI agents do to your DB

https://github.com/roozjalali/ariodb
2•roozbehjalali•7m ago•0 comments

Advancing mathematics research with AI-driven formal proof search

https://www.science.org/doi/10.1126/science.aej2213
1•01-_-•8m ago•0 comments

The very bad ad for the very first laptop

https://buttondown.com/suchbadtechads/archive/hx-20-rubber-ducky/
1•rfarley04•11m ago•0 comments

Cited but Not Consulted: A Counterfactual Audit of Legal Chain-of-Thought

https://arxiv.org/abs/2610.12361
1•sbulaev•11m ago•0 comments

LLMs Aren't Inevitable

https://deadsimpletech.com/blog/llms-arent-inevitable
4•rizsyed1•14m ago•0 comments

Vega: A decision model that rolls a ball down a hill

https://www.nandakishorm.com/writing/vega
1•yarapavan•16m ago•0 comments

AI model submitted false tip about unsolved murder, Philadelphia police say

https://6abc.com/post/anthropic-ai-model-submitted-false-tip-unsolved-murder-philadelphia-police-...
1•geox•17m ago•0 comments

If LLMs Can Decide Without Fine-Tuning, Do We Still Need Models Like Jev?

https://itsodeleo.github.io/posts/local-decision-workflow/
1•LeoisNotAI•20m ago•0 comments

Custom Agents Are Antipatterns

https://simianwords.bearblog.dev/custom-agents-are-antipatterns/
1•simianwords•21m ago•0 comments

Show HN: AntiPDF – PDF as it should have been all along

https://antisoftworks.com/
1•civnode•22m ago•0 comments

The Beam Book, Second Edition

https://happihacking.com/resources/the-beam-book/
1•Tomte•22m ago•0 comments

Sitecopy.ai

1•Arizonabusiness•23m ago•0 comments

Sitecopy.ai

1•Arizonabusiness•26m ago•0 comments

Show HN: Pre Python 3.15 PEP 661 compat-sentinel

https://pypi.org/project/compat-sentinel/
4•owebeeone•34m ago•1 comments

A (Reasonably) Opinionated Comparison of Isabelle/HOL, Lean, HOL4, and Agda

https://blueberrywren.dev/blog/primes/
1•fanf2•36m ago•0 comments

November first: Western Canada keeps its clocks. Is your software ready?

https://julien.duponchelle.info/canada-stops-daylight-saving-time/
1•noplay•37m ago•0 comments

TallyCal: Signupgenius Alternative Without the Ads

https://tallycal.com/
1•sk24iam•37m ago•0 comments

Building Piclaw on Top of an Opinionated Coding Agent

https://taoofmac.com/space/blog/2026/08/21/2218
1•rcarmo•39m ago•0 comments

Elisha Wiesel: The Death of the Nobel Peace Prize

https://www.thefp.com/p/elie-wiesel-death-nobel-peace-prize-israel
3•myth_drannon•42m ago•2 comments

Retrieval Centric Deep Learning: Replacing Weight Matrices with Vector Databases

https://twitter.com/oswaldjoh/status/2108669918883230177
1•porridgeraisin•49m ago•0 comments

A simple liters to US and UK gallons converter

https://liters2gallons.com/
1•Bashar42•49m ago•1 comments

The deadlock at the top climate science body

https://www.reuters.com/sustainability/cop/inside-deadlock-worlds-top-climate-science-body-2026-1...
2•layer8•50m ago•0 comments

Characters open up a world of typosquatting opportunities in Chromium browsers

https://www.theregister.com/security/2026/10/10/two-characters-open-up-a-world-of-typosquatting-o...
3•sohkamyung•51m ago•0 comments

A translation layer that allows running Android apps on a Linux system

https://gitlab.com/android_translation_layer/android_translation_layer
1•vitalnodo•52m ago•0 comments

A Port of Doom to the Castle Game Engine (Object Pascal / Free Pascal)

https://github.com/mariuz/castle-doom
2•mariuz•52m ago•0 comments

We ENGINEER the X algorithm to put your launch on every operator's feed

https://doomers.ai/
1•amarcheschi•52m ago•0 comments

We Need to Start Seeing Other Agents

https://taoofmac.com/space/blog/2026/10/10/1200
1•rcarmo•55m ago•0 comments