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

Free/Libre Software and Our Freedom [video]

https://www.youtube.com/watch?v=YDxPJs1EPS4
1•baal80spam•28s ago•0 comments

Transfering Files with gRPC

https://kreya.app/blog/transfering-files-with-grpc/
2•CommonGuy•1m ago•0 comments

Falsehoods CS Students (Still) Believe Upon Graduating

https://www.netmeister.org/blog/cs-falsehoods.html
1•varbhat•3m ago•0 comments

I went on Holiday with my Colleagues

https://dogdogfish.com/blog/2026/01/26/holiday-with-colleagues/
2•matthewsharpe3•4m ago•0 comments

Show HN: Encrypter v2.0 – Time-lock files and rich text in the browser

https://www.encrypter.site/
1•zealer•4m ago•0 comments

Zerobrew: A drop-in, 5-20x faster, experimental Homebrew alternative

https://github.com/lucasgelfond/zerobrew
3•signa11•6m ago•0 comments

Show HN: StarSeeker – Find early signals from Reddit, X, and XHS comments

https://github.com/PingoJ26/starseeker
1•xkbear•6m ago•1 comments

Nvidia Invests $2B More in CoreWeave, Offers New Chip

https://www.bloomberg.com/news/articles/2026-01-26/nvidia-invests-another-2-billion-in-coreweave-...
1•marc__1•6m ago•1 comments

A Universe Without Time

https://www.4rknova.com//blog/2026/01/25/barbour-timeless-universe
1•ibobev•7m ago•0 comments

TI-99/4A: Hybrid Software Development

https://bumbershootsoft.wordpress.com/2026/01/24/ti-99-4a-hybrid-software-development/
1•ibobev•8m ago•0 comments

The Wayforward Machine (2021)

https://wayforward.archive.org/
1•exploraz•8m ago•0 comments

Show HN: Luametry – Parametric CAD for Lua Developers (Built on Manifold)

https://github.com/BenSiv/luametry/blob/main/doc/hk_blog.md
1•bensiv•8m ago•2 comments

Setting Up Year in Command Line

https://danishpraka.sh/posts/setting-up-year-in-command-line/
1•prakashdanish•11m ago•0 comments

The Hardest Test for AI Isn't Math. It's Writing

https://localoptimumai.substack.com/p/the-hardest-test-for-ai-isnt-math
1•turing_complete•11m ago•0 comments

The TCP/IP Guide

http://www.tcpipguide.com/
1•shrikaranhanda•13m ago•0 comments

Vibe Coding Kills Open Source

https://arxiv.org/abs/2601.15494
3•kgwgk•17m ago•0 comments

Screeps: A Game About Programming Sold Its Players a Remote Access Trojan

https://outsidetheasylum.blog/screeps/
2•akyuu•17m ago•0 comments

Beijing: Highest-profile purge to date of senior military commanders

https://www.reuters.com/world/china/china-investigating-senior-military-officials-zhang-youxia-li...
1•irthomasthomas•18m ago•0 comments

BGP Vortex: Internet Routing Vortices Create Outages by Preventing Convergence

https://pulse.internetsociety.org/blog/bgp-vortex-internet-routing-vortices-create-outages-by-pre...
1•speckx•18m ago•0 comments

Norad pact would change if Canada pulls back from F-35 order: envoy to Ottawa

https://www.cbc.ca/lite/story/9.7059800
3•colinprince•19m ago•1 comments

Water 'Bankruptcy' Era Has Begun for Billions, Scientists Say

https://www.bloomberg.com/news/articles/2026-01-20/water-bankruptcy-era-has-begun-for-billions-sc...
3•ciconia•20m ago•1 comments

Robert Moreno and the use of ChatGPT that defined his time at Sochi

https://www.beinsports.com/en-us/soccer/articles/robert-moreno-and-the-use-of-chatgpt-that-define...
1•nopakos•21m ago•0 comments

Your CI/CD pipeline doesn't understand the code you just wrote

https://octomind.dev/blog/qa-agent-in-your-ci-cd-pipeline/index.html
2•Octomind_dev•23m ago•0 comments

A China-Europe energy alliance could deliver a new world order

https://www.telegraph.co.uk/business/2026/01/23/china-europe-energy-alliance-deliver-new-world-orde/
1•saubeidl•24m ago•0 comments

AI "swarms" could distort democracy

https://www.mpg.de/26044163/ai-swarms-could-distort-democracy
3•giuliomagnifico•24m ago•2 comments

Intrascope, BYOK team chat with shared team context

https://intrascope.app/
1•Intrascopeapp•26m ago•0 comments

UpScrolled – Your Voice Amplified

https://upscrolled.com/en/
1•bjourne•27m ago•0 comments

Show HN: Storage.to CLI, upload a file, get a link

3•rsbadger•27m ago•0 comments

QueueSpec – drafting speculation tokens while a request queues

https://blog.doubleword.ai/queue-speculation-drafting-while-you-wait
1•mezark•28m ago•0 comments

Show HN: LLM Sanity Checks – A practical guide to not over-engineering AI

https://github.com/NehmeAILabs/llm-sanity-checks
1•44za12•29m ago•0 comments