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

TrustedRouter: One API, all the LLMs, provably private

https://jperla.com/blog/trustedrouter-one-api-all-llms-provably-private
1•ljlolel•31s ago•0 comments

Git and S3 as the memory layer for agents

https://twitter.com/VijitDhingra1/status/2062265896039833935
1•crush_robo_1536•41s ago•0 comments

My Software North Star

https://kristoff.it/blog/north-star/
1•kristoff_it•48s ago•0 comments

What your router knows (but won't tell)

https://david.weekly.org/blog/2026-04-16-what-your-router-knows/
1•ujeezy•50s ago•0 comments

How LLMs Work

https://www.0xkato.xyz/how-llms-actually-work/
2•0xkato•1m ago•0 comments

It's time to fly – Codex [video]

https://www.youtube.com/watch?v=bJcA23ckzcY
1•phyzix5761•4m ago•0 comments

A Man Who Reads Books for a Living (One Every Two Days)

https://lithub.com/the-man-who-reads-books-for-a-living-one-every-two-days/
1•gmays•8m ago•0 comments

Show HN: CLI for crawling documentation sites into Markdown with defuddle

https://github.com/artemnistuley/docrawl
1•nistuley•8m ago•0 comments

The Approach to Equilibrium

https://www.guidavid.com/writing/approach-to-equilibrium
1•gdss•9m ago•0 comments

Revealing the Frontier with Stacks and Queues

https://dystroy.org/blog/stack-and-queues/
1•g0xA52A2A•12m ago•0 comments

NULLs in ClickHouse can hurt performance

https://rushter.com/blog/clickhouse-nulls/
1•birdculture•13m ago•0 comments

Why are there no good tablets at the moment?

https://neilzone.co.uk/2026/06/why-are-there-no-good-tablets-at-the-moment/
1•speckx•13m ago•0 comments

Rewiring software delivery for the agentic era

https://www.mckinsey.com/capabilities/technology/our-insights/rewiring-software-delivery-for-the-...
1•igor_mart•15m ago•0 comments

Monitor all your servers from one beautiful dashboard

https://boxwatch.app/
1•genx-joe•15m ago•0 comments

Show HN: I created a React alternative using web componnents

https://createthirdplaces.org/tech/placesjs.html
2•gulugawa•16m ago•0 comments

Multi-stage distributed query execution in ClickHouse Cloud

https://clickhouse.com/blog/multi-stage-distributed-query-execution-clickhouse-cloud
1•samaysharma•16m ago•0 comments

Stophy for AI Agents

https://stophy.dev
1•hakiiizimana•17m ago•0 comments

Trump's Takeover of the American Regulatory Machine

https://www.wsj.com/politics/policy/trump-takeover-regulators-130b57a3
4•doener•18m ago•0 comments

Analysis of Canadian Surveillance Law Expansion Under Bill C-22 – CitizenLab

https://citizenlab.ca/research/analysis-of-proposed-surveillance-law-expansion-under-bill-c-22/
2•EmbarrassedHelp•20m ago•1 comments

PaceVer (an alternative to SemVer, for mobile apps)

https://pacever.org/
2•maxloh•20m ago•0 comments

How ClickHouse Became 26x Faster at Joins

https://clickhouse.com/blog/clickhouse-fast-joins
1•samaysharma•21m ago•0 comments

Can poppy seeds make you fail a drug test?

https://www.popsci.com/health/can-poppy-seeds-cause-positive-drug-test/
2•bryan0•22m ago•0 comments

KDE Linux Is Coming Along Nicely, Ditching the AUR and Tightening Up Security

https://itsfoss.com/news/kde-linux-may-2026-update/
1•amcclure•22m ago•0 comments

God of War Laufey: First gameplay trailer

https://blog.playstation.com/2026/06/02/first-look-at-god-of-war-laufey/
1•glitchc•24m ago•0 comments

Have a "Lifetime" Without Microsoft

https://techrights.org/n/2026/06/03/Have_a_Lifetime_Without_Microsoft.shtml
1•amcclure•24m ago•1 comments

No Let, No Rec, No Problem: A Gentler Introduction to the Y and Z Combinators

https://irfanali.org/blog/zcom
1•thunderbong•26m ago•0 comments

Resolving Feynman's restaurant problem reveals optimal solutions and strategies

https://www.pnas.org/doi/10.1073/pnas.2509612123
1•tzury•27m ago•0 comments

Hundreds of cancer papers presented incorrect data after p16 protein mixup

https://forbetterscience.com/2026/06/02/mind-over-antibody/
3•ilamont•27m ago•0 comments

djbsort

https://sorting.cr.yp.to/
1•gjvc•28m ago•0 comments

How to Debug AI Agents with Traces and Evals

https://medium.com/no-time/how-to-debug-ai-agents-with-traces-and-evals-a3b72e9e7c82
1•sukhpinder0804•30m ago•0 comments