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•11mo 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!

Show HN: I built a tool to make curated feeds. Here's one for HN's /best

https://www.heydebrief.com/dubkc/hn-best-24
1•baetylus•1m ago•0 comments

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro, 17x cheaper

https://github.com/aattaran/deepclaude
1•alattaran•4m ago•0 comments

Show HN: Triggering anti-cheats with just a browser tab title

https://github.com/elliott-diy/DontTrustTitles
3•Elliott-Diy•4m ago•0 comments

Broadcasting GPS on the Local Network

https://evertpot.com/broadcasting-gps-on-local-network/
1•treve•6m ago•0 comments

Brutal in production, lands like a verdict

1•Non_Von_Neumann•6m ago•0 comments

ReactOS Introduces Unified Live/Install Media, New Storage Driver

https://www.phoronix.com/news/ReactOS-Unified-ISO
1•kykat•8m ago•0 comments

Introduction to Atom

https://validator.w3.org/feed/docs/atom.html
1•susam•9m ago•0 comments

The Google Cloud Knowledge Catalog

https://cloud.google.com/blog/products/data-analytics/introducing-the-google-cloud-knowledge-catalog
1•laxmena•9m ago•0 comments

Next-Token Predictor Is An AI's Job, Not Its Species

https://www.astralcodexten.com/p/next-token-predictor-is-an-ais-job
1•optimalsolver•10m ago•0 comments

Seriously, Anthropic? [video]

https://www.youtube.com/watch?v=J8O9LLpJNrg
4•dp-hackernews•15m ago•0 comments

Sato – AI desktop companion for macOS with multi-provider support

https://www.sato.host/
1•vitalune•19m ago•0 comments

The Long Road To Windows 95 [video]

https://www.youtube.com/watch?v=u8k66A9n8gE
1•st_goliath•20m ago•0 comments

Transport access reduces deprivation: When colocation misleads

https://pnas.scienceconnect.io/error?msg=ewogICJpZCIgOiAiNmU3ZTA0MTEtMWQ1Yi00NDhjLTg0MDgtZGE4NjI4...
2•Anon84•22m ago•0 comments

March 2026 Top New Cran Packages

https://rworks.dev/posts/march-2026-top-40-new-cran-packages/
2•ionychal•23m ago•0 comments

How Synthesize_capability Works

https://ninjahawk.github.io/blog/posts/synthesize-capability.html
1•ninjahawk1•28m ago•0 comments

Early and Late-Stage Hypergrowth

https://lethain.com/early-late-stage-hypergrowth/
1•milkglass•32m ago•0 comments

No Smoking Gun

https://notoriousbfg.com/no-smoking-gun/
3•trwhite•33m ago•0 comments

Scientists Gave Cocaine to Salmon

https://www.wired.com/story/cocaine-fueled-wild-salmon-swam-twice-as-far-as-sober-ones/
5•ohjeez•38m ago•1 comments

Building a Web Framework from Scratch

3•NewSmoke38•39m ago•0 comments

Shipping todometer, Version 3

https://cassidoo.co/post/todometer-v3/
2•cassidoo•41m ago•0 comments

Building a daily AI news brief in 325 lines of Python

https://gist.github.com/Agentic-Intel/33fa978b281667bf0852d33f146c4528
1•Alex_Vance•42m ago•0 comments

Monero Ecosystem

https://monero.eco/
2•Cider9986•43m ago•0 comments

Theseus: Reverse-engineered reconstruction of the original Xbox 5960 dashboard

https://github.com/MrMilenko/Theseus
2•LorenDB•43m ago•0 comments

New research on analyzing and predicting token consumption of coding agents

https://arxiv.org/abs/2604.22750
3•jiaxinpei•45m ago•1 comments

Sluggers.fyi: Moneyball and Mario Super Sluggers

https://www.sluggers.fyi/
2•gsdv•48m ago•1 comments

xAI Is Reportedly Using Just 11% of Its 550k Nvidia GPUs

https://wccftech.com/xai-using-just-11-percent-gpus-while-meta-google-squeeze-out-much-more/
7•lossolo•48m ago•1 comments

Show HN: Playground for the Spectre Programming Language

https://spectrelang.org/playground
3•pizza_man•49m ago•1 comments

Show HN: Memory Safe Argon2 Implementation in Pure Swift 6

https://github.com/mimiclone/argon2-swift
2•mimiclone•1h ago•0 comments

I got tired of messy PTO spreadsheets, so I built a simple tool

https://myfreecalendar.app/
1•aliencillo•1h ago•0 comments

Three dead in suspected hantavirus outbreak on Atlantic cruise ship

https://www.bbc.co.uk/news/live/cjrzp08wx4vt
5•etiam•1h ago•0 comments