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!

Oura's rings found their way onto fingers

https://www.economist.com/business/2026/09/04/how-ouras-rings-found-their-way-onto-millions-of-fi...
1•andsoitis•1m ago•0 comments

Show HN: Build and embed a game on any website

https://app.fusionery.com/embed-games
1•websitescenes•1m ago•0 comments

New method predicts where massive earthquakes will strike

https://phys.org/news/2026-09-method-massive-earthquakes.html
1•pseudolus•2m ago•0 comments

How Scared Should We Be of A.I.?

https://www.nytimes.com/2026/09/05/opinion/ai-silicon-valley.html
1•jeffwass•3m ago•0 comments

Structure Around Intelligence – AI Native

1•OsamaMustafaa•3m ago•0 comments

Show HN: I built a browser-based image toolbox with crop zoom layers conversion

https://algolassi.online/developer-tools/image-tools/
1•noobplus•8m ago•1 comments

Health-tracking smart ring maker Oura to list on Nasdaq

https://www.theguardian.com/business/2026/sep/04/health-tracking-smart-ring-maker-oura-to-list-on...
1•bookofjoe•9m ago•0 comments

Cybercab Launches in Austin

https://mycybercab.com/cybercab-launch-event
2•xfour•9m ago•0 comments

A more hackable ARM Cortex M0 brain upgrade for Casio's iconic F-91W

https://www.crowdsupply.com/oddly-specific-objects/sensor-watch-pro
2•Bluestein•10m ago•0 comments

FYI, I am Not Dave Shea (2006)

https://davidseah.com/2006/01/fyi-i-am-not-dave-shea/
1•Tomte•11m ago•0 comments

Mountain lion prey-selection in a community of native and introduced ungulates

https://www.frontiersin.org/journals/conservation-science/articles/10.3389/fcosc.2026.1779101/full
1•bushwart•13m ago•1 comments

Francis Fukuyama: The American Right Has Gone Off the Deep End

https://jacobin.com/2026/09/fukuyama-trump-conservatism-bureaucracy-democracy
2•YeGoblynQueenne•13m ago•1 comments

US shale growth is collapsing

https://twitter.com/ekwufinance/status/2093732187841400853
1•JumpCrisscross•14m ago•0 comments

The "$60 Gaming PC" – AMD BC-250 (2025)

https://devquasar.com/hardware/the-60-gaming-pc-amd-bc-250/
5•networked•15m ago•4 comments

The best dark mode toggle is probably none

https://lea.verou.me/blog/2026/dark-mode-toggles-2/
1•ValentineC•18m ago•0 comments

Visualizing Rust's Vtables: How dyn Trait Works In Memory

https://sofiabelen.github.io/projects/visualizing-rusts-vtables-how-dyn-trait-works-in-memory/
1•torutofu•20m ago•0 comments

What if you're on top of things?

https://www.oliverburkeman.com/donelist
1•Tomte•21m ago•0 comments

OpenAI agents hijacked German website before Hugging Face hack, report claims

https://www.bbc.co.uk/news/articles/ckg725z5kgzo
2•nephihaha•21m ago•0 comments

Protecting the idea of childhood innocence is a disservice to kids

https://www.cbc.ca/lite/story/1.7497964
2•colinprince•21m ago•0 comments

Breaking Down Executive Presence

https://theresaaristarco.substack.com/p/breaking-down-executive-presence
1•mooreds•22m ago•0 comments

Logical Intelligence

https://logicalintelligence.com/
1•ibobev•22m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•29m ago•0 comments

.gitignore Everything by Default

https://packagemain.tech/p/gitignore-everything-by-default
3•der_gopher•32m ago•2 comments

AI doesn't suck, people do

https://catalins.tech/ai-fatigue/
3•cmpit•35m ago•2 comments

UN approves resolution in support of map that shows Africa's true size

https://www.reuters.com/world/africa/un-approves-resolution-support-map-that-shows-africas-true-s...
3•bushwart•37m ago•1 comments

Google told drivers to drive a longer way on purpose

https://www.sfgate.com/tech/article/google-traffic-wrong-way-22416144.php
4•cainxinth•38m ago•1 comments

Show HN: Md2pdf – Markdown to PDF with proper CJK typesetting (pandoc and Typst)

https://github.com/openwhale-labs/md2pdf
2•noetherly•39m ago•0 comments

Pentagon rescinds new testosterone screening policy without explanation

https://arstechnica.com/health/2026/09/pentagon-releases-then-quickly-removes-testosterone-screen...
35•ndsipa_pomu•40m ago•15 comments

AMD unveils Threadripper Halo Station, an AI workstation packing 96 cores

https://www.tomshardware.com/pc-components/cpus/amd-unveils-threadripper-halo-station-an-ai-works...
4•Levitating•41m ago•0 comments

Floating-point precision causing the butterfly effect (laser simulation) [video]

https://www.youtube.com/watch?v=c4m4zayT-N0
3•caustic•42m ago•0 comments