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!

Ward – reliable face unlock for Linux login, sudo and polkit

https://github.com/0ctave/ward
1•0ctave•1m ago•0 comments

Fault a Theoretical Alternative to Result

https://paul.blasuc.ci/posts/fault-report.html
1•nozzlegear•1m ago•0 comments

Show HN: ccfleet, a quiet, tmux-native Claude Code dashboard

https://github.com/jdbrewer/ccfleet
1•notebrewer•3m ago•0 comments

Patrick Stewart Has Died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
16•duke_sam•5m ago•1 comments

A Team of Buddies

https://proof.diy
1•r_gaur•9m ago•1 comments

Toilets

https://www.visitnorway.com/plan-your-trip/travel-tips-a-z/norwegian-scenic-routes/worlds-best-to...
1•Tomte•9m ago•0 comments

AI Is Not an Important Technology

https://bakigul.substack.com/p/yapay-zeka-buyuk-bir-teknoloji-degil
1•bakigul•10m ago•0 comments

Sir Patrick Stewart has died

https://twitter.com/sirpatstew/status/2115891266131300517
31•j4mie•11m ago•5 comments

Putting Music Data to Work

https://www.coryd.dev/posts/2026/putting-music-data-to-work
1•cdrnsf•13m ago•0 comments

Let China Copy American AI

https://www.economist.com/leaders/2026/10/29/let-china-copy-american-ai
2•dsubburam•15m ago•0 comments

Ask HN: Antrophic tightened usage limits?

1•lukan•15m ago•0 comments

Polymarket Pauses Trading After Some Users Report Funds Drained

https://www.wsj.com/business/polymarket-pauses-trading-after-some-users-report-funds-drained-b014...
3•JumpCrisscross•15m ago•0 comments

AI Memory on Memgraph: Persistent Context Across Session, Team and Organization

https://memgraph.com/blog/ai-memory-persistent-context
2•LLcolD•16m ago•0 comments

A16Z Speedrun Application Reviews

https://runstructure.com/sr/
3•mmayernick•17m ago•0 comments

Jules winding down on Dec 31, 2026

3•dotmanish•17m ago•2 comments

Billionaires or Democracy: Choose One

https://www.thenation.com/article/politics/california-proposition-40-billionaire-wealth-tax/
5•mentalgear•18m ago•1 comments

Ending support for R in Kaggle Notebooks

https://www.kaggle.com/discussions/product-announcements/751525
2•torcete•19m ago•1 comments

Cross platform Rust app that just shows Git diffs

https://diffy.run/
2•Jonovono•19m ago•1 comments

Getting into Flow

https://tgrecojs.com/posts/getting-into-flow
1•tgrecojs•20m ago•0 comments

Cryptoskeptics

https://cryptoskeptics.org/
2•petethomas•21m ago•0 comments

/dev/finance, Stripe founding documents, and USCIS O-1 evidence

https://raeez.com/devfinance.html
2•bschne•21m ago•0 comments

Show HN: Fitness Functions for Dbt Projects

https://github.com/tjirab/tff
2•bartschuijt•23m ago•0 comments

The importance of communities around software

https://lumi.codeberg.page/blog/software-community.html
14•amcclure•25m ago•2 comments

Show HN: Auto Dismiss Mac OS "Allow <app> to find devices on local networks?"

https://github.com/johncassil/dontallow
20•johncassil•25m ago•8 comments

Until – You approve the plan, a separate agent checks the code against it

https://until.dev
3•abby11•25m ago•0 comments

IgE disruptor for food allergy with Claude-enabled antibody design [pdf]

https://divergencelabs.com/publications/ige-preprint.pdf
6•matco11•27m ago•1 comments

Show HN: Typebook.lol read books by typing the letters only

https://typebook.lol/
3•vegnus•28m ago•0 comments

You can now make money with my SaaS: 30% of every payment, for 12 months

https://globatics.live/affiliates
2•Kjuuu•29m ago•0 comments

Polymarket halts trading after compromise, impacted users will be 'made whole'

https://www.nbcnews.com/business/consumer/polymarket-trading-halt-hack-wallets-rcna606405
5•ceejayoz•29m ago•0 comments

Everything I post doesn't go through

1•Zeruxe•30m ago•2 comments