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!

Fourth of July

https://twitter.com/renhumansystems/status/2073302179268468969
1•aasthembolt•4m ago•0 comments

Show HN: Windows Auto Profiles – WinGet wrapper that adds app profiles

https://github.com/lahcim/WindowsAutoProfiles/blob/main/docs/examples.md
1•lahcim2000•4m ago•0 comments

A device that revives eyeballs from dead donors could make eye transplants poss

https://www.technologyreview.com/2026/07/03/1140148/a-device-that-revives-eyeballs-from-dead-dono...
1•joozio•8m ago•0 comments

Show HN: FlipFlow FlipFlow turns PDF, Word, and images into flipbooks

https://flippingbooks.org
1•ceaserwang•8m ago•0 comments

Fable 5. Safety Taken to an Extreme

1•sergeysmirnov•9m ago•0 comments

HTML Is the New PowerPoint

https://sproutmarkup.com/
1•ginooliver•10m ago•0 comments

More Tailscale tricks for your jailbroken Kindle

https://tailscale.com/blog/jailbroken-kindle-proxy-tun-modes
1•Quizzical4230•11m ago•0 comments

Running Qwen 3.6 Locally on a Mac Mini M4 with 16GB RAM

https://maloyan.xyz/blog/running-qwen-locally-mac-mini-m4
1•mpweiher•13m ago•0 comments

What's new in Claude Sonnet 5

https://platform.claude.com/docs/en/about-claude/models/whats-new-sonnet-5
1•tosh•14m ago•0 comments

Is DentaBiome Legit? Full Oral Postbiotic Review 2026

https://gamma.app/embed/Is-DentaBiome-Legit-Full-Oral-Postbiotic-Review-2026-ngcts4rx0fndxw5?mode...
1•prepostseo•18m ago•0 comments

Accessible Math in PDF [video]

https://www.youtube.com/watch?v=yb5QElBAr-Q
1•anewhnaccount2•27m ago•0 comments

The LLVM Compiler Infrastructure

https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
1•tosh•29m ago•0 comments

Open source project for evaluating two models on specific task

1•mzubairtahir•32m ago•0 comments

Mir Little Mathematics Library

https://mirtitles.org/2011/06/02/little-mathematics-library/
1•vismit2000•33m ago•0 comments

Show HN: On99 – a no-signup Hong Kong Mark Six checker and stats explorer

https://on99.life/en/lottery
1•alex_foolsmart•36m ago•0 comments

Godot bans "vibe-coded" code contributions

https://theguptalog.blogspot.com/2026/07/godot-bans-ai-generated-code.html
2•guptalog•39m ago•1 comments

Show HN: Much – Local-first AI workspace with in-browser Python (WASM) sandbox

1•srinivasthalada•39m ago•0 comments

The bottleneck might be the air in the room

https://blog.mikebowler.ca/2026/07/03/co2-and-decision-making/
27•gslin•40m ago•4 comments

Borrowed Confidence

https://zhavaedhaemaed.substack.com/p/borrowed-confidence
1•vismit2000•44m ago•0 comments

The feature in OxCaml that more languages should steal

https://theconsensus.dev/p/2026/06/27/the-feature-in-oxcaml-more-languages-should-steal.html
1•tosh•47m ago•0 comments

Now at $50M: Ro Khanna "Why I Support a Billionaire Wealth Tax"

https://rokhannausa.substack.com/p/why-i-support-a-billionaire-wealth
2•g42gregory•51m ago•0 comments

OpenClaw just launched an official app for iPhone

https://9to5mac.com/2026/06/29/openclaw-just-launched-an-official-app-for-iphone-details-here/
1•TMWNN•51m ago•0 comments

I Helped Fact-Check the 1619 Project. The Times Ignored Me. (2020)

https://www.politico.com/news/magazine/2020/03/06/1619-project-new-york-times-mistake-122248
1•Tomte•52m ago•0 comments

Help Us Save MeshCore

https://blog.meshcore.io/2026/07/04/help-us-save-meshcore
1•ilreb•54m ago•0 comments

Berikut cara perubahan tiket AGODA

https://drive.google.com/file/d/1jtjTxNKMww-bAiMbr1SqRwrP7Kwn5wk8/view?usp=drivesdk
1•akupadamu•56m ago•0 comments

Bloomberg Terminal Is Ugly and Clunky–Everyone Still Uses It

https://oztalking.com/en/issues/bloomberg-terminal-lock-in
10•haebom•1h ago•2 comments

Alibaba bans Claude Code as a security risk

https://www.scmp.com/tech/big-tech/article/3359375/alibaba-bans-staff-using-claude-code-over-anth...
2•5701652400•1h ago•0 comments

Scientists say they have built a cell from scratch for the first time

https://www.cnn.com/2026/07/01/science/synthetic-cell-research
1•giuliomagnifico•1h ago•0 comments

What Happens When Your Site Goes Down?

https://urlwatch.io/
2•mssblogs•1h ago•0 comments

How AI models would vote in Sweden

https://www.nordan.ai/research/which-swedish-party-do-llms-vote-for
2•urvader•1h ago•1 comments