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

2026 humanoid robot half-marathon kicks off in Beijing [video]

https://www.youtube.com/watch?v=zqgc9C3cC6U
1•kasperni•5m ago•0 comments

Master of chaos wins $3M math prize for 'blowing up' equations

https://www.scientificamerican.com/article/master-of-chaos-wins-usd3m-math-prize-for-blowing-up-e...
1•tzury•6m ago•0 comments

The next food crisis may have begun

https://www.irishtimes.com/world/middle-east/2026/04/16/the-worlds-next-food-crisis-may-have-alre...
2•measurablefunc•22m ago•0 comments

Shanghai Relocates Neighbourhood with Robots (2025)

https://parametric-architecture.com/shanghai-relocates-7500-ton-shikumen-complex-with-robots/
1•thenthenthen•25m ago•0 comments

Berkeley EECS undergraduate TAs paid $89-102/HR

https://twitter.com/minilek/status/2045632119087448164
1•osnium123•25m ago•1 comments

Show HN: Fuelgauge – a Claude Code status line that doesn't need Node

https://github.com/adityaarakeri/fuelguage
1•humblejedi•27m ago•0 comments

Ask HN: Which IDE are you using?

1•wasimsk•33m ago•1 comments

Trump orders fast tracking review of psychedelics for mental health disorders

https://www.npr.org/2026/04/18/nx-s1-5789859/psychedelic-treatments-mental-health
5•mikhael•39m ago•1 comments

Show HN: Customer Reviews can be represented through Voice capture/generation

https://customersvoices.com
1•Zavora•48m ago•0 comments

Garbage Collection Without Unsafe Code

https://fitzgen.com/2024/02/06/safe-gc.html
1•foota•49m ago•0 comments

First trailer released for western starring AI version of Val Kilmer

https://www.theguardian.com/film/2026/apr/16/first-trailer-released-for-ai-val-kilmer-western
1•breve•52m ago•1 comments

Ask HN: Where do I submit a bug report for Windows Snipping Tool?

1•pests•55m ago•0 comments

Thiel-backed startup develops AI to adjudicate the truth of journalism

https://techcrunch.com/2026/04/15/can-ai-judge-journalism-a-thiel-backed-startup-says-yes-even-if...
2•ZunarJ5•58m ago•1 comments

AI answers break down, and what each one looks like

https://substack.com/@hanaleegoldin/note/c-244676181
3•billybuckwheat•1h ago•0 comments

Windows Server 2025 Runs Better on ARM

https://jasoneckert.github.io/myblog/server-2025-arm64/
1•jasoneckert•1h ago•1 comments

Fake partisan avatars emerge on social media

https://www.nytimes.com/2026/04/17/business/media/artificial-intelligence-trump-social-media.html
1•anigbrowl•1h ago•0 comments

DocuHog – The DocuSign Local Simulator

https://github.com/dwelch2344/docuhog
2•dwelch2344•1h ago•2 comments

Show HN: SnapReceipts Snap a receipt, split the bill instantly

https://snapreceipts.fyi/
1•armishra•1h ago•1 comments

The Role of Motherhood in the Pop Art of System Programing

https://multicians.org/pgn-motherhood.html
2•Tevo•1h ago•1 comments

User Inyerface – A worst-practice UI experiment

https://userinyerface.com/
4•hunvreus•1h ago•0 comments

ChatGPT plan purchasing bug: Free to buy

https://community.openai.com/t/security-report-apple-pay-receipt-validation-does-not-bind-to-purc...
2•pengfeituan•1h ago•0 comments

Cory Doctorow on the High Cost of Living with the Ultra-Rich

https://www.newyorker.com/books/book-currents/cory-doctorow-on-the-high-cost-of-living-with-the-u...
6•mitchbob•1h ago•1 comments

Wawa VFX

https://github.com/wass08/wawa-vfx
1•Lisa0802•1h ago•0 comments

The Match Act Is the Missing Piece in America's AI Export Control Strategy

https://www.thefai.org/posts/the-match-act-is-the-missing-piece-in-america-s-ai-export-control-st...
1•num42•1h ago•0 comments

Bipartisan Bill to Tighten Controls on Sensitive Chipmaking Equipment

https://baumgartner.house.gov/2026/04/02/baumgartner-introduces-bipartisan-bill-to-tighten-contro...
8•num42•1h ago•1 comments

37signals Dev – The ONCE app server

https://dev.37signals.com/once-app-server/
1•doppp•1h ago•0 comments

Show HN: Website that recommends outfit using weather and AI

https://what2wear-two.vercel.app
1•COOLmanYT•1h ago•3 comments

The Season Finale of TBPN

https://www.workingtheorys.com/p/tbpn
2•momentmaker•2h ago•0 comments

Using AI to get better at algorithms

https://medium.com/@andreiboar/algotutor-using-ai-to-actually-get-better-at-algorithms-a2b7b96e054a
2•zuzuleinen•2h ago•0 comments

Three-Monitor Ridge Racer Machine Emulated in MAME

https://hackaday.com/2026/04/18/three-monitor-ridge-racer-machine-emulated-in-mame/
2•pathompong•2h ago•0 comments