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!

Modular DC construction at $4.5-6.5M/MW vs. $11.3M/MW traditional

1•jaynamburi•20s ago•0 comments

Commission awards €180M tender for sovereign cloud to 4 European providers

https://ec.europa.eu/commission/presscorner/home/en
1•ptdorf•39s ago•0 comments

H.R. 8250 – Parents Decide Act (mandate OS age validation)

https://www.congress.gov/bill/119th-congress/house-bill/8250/text
1•rdl•46s ago•0 comments

Testosterone shifts political preferences in weakly affiliated Democratic men

https://www.psypost.org/scientists-discover-weak-dems-have-highest-testosterone-but-theres-an-int...
1•bilsbie•1m ago•0 comments

Three years in amber: resurrecting WASM-AI from long ago

https://wasmai.vercel.app/resurrection
1•hrishi•1m ago•0 comments

ShieldPi – MCP server for monitoring deployed AI agents

https://pypi.org/project/shieldpi-mcp/
1•Ch_Avinash•1m ago•0 comments

Show HN: Reloadium Search Describe what you want get optimal Google queries

1•julienreszka•2m ago•0 comments

Show HN: WordFor – a free, open, private reverse dictionary running on browser

https://wordfor.xyz/
1•zshn25•2m ago•0 comments

Show HN: Open Access Qwen3.6-35B-A3B-UD-Q5_K_M with TurboQuant

1•freakynit•3m ago•0 comments

Spousal Preferences Impact Career Outcomes of Men and Women

https://www.nominalnews.com/p/spousal-preferences-career-gender-pay-gap
1•NomNew•4m ago•0 comments

Show HN: GetHireToday – AI resume builder that targets ATS keyword matching

https://gethiretoday.com
1•Haroonbasil•7m ago•1 comments

Data centre electricity use soared by 17% in 2025 - IEA

https://www.iea.org/news/data-centre-electricity-use-surged-in-2025-even-with-tightening-bottlene...
1•giuliomagnifico•7m ago•0 comments

GenAI Fails – A list of epic LLM fails

https://github.com/hb20007/awesome-gen-ai-fails
1•hb20007•8m ago•1 comments

EP Hearing: Should Video Game Publishers Be Allowed to Disable Games You Bought

1•haunter•8m ago•0 comments

Isaac Asimov: The Last Question

https://hex.ooo/library/last_question.html
1•ColinWright•9m ago•0 comments

Why having "humans in the loop" in an AI war is an illusion

https://www.technologyreview.com/2026/04/16/1136029/humans-in-the-loop-ai-war-illusion/
1•joozio•10m ago•0 comments

We beat Google's zero-knowledge proof of quantum cryptanalysis

https://blog.trailofbits.com/2026/04/17/we-beat-googles-zero-knowledge-proof-of-quantum-cryptanal...
2•ingve•11m ago•0 comments

Show HN: My fun laugh inducing/team building app, for dev or sales teams for ex

https://gifoftheweek.com
1•etiennead•13m ago•0 comments

One source of truth for buy-it-for-life products: would love your feedback

https://www.izyt.io/
1•lucci11•15m ago•1 comments

Who Wrote These Laws

https://agelesslinux.org/lobbyists.html
1•pbiggar•15m ago•0 comments

SteamOS ARM64 Reaches Nintendo Switch in First Experiment

https://onejailbreak.com/blog/steamos-runs-on-nintendo-switch/
4•SockThief•17m ago•0 comments

Mozilla launches Thunderbolt AI client with focus on self-hosted infrastructure

https://arstechnica.com/ai/2026/04/mozilla-launches-thunderbolt-ai-client-with-focus-on-self-host...
1•tomrod•18m ago•0 comments

Rust Koans

https://rust-koans.stonecharioteer.com
3•stonecharioteer•21m ago•0 comments

As helium-3 runs scarce, researchers seek new ways to chill quantum computers

https://www.science.org/content/article/helium-3-runs-scarce-researchers-seek-new-ways-chill-quan...
1•bookofjoe•21m ago•0 comments

FortyOne OS – an SMS-first open-source multi user AI assistant OS

1•glitchnsec•21m ago•0 comments

Why Another US Attempt on Greenland Looks Worryingly Inevitable [video]

https://www.youtube.com/watch?v=g1Bup39kwyM
1•Imustaskforhelp•22m ago•0 comments

I Streamed My Hard Drive to the World [video]

https://www.youtube.com/watch?v=Qmds7-mwCMg
1•edward28•23m ago•0 comments

Billionaire John Arnold Warns of Debt, Addiction in Online Sports-Betting Boom

https://www.bloomberg.com/news/articles/2026-04-17/billionaire-john-arnold-warns-of-debt-addictio...
1•helsinkiandrew•24m ago•1 comments

OPC Workflow – Three Markdown files that enforce discipline on AI coding tools

1•yoyayoyayoya•24m ago•0 comments

The macOS 26 Clock app still has an obvious bug

https://eclecticlight.co/2026/04/17/five-months-later-and-the-clock-app-still-has-an-obvious-bug/
2•chmaynard•25m ago•0 comments