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!

WordPress plugin hijacked in 2020 hid a dormant backdoor for years

https://anchor.host/wordpress-plugin-hijacked-in-2020-hid-a-dormant-backdoor-for-years/
1•austinginder•3m ago•0 comments

Iran defies Trump's blockade as oil prices soar

https://www.france24.com/en/live-news/20260430-iran-defies-trump-s-blockade-as-oil-prices-soar
1•geox•4m ago•0 comments

SCOTUS: Voters Can Be Disenfranchised Now

https://www.theatlantic.com/ideas/2026/04/vra-supreme-court-callais-decision/686997/
1•Arodex•4m ago•0 comments

GitHub Copilot silently inserts itself as a co-author

https://github.com/orgs/community/discussions/194075
1•tjek•4m ago•0 comments

Some schools consider eliminating homework

https://www.npr.org/2026/04/28/nx-s1-5795647/should-schools-get-rid-of-homework
1•isaacfrond•6m ago•0 comments

Show HN: Multiplayer Voronoi

https://voronoi.charlespierre.fr/
1•cpa•6m ago•0 comments

Show HN: Brifly – stop re-explaining your codebase to Claude Code every week

https://www.getbrifly.com/
1•dbarabashdev•7m ago•0 comments

C++26: String and String_view Improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
1•jandeboevrie•7m ago•0 comments

Fake PoC, Real Backdoor: How a Typosquatted Repo Weaponized CVE-2026-31431

https://ip-ninja.com/blog/typosquatted-cve-2026-31431-fake-exploit
1•d4n3ws•7m ago•0 comments

Show HN: Token Thermodynamics

https://mybinder.org/v2/gist/gpavanb1/30a27c0592dbb23311f165dae4549309/HEAD?urlpath=voila%2Frende...
1•gpavanb•11m ago•0 comments

Chrome looks set to ship an LLM Prompt API to the web. We oppose this API

https://mastodon.social/@firefoxwebdevs/116492853483021978
1•Vinnl•11m ago•0 comments

AI doesn't kill SaaS. It kills bad priorities

https://erdincakkaya.substack.com/p/ai-doesnt-kill-saas-it-kills-bad
1•erdinc•14m ago•0 comments

Inventions for battery reuse and recycling increase more than 7-fold in last 10y

https://www.epo.org/en/news-events/news/inventions-battery-reuse-and-recycling-increase-more-seve...
2•JeanKage•15m ago•0 comments

Amber-Lang 0.6.0 – New release (Bash transpiler)

https://docs.amber-lang.com/getting_started/whats_new
1•mte90•17m ago•0 comments

The Perfect Code Review: How to Reduce Cognitive Load While Improving Quality

https://bastrich.tech/perfect-code-review/
1•birdculture•19m ago•0 comments

Telnyx now offers WhatsApp Business Calling

https://telnyx.com/products/whatsapp-calling
1•deniztelnyx•21m ago•0 comments

Link Wallet for Agents

https://link.com/en-no/agents
1•punnerud•22m ago•0 comments

Made free polished workspaces for Chrome that sync via Google (zero telemetry)

https://www.superchargebrowser.com/navigation/
1•superchargeext•24m ago•0 comments

TierPad

https://tierpad.com
1•tinytoyou•24m ago•0 comments

Show HN: Arkloop – Open-source, local-first Agent client

https://github.com/qqqqqf-q/arkloop
1•qqqqqf•26m ago•0 comments

NPM supply-chain attack is targeting the SAP developer ecosystem

https://www.aikido.dev/blog/mini-shai-hulud-has-appeared
1•raffael_de•26m ago•1 comments

Elon Musk said OpenAI betrayed him after Microsoft deal

https://www.sfchronicle.com/tech/article/elon-musk-openai-trial-22231495.php
2•isaacfrond•30m ago•1 comments

Chasing a SharedKey signature mismatch: fix azurerm_storage_table_entity

https://topaz.thecloudtheory.com/blog/debugging-table-entity-auth/
1•kamilmrzyglod•31m ago•0 comments

Microsoft Edit 2.0.0 – A compiler for syntax highlighting

https://github.com/microsoft/edit/releases/tag/v2.0.0
1•tjek•32m ago•0 comments

How to Make a Progressive Web App Out of Your Existing Website (2019)

https://xeiaso.net/blog/progressive-webapp-conversion-2019-01-26/
1•xeonmc•34m ago•0 comments

Private LLM vs. ChatGPT

https://morai.eu/private-llm-vs-chatgpt-in-business-when-it-makes-sense-and-when-it-doesnt/
1•readow•38m ago•0 comments

Found 10 Genius Clocks Every Science Lover Needs [video]

https://www.youtube.com/watch?v=-ved6HMJpcw
1•mdp2021•41m ago•0 comments

How AI Is Transforming Education

https://longtermemory.com/b/ai-transforming-education/
2•aledevv•43m ago•0 comments

Specialization in Stable Rust

https://goldstein.lol/posts/stable-specialization/
2•fanf2•45m ago•0 comments

Multi Censured Nobel Prizes – Universal Physics

https://gitlab.com/users/btpfromsosua/starred
1•machardmachard•46m ago•0 comments