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!

Hot Chips 2026: Intel's Diamond Rapids

https://chipsandcheese.com/p/hot-chips-2026-intels-diamond-rapids
1•ingve•2m ago•0 comments

Screen time at ages 1 and 6 may matter more than parents realize

https://www.sciencedaily.com/releases/2026/08/260823094152.htm
2•01-_-•4m ago•0 comments

All AI Data Centers Under Construction Could Emit as Much CO₂ as 24M Cars

https://www.gadgetreview.com/all-ai-data-centers-under-construction-could-emit-as-much-co%e2%82%8...
1•01-_-•4m ago•0 comments

Ask HN: Coding is a solved problem. What is left for experienced engineers?

1•gokuljs•5m ago•2 comments

China's Oil Demand 'Likely' Peaked Last Year, Sinopec Says

https://www.bloomberg.com/news/articles/2026-08-24/china-s-oil-demand-very-likely-peaked-last-yea...
2•xbmcuser•8m ago•1 comments

What happens when you benchmark 1B logs on ClickHouse vs. OpenObserve?

https://openobserve.ai/blog/openobserve-vs-clickhouse-one-billion-logs-benchmark/
1•smkumari•9m ago•0 comments

Show HN: Tsiolkovsky's 51k-page archive, machine-read with measured accuracy

https://beskvladimir-create.github.io/tsiolkovsky-papers/
1•vladimirbesk•21m ago•0 comments

Show HN: Planetary Energy Routing Protocol (PERP)

https://github.com/WVGlobal/Planetary-Energy-Routing-Protocol
1•WVGlobal•22m ago•0 comments

Show HN: Submit your good SaaS for free

https://goodsaas.xyz
2•its_ajseven•27m ago•0 comments

Post-scarcity abundance begins by manifesting first as youth unemployment

https://twitter.com/i/status/2092041265781277007
6•Michelangelo11•34m ago•0 comments

"Functional unemployment" nearing 25% in U.S., analysis finds [video]

https://www.youtube.com/watch?v=-y2gKIGFTns
2•mgh2•34m ago•0 comments

Graphene can be made using a kitchen blender, a mobile phone and a newspaper

https://theconversation.com/the-wonder-material-graphene-can-be-made-using-a-kitchen-blender-a-mo...
4•geox•35m ago•0 comments

New technology lets cloud AI models process your data without privacy leaks

https://plugos.net/blog/2026/08/confidential-ai-how-plugclaw-keeps-your-ai-work-private/
4•ElowenWinslet•36m ago•0 comments

'Don't ask me to print your ChatGPT birthday card': Hitting back at AI 'slop'

https://www.bbc.co.uk/news/articles/cq89jpjeq7ko
4•erehweb•36m ago•0 comments

Hot Chips 2026: Intel's Wildcat Lake

https://chipsandcheese.com/p/hot-chips-2026-intels-wildcat-lake
2•ingve•39m ago•0 comments

Open-Weight Masked Introspection: Measuring What LMs Can Report About Their Own

https://arxiv.org/abs/2608.20569
2•sbulaev•40m ago•0 comments

Actually Queryable Executables

https://fzakaria.com/2026/08/24/actually-queryable-executables
3•ingve•41m ago•0 comments

DefCon 34 – Stalking the Wily Hacker: 40 years later – Cliff Stoll [video]

https://www.youtube.com/watch?v=656058JxTM0
5•ericd•49m ago•0 comments

Comparing the two holograms on the Windows 95 box

https://devblogs.microsoft.com/oldnewthing/20260824-00/?p=112643
2•st_goliath•52m ago•0 comments

Show HN: CookWing, an AI chef that doesn't hallucinate quantities

https://play.google.com/store/apps/details?id=com.redwing.vibecooking&hl=en_US
2•BananeDeRungis•54m ago•0 comments

Shazam.el

http://yummymelon.com/devnull/announcing-shazam-el.html
1•Tomte•54m ago•0 comments

Omarchy Exploit

https://www.youtube.com/watch?v=pgNvD9DaZxY
1•krehwell•56m ago•0 comments

Speculative Programmatic Tool Calling

https://alexzhang13.github.io/blog/2026/spec-ptc/
2•iamwil•59m ago•0 comments

Show HN: ShrinkRay – HandBrake for TinyML

https://github.com/TarulAhsan/ShrinkRay
1•EmonAhsan•1h ago•0 comments

Five spending categories absorbed 88% of the US middle fifth's raise (2013-2023)

https://efficientdollar.com/blog/leftover-money-after-essentials/
1•lundj•1h ago•0 comments

LLMPanel Deploy vLLM to RunPod or Vast.ai Without Kubernetes

https://llmpanel.io
1•SquidJack•1h ago•0 comments

Silence Is a Feature

https://aradar.top/posts/silence-is-a-feature/
3•aradar46•1h ago•0 comments

Beyond China's humanoid robots, a quieter machine revolution is unfolding

https://www.bbc.com/news/articles/c62m4zn1q6mo
3•nairteashop•1h ago•0 comments

National Police Union Blasts Flock CEO for Turning Against Police

https://ipvm.com/reports/union-who-flock
1•jhonovich•1h ago•0 comments

Artificial Intelligence Market (2026 – 2033)

https://www.grandviewresearch.com/industry-analysis/artificial-intelligence-ai-market
1•Rutujad•1h ago•0 comments