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!

Looking for an ArXiv Endorser – AI / Computer Science

https://github.com/paibyun9/EGA-V9
1•lcm3•35s ago•1 comments

BYOKs for an LLM with a Brain

https://alicebraincore.web.app
1•kindsocial•40s ago•0 comments

The DuckDB MySQL engine at 500 GB

https://www.percona.com/blog/the-duckdb-mysql-engine-at-500-gb/
1•theanonymousone•3m ago•0 comments

Penn State cocaine trafficking ring involved 2 fraternities, authorities say

https://abcnews.com/US/wireStory/penn-state-cocaine-trafficking-ring-involved-2-fraternities-1357...
1•vinni2•4m ago•0 comments

Deft – an authentic human writing model

https://deftwriting.com
1•andrewlin247•18m ago•0 comments

Neuroscience is in big trouble [video]

https://www.youtube.com/watch?v=jHGx7HBB-J4
2•thelastgallon•19m ago•0 comments

A new era of biohacking in a retro medium

https://elasticstage.com/36n9/releases/36n9-genetics-audiotransduction-album
1•jollydragonroge•22m ago•0 comments

More screen time since childhood associated with better cognitive processing

https://www.jyu.fi/en/news/more-screen-time-since-childhood-associated-with-better-cognitive-proc...
1•jv22222•22m ago•0 comments

Google Drive outage – at what point is slow, down?

https://www.google.com/appsstatus/dashboard/incidents/sjDiph2NXGAfkYYLfK7T
1•chi_features•23m ago•1 comments

Show HN: I made a comic series explaining Claude – Chat, Cowork, and Code

https://github.com/Fake4d/claude-school
1•Fake4d•24m ago•0 comments

BloxStack: The professional network for Roblox creators

https://bloxstack.app/
2•hotshotqq•27m ago•0 comments

Nanvix: A Multikernel OS Design for High-Density Serverless Deployments

https://arxiv.org/abs/2604.11669
1•handfuloflight•30m ago•0 comments

Opus 5 doesn't use em-dashes in code comments

https://lalitm.com/post/code-comments-are-a-model-fingerprint/
1•lalitmaganti•32m ago•0 comments

Running Anachronistic Demakes on Vintage Atari VCS Hardware

http://deater.net/weave/vmwprod/myst_vcs/e7_cart.html
2•bananaboy•32m ago•1 comments

There's No Reason to Buy a New Phone Anymore

https://www.theatlantic.com/technology/2026/08/secondhand-tech-boom/688309/
5•annzabelle•41m ago•0 comments

Millions of Ukrainian Men Are Fleeing a Cruel Conscription System

https://www.thenation.com/article/world/ukraine-military-conscription-draft-dodgers/
5•petethomas•41m ago•0 comments

US moves to open tracts of pristine forests to logging

https://www.france24.com/en/live-news/20260818-us-moves-to-open-vast-tracts-of-pristine-forests-t...
3•geox•41m ago•0 comments

Progress in Modernizing Kernel Cryptography

https://lwn.net/Articles/1077427/
4•pykello•49m ago•0 comments

AI mines 500 years of Spanish colonial records to find hidden wrecks, lost cargo

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-company-hiring-a-literal-pi...
1•harambae•50m ago•0 comments

Securely share biotech data, but without all the setup hassle

1•Peony_VDR•51m ago•0 comments

DBimg – free image/video/audio hosting with permanent direct links

https://dbimg.app/en
1•dannbx•53m ago•0 comments

Show HN: 4bit bridge between AI and humans

https://github.com/YOalphabet/YOalphabet
3•YOalphabet•54m ago•1 comments

Mystery of 'space activity' forcing plane's Antarctic U-turn solved

https://www.stuff.co.nz/travel/361022053/us-antarctic-flight-forced-back-over-feared-russian-spac...
4•speckx•1h ago•0 comments

Types of Neural Networks You Should Know

https://ischool.syracuse.edu/types-of-neural-networks/
2•peter_d_sherman•1h ago•0 comments

Satellite operators are in panic mode due to a worsening launch crisis

https://arstechnica.com/space/2026/08/theres-a-huge-launch-crunch-right-now-and-it-will-probably-...
2•chha•1h ago•0 comments

Ask HN: Are AI credits too locked to individual applications?

1•nextma•1h ago•0 comments

Binquery – local CLI that shortlists 8–15 clips from an edit intent

https://github.com/jennifferweslowski-design/binquery
1•junwanghechu123•1h ago•0 comments

Model Hypnosis: Strong control of AI via additive subliminal effects

https://arxiv.org/abs/2608.16834
1•sbulaev•1h ago•0 comments

Kim Jong-Un Is Not Our Friend

https://www.nationalreview.com/2026/08/kim-jong-un-is-not-our-friend/
7•petethomas•1h ago•1 comments

Show HN: CommitLore – Git memory for decisions coding agents keep forgetting

https://github.com/MongLong0214/commitlore
1•weplay0628•1h ago•0 comments