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!

How Two Duke Alumni Helped Conservatives Take over the NEH

https://www.theassemblync.com/news/education/higher-education/how-two-duke-alumni-helped-conserva...
1•petethomas•1m ago•0 comments

Dayton suspends Flock contract, says data used for immigration enforcement

https://hub.coxfirstmedia.com/local/dayton-suspends-flock-license-plate-readers-says-data-used-fo...
2•JohnMakin•4m ago•0 comments

Natural Language Autoencoders: Turning Claude's Thoughts into Text

https://www.anthropic.com/research/natural-language-autoencoders
2•instagraham•5m ago•0 comments

How Can We Improve?

https://gustav.im/thoughts/how-can-we-improve
1•abraxas_•5m ago•0 comments

Uber's $77M plan to rewrite the California constitution

https://sfstandard.com/2026/05/07/uber-accident-ballot-measure-california/
2•nickvec•5m ago•0 comments

Security analysis of Velociraptor DFIR platform (6 findings, vendor responses)

https://medium.com/@sreejith.gopinath/velociraptor-security-analysis-six-findings-and-a-conversat...
2•sreejithg•7m ago•0 comments

Binary Serialization Survey

https://github.com/cloudstreet-dev/Binary-Serialization-Survey
1•DavidCanHelp•7m ago•0 comments

Gmail trick: multiplying your address

https://tools.myurll.in/gmail-multiplier
2•nookeshkarri7•7m ago•0 comments

'Affordable' Pittsburgh doesn't have enough affordable housing – here's why

https://theconversation.com/affordable-pittsburgh-doesnt-have-enough-affordable-housing-heres-why...
1•PaulHoule•8m ago•0 comments

Show HN: Agent-data – a CLI for giving agents real-time, structured data

https://agent-data.dev/
2•jb_hn•8m ago•0 comments

IMF warns new AI models risk 'systemic' shock to finance

https://www.ft.com/content/103d73d3-7119-4dee-8c47-b3fc62d2f1e6
2•doener•9m ago•0 comments

Cancer Rates Are Higher Near Large Livestock Feeding Operations in 3 States

https://insideclimatenews.org/news/12042026/cancer-rates-higher-near-livestock-operations-study-f...
1•speckx•11m ago•0 comments

Mapping Strings to Float Arrays in Go: How Fast Can We Go?

https://lemire.me/blog/2026/05/05/mapping-strings-to-float-arrays-in-go-how-fast-can-we-go/
1•ibobev•11m ago•0 comments

GoNB – A Go Notebook Kernel for Jupyter

https://github.com/janpfeifer/gonb
1•amai•11m ago•0 comments

Checking Multiplication Overflow

https://lemire.me/blog/2026/05/06/checking-multiplication-overflow/
2•ibobev•11m ago•0 comments

Text Files as a User Interface

https://ratfactor.com/cards/text-files-as-ui
1•ibobev•12m ago•0 comments

AI, Tractors, and the Productivity Paradox

https://read.technically.dev/p/the-ai-productivity-paradox
2•gurjeet•12m ago•0 comments

PushWard – Hosted APNs gateway for iOS Live Activities, with open-source bridges

https://pushward.app
1•devseccarry•14m ago•0 comments

The Next Generation of Eventide – shaped by a decade of event sourcing

https://blog.eventide-project.org/articles/the-next-generation-of-eventide/
1•sbellware•15m ago•1 comments

Mojo Release v1.0.0b1

https://mojolang.org/releases/v1.0.0b1/
3•visheshdembla•15m ago•0 comments

Brazil's Pix Payment System Faces Pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
3•wslh•16m ago•0 comments

After AI, Coordination

https://faingezicht.com/articles/2026/05/04/after-ai-coordination/
2•mooreds•17m ago•0 comments

Designers Are Having Fun. Again

https://metedata.substack.com/p/010-designers-are-having-fun-again
2•young_mete•17m ago•0 comments

Infisical Honey Tokens

https://infisical.com/blog/infisical-honey-tokens
2•vmatsiiako•18m ago•0 comments

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
3•blumpy22•19m ago•0 comments

Wind and solar have saved UK from gas imports worth £1.7B since Iran war began

https://www.carbonbrief.org/analysis-wind-and-solar-have-saved-uk-from-gas-imports-worth-1-7bn-si...
3•DamonHD•19m ago•0 comments

Anthropic working on Orbit, its upcoming proactive assistant

https://www.testingcatalog.com/anthropic-is-working-on-orbit-its-upcoming-proactive-assistant/
2•gmays•20m ago•0 comments

Show HN: Bookstoread.ai – Discover non-fiction books using AI

https://bookstoread.ai
2•yotc•20m ago•0 comments

Subquadratic LLM 12 million tokens ctx [video]

https://www.youtube.com/watch?v=kEiuMnosuxU
2•mrkn1•20m ago•0 comments

Publish to Microsoft Store as a company now free

https://blogs.windows.com/windowsdeveloper/2026/05/07/publish-to-microsoft-store-as-a-company-now...
1•pentagrama•20m ago•0 comments