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!

A Dab of DuckDB

https://peterdohertys.website/blog-posts/dab-of-duck.html
1•vismit2000•51s ago•0 comments

Poolr – shared photo albums for events, no app required for guests

https://www.getpoolr.com/
1•SupaMRVL•5m ago•0 comments

Maybe you should learn something

https://www.marginalia.nu/log/a_135_learn/
1•latexr•6m ago•0 comments

Our Wilderness Areas Are in Danger

https://apnews.com/article/mining-moratorium-trump-boundary-waters-permits-3d32cd0f591e0de0bfa3a8...
1•MrChoke•6m ago•0 comments

Stripe link-CLI: Let your agents spend on your behalf

https://github.com/stripe/link-cli
1•tjek•12m ago•0 comments

Your Biggest Vulnerability is your Shitty Compensation

https://green.spacedino.net/your-biggest-vulnerability-is-your-shitty-compensation/
1•jfil•12m ago•0 comments

H1-X Live Unveiling Event – Future of personal flight [video]

https://www.youtube.com/watch?v=sddOq3h9hNA
1•omer_k•16m ago•0 comments

Don't forget: The plural of anecdote is data

http://blog.danwin.com/don-t-forget-the-plural-of-anecdote-is-data/
1•aesthesia•19m ago•0 comments

Apple's lobbying effort saves it from new App Store rules

https://appleinsider.com/articles/26/04/27/apples-massive-lobbying-effort-saves-it-from-new-app-s...
2•latexr•20m ago•0 comments

Intel has best month ever, after years of losing to TSMC and Nvidia

https://www.cnbc.com/2026/04/30/intel-has-best-month-ever-after-years-of-losing-to-tsmc-and-nvidi...
2•elsewhen•25m ago•0 comments

NASA chief says he's in the camp of 'make Pluto a planet again'

https://www.space.com/astronomy/pluto/nasa-chief-jared-isaacman-says-hes-fighting-for-pluto-i-am-...
2•OutOfHere•34m ago•1 comments

Why Being Curious and Asking Questions Are Essential in Life [Book]

https://www.forbes.com/sites/marybethgasman/2026/04/30/why-being-curious-and-asking-questions-is-...
1•stmw•36m ago•0 comments

Passwordless Root Access in qubes

https://doc.qubes-os.org/en/latest/user/security-in-qubes/vm-sudo.html
2•negura•39m ago•0 comments

DeepSeek V4 Flash and V4 Pro in Microsoft Foundry

https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/introducing-deepseek-v4-flash-and-...
2•zhoutong•41m ago•1 comments

America's New Surveillance Dragnet

https://www.wsj.com/politics/policy/immigration-ice-arrests-surveillance-6f1cef64
9•julienchastang•58m ago•1 comments

Interactive physics moving block structures in Minecraft

https://github.com/ryanhcode/sable
3•LelouBil•1h ago•1 comments

Create Aeronautics

https://modrinth.com/mod/create-aeronautics
3•LelouBil•1h ago•0 comments

Find and fix any Windows error

https://errorcodereference.com/
1•megamike•1h ago•1 comments

Metro Hits 1.0.0 – Compile-Time Dependency Injection Framework for Kotlin

https://github.com/ZacSweers/metro/releases/tag/1.0.0
2•TheWiggles•1h ago•0 comments

Where the Money Is Coming From

https://www.warman.life/blog/2026-04-30-where-the-money-is-coming-from/
3•shaunistyping•1h ago•0 comments

OpenAI to use third-party cookies to advertise products

https://openai.com/policies/us-privacy-policy/
3•shpat•1h ago•0 comments

I made a weird AI kids app (Little Chicken)

https://apps.apple.com/us/app/kids-games-fun-little-chicken/id6759822036
1•mrWONDERFULguy•1h ago•0 comments

Cursor's 'Rogue' AI agent goes haywire, deletes company's database [video]

https://www.youtube.com/watch?v=XBVoLSXaAHA
2•mgh2•1h ago•2 comments

Ask HN: Any good ways to extend Codex sessions?

1•tabmate•1h ago•2 comments

AI Value Capture – The Shift to Model Labs

https://newsletter.semianalysis.com/p/ai-value-capture-the-shift-to-model
1•nsoonhui•1h ago•0 comments

Show HN: Vibe, a single-header C networking library for Linux

https://github.com/xtellect/vibe
3•enduku•1h ago•0 comments

Ask HN: Does Claude use 'prior' in a Bayesian sense more than English?

2•slake•1h ago•0 comments

Ruby Gems and Go Modules Impersonate Dev Tools to Steal Secrets and Poison CI

https://socket.dev/blog/malicious-ruby-gems-and-go-modules-steal-secrets-poison-ci
3•ilreb•1h ago•0 comments

A Three Horizons Framework for Government Reform

https://www.eatingpolicy.com/p/a-three-horizons-framework-for-government
2•brandonb•1h ago•0 comments

Health care costs reach a breaking point

https://newsroom.heart.org/news/health-care-costs-reach-a-breaking-point
6•geox•1h ago•0 comments