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!

Apple and Google to be forced to check ID over social media ban

https://www.thetimes.com/uk/politics/article/social-media-ban-keir-starmer-under-16s-h73wk6qzj
1•beejiu•25s ago•0 comments

CPanel over MCP

1•terynas•3m ago•0 comments

Calbe Detective Mac App – What's plugged into each port

https://cable-detective.franzai.com/
1•franze•4m ago•0 comments

Ten years of ClickHouse in open source

https://clickhouse.com/blog/open-source-10
1•saisrirampur•6m ago•0 comments

The unsuspected UK cities howling with pleasure over werewolf dildos

https://metro.co.uk/2026/04/17/unsuspecting-uk-cities-howling-pleasure-werewolf-dildos-28011026/
1•TMWNN•6m ago•0 comments

Inside Cursor's wild rise

https://www.businessinsider.com/cursor-ceo-michael-truell-spacex-elon-musk-anthropic-2026-6
1•amrrs•7m ago•0 comments

Me and my exoskeletons: the rise of wearable robotics

https://www.ft.com/content/a71f4c56-685c-4341-9772-31e4e5c6418d
2•petethomas•8m ago•0 comments

In Age of AI, Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
1•speckx•8m ago•0 comments

Hand Gesture Verification Captcha by Google

https://docs.cloud.google.com/recaptcha/docs/hand-gesture-verification
1•hmokiguess•9m ago•0 comments

German court holds Google liable for fake AI answers

https://www.dw.com/en/german-court-holds-google-liable-for-fake-ai-answers/a-77527661
2•Topfi•10m ago•0 comments

Wolfram Mathematica 15

https://www.wolfram.com/mathematica/quick-revision-history/
1•rubin55•10m ago•0 comments

Acquire a Inexpensive Computer During This Time of Historically High Prices

https://cheapskatesguide.org/articles/low-priced-hardware.html
1•worldofmatthew•10m ago•0 comments

Autonomous Long-Running Coding Agents

https://nlp.elvissaravia.com/p/autonomous-long-running-coding-agents
1•omarsar•12m ago•0 comments

Show HN: I built an email agent for founders who are stuck in email

https://www.dirac.app/
1•Peterz_shu•12m ago•0 comments

Jax: Commitment Issues

https://www.gilesthomas.com/2026/06/jax-commitment-issues
1•gpjt•17m ago•0 comments

Tired of chaos, investors retreat from oil market at record pace

https://www.reuters.com/business/energy/tired-chaos-investors-retreat-oil-market-record-pace-2026...
1•mriet•17m ago•1 comments

TerraWatch,GitHub App that scans Terraform PRs and posts exact fix in comment

https://terrawatch.dev
1•alejny•18m ago•0 comments

Is it feasible to self host OSS EU productivity suite? [A Mijn Bureau Review]

https://techstackups.com/articles/is-it-feasible-to-self-host-an-open-source-eu-sovereign-product...
1•sixhobbits•20m ago•0 comments

The WWII Invention That Changed Simulation Forever

https://www.halldale.com/defence/the-forgotten-wwii-invention-that-changed-simulation-forever
1•e12e•21m ago•0 comments

B-52 bomber crashes shortly after takeoff at California's Edwards Air Force Base

https://www.cnn.com/2026/06/15/us/b-52-crash-edwards-california
5•bluedino•23m ago•0 comments

Open Sourcing dbt's latest feature

https://github.com/orchestra-hq/sao-paolo
1•HugoLu88•23m ago•1 comments

The UKs Smartphone Nude Filter Plan Is Insane

https://worldofmatthew.com/blog/nudefilter/
1•worldofmatthew•25m ago•0 comments

'The Phoenix' magazine to cease publication

https://www.independent.ie/business/irish-business/the-phoenix-magazine-to-cease-publication/a/15...
2•austinallegro•25m ago•0 comments

Show HN: Transpilatron – an AI tool that converts Python code into C binaries

https://github.com/NoodlixProject/transpilatron
2•johnnytech•26m ago•0 comments

Commander Keen Games (free book)

https://forgottenbytes.net/
2•tzury•27m ago•0 comments

Clojure is almost as fast as C (with some help)

https://ertu.dev/posts/4_clojure-reaching-c-performance/
2•ertucetin•28m ago•0 comments

The Grain of Thought

https://asker.dev/grain-of-thought
2•caminmccluskey•28m ago•1 comments

I built a chess trainer. Looking for beta testers

https://chesstrain.net
2•Blaskooo•29m ago•0 comments

Anthropic pauses credit change for Claude Code

6•fabianlindfors•29m ago•0 comments

Show HN: All 194 YC Spring 2026 startups scored from public data

https://fluenta.space/resources/reports/yc-spring-2026-batch-scored
2•OlegIvanov•29m ago•0 comments