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!

Rubber Duck Debugging

https://en.wikipedia.org/wiki/Rubber_duck_debugging
1•vinhnx•32s ago•0 comments

Validity of the Single Processor Approach (1967)

https://dl.acm.org/doi/epdf/10.1145/1465482.1465560
1•jruohonen•49s ago•0 comments

Bad Apple, but It's MathML

https://conflor.es/bad-apple-mathml
1•bkardell•55s ago•1 comments

CMA proposes package of measures to improve Google search services in UK

https://www.gov.uk/government/news/cma-proposes-package-of-measures-to-improve-google-search-serv...
1•robtherobber•1m ago•0 comments

Formally Verifying PBS Kids with Lean4

https://www.shadaj.me/writing/cyberchase-lean
1•shadaj•3m ago•0 comments

Offosm: OSM that you can access while you're offline

https://github.com/altilunium/offosm
1•altilunium•5m ago•0 comments

The Internet's Latest Lie: Moltbook

https://startupfortune.com/the-internets-latest-lie-moltbook-has-no-autonomous-ai-agents-only-hum...
1•lu5t•6m ago•0 comments

Reimplementing Tor from Scratch for a Single-Hop Proxy

https://foxmoss.com/blog/kurrat/
1•foxmoss•6m ago•0 comments

A premature software standard has led to billions in losses

https://hugo0.com/blog/how-erc20-held-back-blockchain-payments-a-decade
1•montenegrohugo•6m ago•1 comments

Intro to Cstml (Or: XML Meets JSON)

https://docs.bablr.org/guides/cstml/
1•todsacerdoti•7m ago•0 comments

The Dependency Layer in Digital Sovereignty

https://nesbitt.io/2026/01/28/the-dependency-layer-in-digital-sovereignty.html
1•speckx•7m ago•0 comments

Valued at 800M after less than two years,Vega eyes the path blazed by Wiz

https://www.calcalistech.com/ctechnews/article/sjs00wc2ubx
1•myth_drannon•7m ago•0 comments

Hybrid pricing is the default now – here's the data

https://www.solvimon.com/blog/hybrid-pricing-is-the-default-now-heres-the-data
1•arnon•8m ago•0 comments

Why software stocks are getting pummeled

https://www.economist.com/business/2026/02/01/why-software-stocks-are-getting-pummelled
2•andsoitis•9m ago•0 comments

A creator's bill of rights for the AI era

https://smmall.cloud/blog/creators-bill-of-rights-for-the-ai-era
1•a_band•10m ago•0 comments

Ask HN: Why not have a subreddit where all voting is done by a single AI?

2•amichail•14m ago•3 comments

I'm a wanted criminal in Italy. Well, maybe. Probably not

https://82mhz.net/posts/2026/01/i-m-a-wanted-criminal-in-italy-well-maybe-probably-not/
1•speckx•15m ago•0 comments

Show HN: A free and open source SSH client for iOS

https://github.com/neon443/ShhShell
1•neon443•16m ago•0 comments

Two weeks ago I shared Pdfwithlove in browser PDF toolkit with no uploads

https://pdfwithlove.netlify.app/#all-tools
1•pratik227•16m ago•1 comments

Show HN: Weather Haiku – AI-generated poetry for any location's current weather

https://weatherhaiku.cc
2•minor_drizzle•18m ago•1 comments

The Garbage PC

https://ounapuu.ee/posts/2026/02/02/garbage-time/
2•celsoazevedo•21m ago•0 comments

Show HN: Shoulditrustit.com – a simple, early alternative to Trustpilot

https://www.shouldItrustIt.com
1•franbetteo•21m ago•0 comments

How to Unabstract an Abstraction

https://www.jakeworth.com/posts/how-to-unabstract-an-abstraction/
1•jwworth•22m ago•0 comments

Tim Cook sold Apple's soul

https://www.loopwerk.io/articles/2026/tim-cook-sold-apples-soul/
6•kjmr•23m ago•0 comments

Sand heat storage with circulating sand reduces energy costs and CO2 emissions

https://www.heise.de/en/news/Sand-heat-storage-with-circulating-sand-reduces-energy-costs-and-CO-...
1•westurner•23m ago•0 comments

OpenClaw feels Scary now!

https://moithub.com/
2•javantanna•23m ago•0 comments

Bay Area woman loses $176K after accepting remote job she thought was Facebook [video]

https://www.youtube.com/watch?v=u4n4pWCGovI
1•mgh2•24m ago•0 comments

Schedule Across >2 Timezones

https://greatletsmeet.com/
1•marctuinier•25m ago•0 comments

Big tech is trading headcount for GPU capex

https://www.augmentedswe.com/p/tech-job-market-is-brutal
2•wordsaboutcode•26m ago•0 comments

Turn your workflow screen recording into instructional step-by-step guide

https://video2docs.com/
1•angelina200•27m ago•1 comments