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!

Man tar why we use -f

1•modinfo•1m ago•0 comments

Getting Gooier

https://contraptions.venkateshrao.com/p/getting-gooier
1•jger15•1m ago•0 comments

The Lore of Sam Altman Is Being Tested Like Never Before

https://www.wsj.com/tech/ai/the-lore-of-sam-altman-is-being-tested-like-never-before-968227ea
1•JumpCrisscross•3m ago•0 comments

Wikipedia in the Terminal

https://github.com/ImpulseDoes/wiki
2•thximpulse•7m ago•1 comments

The Bureaucratic Escalator and how it operates

https://profserious.substack.com/p/the-bureaucratic-escalator
2•idw•12m ago•1 comments

Does APL Need a Type System? (2018) [video]

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

Text Files as a User Interface

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

Matt Mullenweg thinks WordPress is in decline. He may be right

https://werd.io/matt-mullenweg-thinks-wordpress-is-in-decline-he-may-be-right/
1•vinhnx•18m ago•0 comments

Valuation Spaces and Relativisation: The Lambda Calculus Example

https://practal.com/blog/valuation-spaces-and-relativisation/
1•auggierose•18m ago•0 comments

ChatGPT Wrestles with Its Most Chilling Conversation: How Do I Plan an Attack?

https://www.wsj.com/us-news/chatgpt-mass-shooting-openai-78a436d1
2•vednig•19m ago•0 comments

Show HN: Speq – A collaborative web-based repository for your product's spec

https://getspeq.com
1•iowes•29m ago•0 comments

Made in China means made in Yiwu

https://mondediplo.com/2026/05/08yiwu
1•JumpCrisscross•30m ago•0 comments

Do LLMs Reason, or Do They Just Predict Math Text?

https://daridor.blog/2026/05/01/do-llms-reason-or-do-they-just-predict-math-text/
3•beagle3•35m ago•1 comments

Investors pile into clean energy as Iran war drives push for energy security

https://www.ft.com/content/9921f2b5-c910-4cec-a50f-cad453935a1a
2•JumpCrisscross•40m ago•0 comments

MCPages

https://github.com/NoahCzelusta/mcpages
1•swimninja247•45m ago•4 comments

Thoth – open-source Local-first AI Assistant

https://github.com/siddsachar/Thoth
2•sydsachar•48m ago•0 comments

Comparison: Different AI systems structure decisions under real-world scenarios

https://zenodo.org/records/19443285
1•zobian_ai•52m ago•0 comments

MPA Renews Push for U.S. Site-Blocking Legislation, Citing Live Sports Piracy

https://torrentfreak.com/mpa-renews-push-for-u-s-site-blocking-legislation-citing-live-sports-pir...
1•gslin•52m ago•0 comments

Show HN: Apple's Sharp Running in the Browser via ONNX Runtime Web

https://github.com/bring-shrubbery/ml-sharp-web
2•bring-shrubbery•52m ago•0 comments

Awesome Vintage LLMs

https://github.com/entanglr/awesome-vintage-llms
1•whythismatters•52m ago•0 comments

Technology helps observers understand how iconic artworks were created

https://www.psu.edu/news/information-sciences-and-technology/story/technology-helps-observers-und...
1•saikatsg•54m ago•0 comments

Packages release more often than ever. Or do they?

https://www.viblo.se/posts/oss-releases-ai/
1•viblo•59m ago•1 comments

Enable password input feedback for sudo

https://wiki.archlinux.org/title/Sudo#Enable_password_input_feedback
1•seansh•1h ago•0 comments

Leeds Town Hall Organ Renewal

https://www.leedstownhall.co.uk/support-us/organ-renewal-project/
1•Lio•1h ago•0 comments

Startup request: MCP household appliances

1•dontoni•1h ago•0 comments

Dear Richard Dawkins

https://dearricharddawkins.com/
1•thinkingemote•1h ago•0 comments

Researchers print structural colour with an inkjet printer

https://physicsworld.com/a/researchers-print-structural-colour-with-an-inkjet-printer/
3•zeristor•1h ago•0 comments

Clawback – rehearse OpenClaw upgrades before touching your live install

https://github.com/haishmg/Clawback
1•princeharry86•1h ago•0 comments

Wire-level context pruner for Claude Code

https://github.com/pathakmukul/claude-code-context-pruner
1•mukulpathak•1h ago•0 comments

NIST's CAISI Evaluation of DeepSeek V4 Pro finds it to be on par with GPT-5

https://www.nist.gov/news-events/news/2026/05/caisi-evaluation-deepseek-v4-pro
1•maxloh•1h ago•0 comments