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

Straight Lines on Graphs

https://joelbkr.substack.com/p/straight-lines-on-graphs
1•gmays•1m ago•0 comments

US War Machine Is Built on Decades of Lies. The Assault on Iran Is No Exception

https://truthout.org/articles/us-war-machine-is-built-on-decades-of-lies-the-assault-on-iran-is-n...
2•hkhn•2m ago•0 comments

Guesty Copilot: Open-source MCP server for Guesty property management

https://github.com/DLJRealty/guesty-mcp-server
1•dlj_realty•6m ago•0 comments

Show HN: Dot-Globe – React component that renders NASA night-light data

https://www.kurt.xyz/dot-globe
1•krtbgb•8m ago•0 comments

Debian Is Figuring Out How Age Verification Laws Will Impact It

https://www.phoronix.com/news/Debian-Undecided-Age-Laws
1•Bender•8m ago•0 comments

Stamp It All Programs Must Report Their Version – Michael Stapelberg

https://michael.stapelberg.ch/posts/2026-04-05-stamp-it-all-programs-must-report-their-version/
1•gurjeet•8m ago•0 comments

Show HN: OnlyTech – For the Friday Deployments and More

https://onlytech.boo
1•vednig•12m ago•0 comments

Morgenruf – Free, open-source Slack standup bot(self-hosted)

https://morgenruf.dev
1•anmolnagpal•14m ago•0 comments

Pokémon cards are igniting an international crime spree

https://www.cnn.com/2026/04/04/business/pokemon-cards-crime-spree
1•Bender•14m ago•0 comments

Arabinoxylan-gluten hydrogels via enzymatic oxidation and regeneration

https://www.sciencedirect.com/science/article/pii/S0268005X25008902
1•PaulHoule•14m ago•0 comments

Riddle solved: Why was Roman concrete so durable?

https://news.mit.edu/2023/roman-concrete-durability-lime-casts-0106
1•ilamont•15m ago•0 comments

End of an era: Samsung has killed Samsung Messages in favor of Google Messages

https://www.neowin.net/news/end-of-an-era-samsung-is-killing-samsung-messages-in-favor-of-google-...
1•bundie•15m ago•0 comments

AI agents promise to 'run the business,' but who is liable if things go wrong?

https://www.theregister.com/2026/04/05/ai_agents_liability/
2•Bender•16m ago•0 comments

Show HN: Prediction Hunt API – A unified layer for Polymarket, Kalshi, and more

https://www.predictionhunt.com/api/docs
1•carushow•16m ago•0 comments

"The Movies" Probably Aren't Coming Back

https://twitter.com/TechSquidTV/status/2034679615453614118
1•TechSquidTV•17m ago•0 comments

Usenet Archives

https://usenetarchives.com
1•myth_drannon•18m ago•0 comments

Run Gemma 4 in Your Browser

https://huggingface.co/spaces/webml-community/Gemma-4-WebGPU
1•oldfuture•21m ago•0 comments

We analyzed 5,480 hospital cost reports. Supply spending varies 3-7x

https://andrewrexroad.substack.com/p/the-supply-closet
1•rexroad•26m ago•0 comments

Corridor Crew Is Changing Filmmaking Forever [video]

https://www.youtube.com/watch?v=D_E_x8OJbrg
1•CHB0403085482•28m ago•0 comments

OpenCloud: Open-source, sovereign alternative to Google Drive, fork of OwnCloud

https://opencloud.eu/en
2•maxloh•31m ago•2 comments

Cloud Codex – self-hosted real-time collaborative docs platform

https://github.com/Cloud-City-Computing/c2
1•xtelos•31m ago•1 comments

Anthropic blocks cli calls mentioning OpenClaw

https://twitter.com/steipete/status/2040811558427648357
2•nstj•35m ago•2 comments

LLMs can't justify their answers–this CLI forces them to

https://wheat.grainulation.com/
2•volatilityfund•43m ago•0 comments

Show HN: LLMs' Favorite Colors

https://davidstolarsky.net/llms-favourite-colors
1•gimlids•46m ago•0 comments

Exploring NPM's Dependency Blast Radius: Visualization of the Top 1K

https://realarcherl.github.io/opensecure/
2•ArcherL•48m ago•0 comments

AI Is a Threat to Everything the American People Hold Dear – Bernie Sanders OpEd

https://www.wsj.com/opinion/ai-is-a-threat-to-everything-the-american-people-hold-dear-a3286459
4•lando2319•54m ago•2 comments

Silicon Valley's Billion Dollar Design Scams by Design Theory [video]

https://www.youtube.com/watch?v=hDvAQf1cnr8
1•CHB0403085482•58m ago•0 comments

Ignore AI FOMO – For Now

https://www.bloomberg.com/news/newsletters/2026-04-05/what-is-vibe-coding-the-ai-trend-fueling-a-...
2•gurjeet•1h ago•1 comments

Apex Protocol – An open MCP-based standard for AI agent trading

https://apexstandard.org/
5•andmerm•1h ago•1 comments

Show HN: Skilleton – Minimal tool for managing versioned SKILL.md definitions

https://github.com/Fcmam5/skilleton
1•fcmam5•1h ago•0 comments