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•1y 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!

Study: Single dose of psilocybin provided rapid relief from depression

https://news.ki.se/single-dose-of-psilocybin-provided-rapid-relief-from-depression-in-new-study
1•giuliomagnifico•3m ago•0 comments

Agent Behavioral Contracts

https://arxiv.org/abs/2602.22302
1•reiter•4m ago•0 comments

The world is on track to miss its health targets

https://www.technologyreview.com/2026/05/15/1137270/the-world-is-on-track-to-miss-its-health-targ...
1•joozio•4m ago•0 comments

Britain's latest civil servant is a chatbot trained on Gov.uk misery

https://www.theregister.com/public-sector/2026/05/15/britains-latest-civil-servant-is-a-chatbot-t...
1•YeGoblynQueenne•6m ago•0 comments

It's set up, not setup: Scraping GitHub for grammar errors

https://ss32.github.io/set_up_not_setup/
1•disastronaut•7m ago•0 comments

Linkup – Swipe to find cofounders, developers, designers and startup teammates

https://linkup-nine-ruddy.vercel.app/
1•tanakabuilds•12m ago•0 comments

The Iliad Intensive Course Materials

https://www.lesswrong.com/posts/dWQnLi7AoKo3paBXF/the-iliad-intensive-course-materials
1•pykello•12m ago•0 comments

Malicious node-IPC versions published to NPM

https://www.stepsecurity.io/blog/node-ipc-npm-supply-chain-attack
1•rvz•23m ago•0 comments

Distributing the Keys for Private Access to the Web

https://cdt.org/insights/distributing-the-keys-for-private-access-to-the-web/
1•grittygrease•27m ago•0 comments

How an Australian Teen Team Is Making Radio Astronomy Affordable for Schools

https://mag.openrockets.com/p/how-an-australian-teen-team-is-making-radio-astronomy-affordable-fo...
1•openrockets•28m ago•0 comments

How to background play without YouTube Premium on iPhone

1•no_creativity_•31m ago•0 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
1•shikaan•34m ago•0 comments

Automated AI-Based Pigeon Defense System

https://old.reddit.com/r/SideProject/comments/1s9ywir/automated_pigeon_defense_system/
1•muxamilian•37m ago•1 comments

Nginx Rift

https://depthfirst.com/nginx-rift
1•saikatsg•38m ago•0 comments

Year Anniversary of Warcraft II: Beyond the Dark Portal

https://www.jorsys.org/archive/may_2026.html#newsitem_2026-05-16T10:19:51Z
1•sjoblomj•41m ago•0 comments

Why is it called Kent House?

https://diamondgeezer.blogspot.com/2026/05/kent-house.html
2•susam•47m ago•0 comments

Morley Theorem

https://math.stackexchange.com/questions/5089222/can-this-angle-triplication-construction-be-cons...
1•tzury•50m ago•0 comments

PSVL 1.0 – The most comprehensive source-visible license (276 clauses)

https://github.com/BMBOMICH/PSVL
2•BMBOMICH•53m ago•0 comments

Prime visualisations – or what is the 67 meme

https://github.com/rayking99/primestuff
3•jasepickup•53m ago•1 comments

Setting up an AI-native organization

https://aweb.ai/blog/ai-first-company-howto
3•juanre•54m ago•9 comments

Anker PowerConf C200: a case study in webcam security theatre

https://bearbin.net/blog/2026/c200-webcam-security-theatre
2•bearbin•59m ago•0 comments

A Single Neuron Is Sufficient to Bypass Safety Alignment in LLMs

https://arxiv.org/abs/2605.08513
3•stared•1h ago•0 comments

Java Virtual Machine for Dotnet

https://ikvm.org/
3•wolfi1•1h ago•0 comments

Show HN: Offline voice to text and AI keyboard

https://apps.apple.com/us/app/dictawiz-voice-notes-recorder/id6759256382
3•kcordoc•1h ago•0 comments

Show HN: Triangle Layout Normal Evaluator

https://las3rlars.github.io/normalEvaluator/index.html
2•las3rlars•1h ago•0 comments

Futhark by Example

https://futhark-lang.org/examples.html
20•tosh•1h ago•2 comments

Performance in BQN versus C

https://mlochbaum.github.io/BQN/implementation/versusc.html
2•tosh•1h ago•0 comments

Reading code instead of writing code: The underestimated senior discipline

https://www.heise.de/en/blog/Reading-code-instead-of-writing-code-The-underestimated-senior-disci...
5•goloroden•1h ago•1 comments

What rebuilding AlphaGo teaches us about self-play, RL, and future of LLMs [video]

https://www.youtube.com/watch?v=X_ZVSPcZhtw
3•vismit2000•1h ago•0 comments

We should federally tax Tokens at the Provider level

https://twitter.com/mcuban/status/2055399906127344068
3•armcat•1h ago•1 comments