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

Show HN: Agentic productivity platform for high perfomers

https://www.mainthread.app/
1•bolshchikov•24s ago•0 comments

German data protectionists push for final end to Chat Control

https://www.heise.de/en/news/German-data-protectionists-push-for-final-end-to-chat-control-112830...
1•theanonymousone•2m ago•0 comments

Nvidia embraces AI investor, topping $40B in equity bets 2026

https://www.cnbc.com/2026/05/09/nvidia-embraces-ai-investor-topping-40-billion-in-equity-bets-202...
1•gmays•2m ago•0 comments

Will AI Produce the Next Great Divergence?

https://www.lawfaremedia.org/article/will-ai-produce-the-next-great-divergence
1•speckx•4m ago•0 comments

Mac App Store Review Times Increasing

https://mjtsai.com/blog/2026/03/02/mac-app-store-review-times-increasing/
3•jhack•4m ago•0 comments

FormulaBase: A Markdown editor with LaTeX support

https://formulario-five.vercel.app/
1•developer_ai_•4m ago•0 comments

A modern desktop music player for people tired of streaming apps

https://github.com/heartached/Noctis
2•heartached•5m ago•1 comments

Myst's Game Design Proposal document (1991)

https://archive.org/details/myst_proposal
1•gaws•9m ago•0 comments

Expat 2.8.1 released, CVE-2026-45186 and CVSS unreliability

https://blog.hartwork.org/posts/expat-2-8-1-released/
1•spyc•11m ago•0 comments

Golden Testing a CAD Library

https://doscienceto.it/blog/posts/2026-04-27-golden-testing-cad.html
1•PaulHoule•11m ago•0 comments

I built a simpler, more powerful "Dropbox" for devs and creators

https://dropscodes.vercel.app/
1•ghassan_gaidi•12m ago•0 comments

MobyDB – The Geospatial-Native Database

https://mobydb.com/
1•petethomas•12m ago•0 comments

DepthWork – iOS app that scores focus quality with a neuroscience-based index

https://depthwork.io/
1•CubusWaw•14m ago•0 comments

Sunburn inspired a new way to store energy

https://www.bbc.com/news/articles/c62l9gnx775o
5•devonnull•15m ago•0 comments

Cloudflare "issue" blocking legitimate access from humans for days

https://www.cloudflarestatus.com/incidents/xlh20wf0hd70
3•BrunoBernardino•16m ago•0 comments

Privacy, ownership, and freedom are being taken away from you

https://spicygarbagesoup.bearblog.dev/privacy-ownership-and-freedom-are-being-taken-away/
2•y0eswddl•16m ago•0 comments

History of CRMs APL

https://www.computer.org/csdl/magazine/an/2026/01/11442828/2eXehpB3Ybe
1•tosh•16m ago•0 comments

Using LLM in the shebang line of a script

https://til.simonwillison.net/llms/llm-shebang
2•twapi•18m ago•0 comments

Landslide created a 500-meter-high tsunami in a major tourist area

https://arstechnica.com/science/2026/05/how-a-melting-glacier-led-to-a-500-meter-high-tsunami/
3•thm•18m ago•0 comments

The Last Company

https://catboosted.bearblog.dev/thelastcompany/
2•OxfordOutlander•19m ago•0 comments

The Biggest Conspiracy Theories in Open Source

https://nesbitt.io/2026/03/25/the-top-10-biggest-conspiracies-in-open-source.html
2•LouisLazaris•19m ago•0 comments

London's Smallest Public Sculptures

https://lookup.london/londons-smallest-public-sculptures/
1•susam•21m ago•0 comments

I rebuilt Voicy with agents instead of rewriting it myself

https://blog.borodutch.com/i-rebuilt-voicy-with-agents-instead-of-rewriting-it-myself/
1•martialg•21m ago•0 comments

Hermes Agent surpassed OpenClaw as top app on OpenRouter leaderboard

https://openrouter.ai/rankings
1•joeyhage•25m ago•0 comments

A new JavaScript test runner called Decaf

https://djalbat.com/
2•djalbat•25m ago•0 comments

Palantir to be granted "unlimited access" to UK NHS patient data

https://www.digitalhealth.net/2026/05/palantir-to-be-granted-unlimited-access-to-nhs-patient-data/
9•ck2•26m ago•0 comments

Accelerating Android Builds on AWS: From 3 Hours to Under 5 Mins with SourceFS

https://aws.amazon.com/blogs/industries/accelerating-android-builds-on-aws-from-3-hours-to-under-...
2•davidbrazdil•26m ago•0 comments

AI versus Microservices

https://www.michaelnygard.com/blog/2026/05/ai-versus-microservices/
1•matrix•27m ago•0 comments

Banks try to offload AI data-centre debt as exposure mounts

https://www.resultsense.com/news/2026-05-06-banks-offload-ai-data-centre-debt/
1•CodingJeebus•27m ago•0 comments

Natural-language messages between LLM agents are an architectural anti-pattern

https://novaberg.de/papers/clipboard-pattern.html
1•ClausVomBerg•27m ago•0 comments