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!

AI-Declaration.md

https://ai-declaration.md/
1•sysoleg•3m ago•0 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
2•zdw•4m ago•0 comments

Ask HN: How do you stop playing 20 questions with your AI coding tools

2•IxInfra•7m ago•0 comments

Killing of Hind Rajab (2024)

https://en.wikipedia.org/wiki/Killing_of_Hind_Rajab
1•lr0•9m ago•0 comments

Pretty Fish: A better mermaid diagram playground

https://pretty.fish/
1•webartisan•9m ago•0 comments

UK forced to halt Chagos Islands deal after Trump criticism

https://www.cnn.com/2026/04/11/uk/uk-pause-chagos-islands-deal-intl
1•1659447091•11m ago•1 comments

Show HN: A General Purpose KMC Crystal Growth Simulator in Rust-WASM

https://amdson.github.io/blog/crystals/
2•Paedor•11m ago•0 comments

We ran Doom on a 40 year old printer controller (Agfa Compugraphic 9000PS) [video]

https://www.youtube.com/watch?v=cltnlks2-uU
3•zdw•12m ago•0 comments

WordPress 7.0: The Good, the AI, and the Still Missing

https://adamgreenough.net/blog/wordpress-7-the-good-the-ai-the-missing/
1•xadz•13m ago•0 comments

Eviscerated by Rust: Overcoming C++'s 58x Standard Library Handicap

https://lucisqr.substack.com/p/eviscerated-by-rust-overcoming-cs
1•adamnemecek•15m ago•0 comments

How far can automation and AI support psychotherapy?

https://attheu.utah.edu/health-medicine/how-far-can-automation-and-ai-support-psychotherapy/
1•01-_-•16m ago•0 comments

50% of Proceeds Go to Charity:)

https://getlearnix.com/
1•noahjohnson1•17m ago•0 comments

Doppler Radar Explained [video]

https://www.youtube.com/watch?v=zKJAZav9j4U
3•teleforce•19m ago•0 comments

Turin describe an Apple Shortcut in plain English, get a .shortcut in seconds

https://www.getturin.com
1•AkshayS96•21m ago•0 comments

The Orange Pi 6 Plus

https://taoofmac.com/space/reviews/2026/04/11/1900
3•rcarmo•24m ago•0 comments

A hacker has allegedly breached one of China's supercomputers

https://www.cnn.com/2026/04/08/china/china-supercomputer-hackers-hnk-intl
1•i4i•26m ago•0 comments

Ask HN: Is the telehealth consulting for psychiatry even works?

1•Mohd_Umar•27m ago•1 comments

Einstein Notation

https://en.wikipedia.org/wiki/Einstein_notation
2•tosh•27m ago•0 comments

The Hardest Problem AI Ever Solved, with Google DeepMind CEO

https://www.youtube.com/watch?v=C0gErQtnNFE
1•Brysonbw•28m ago•1 comments

There were penguins in America and Europe 200 years ago

https://en.wikipedia.org/wiki/Great_auk
2•gorgonian•29m ago•0 comments

AI on the couch: Anthropic gives Claude 20 hours of psychiatry

https://arstechnica.com/ai/2026/04/why-anthropic-sent-its-claude-ai-to-an-actual-psychiatrist/
2•hochmartinez•30m ago•0 comments

Show HN: Self-hostable STT service with a Deepgram-compatible listen API

https://vedgupta.in/projects/whisper-api/
2•innovatorved•31m ago•0 comments

Why people keep trying to erase the Hollywood sign from Google Maps (2014)

https://gizmodo.com/why-people-keep-trying-to-erase-the-hollywood-sign-from-1658084644
2•downbad_•34m ago•1 comments

I made a music video and I'm not sorry

https://www.youtube.com/watch?v=alK8hgHgxd4
1•stonecharioteer•37m ago•1 comments

How Radar Works [video]

https://www.youtube.com/watch?v=c8OWHnHjIpA
1•teleforce•37m ago•0 comments

The APL Programming Language Source Code (2012)

https://computerhistory.org/blog/the-apl-programming-language-source-code/
1•tosh•38m ago•0 comments

Recursive-mode for coding agents

https://try.works/recursive-mode-for-coding-agents
1•try-working•38m ago•0 comments

Show HN: Docker-whisper: Self-hosted Whisper speech-to-text server (OpenAI API)

https://github.com/hwdsl2/docker-whisper
2•hwdsl2•40m ago•1 comments

Banks Are Warned About Anthropic's New, Powerful A.I. Technology

https://www.nytimes.com/2026/04/10/business/anthropic-claude-mythos-preview-banks.html
1•mikhael•41m ago•0 comments

I Waterboard (2007)

https://boards.straightdope.com/t/i-waterboard/430894
1•chistev•42m ago•1 comments