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!

The Original Super Mario 64 Is Now Playable on GBA

https://retrododo.com/the-original-super-mario-64-is-now-playable-on-gba/
1•y1n0•20s ago•0 comments

PatchSiren – stack-aware CVE alerts. What would make this useful?

https://patchsiren.com
1•SaaSRobinHood•22s ago•0 comments

Whistleblower David Grusch on "Non-Human" Biologics and Craft [video]

https://www.youtube.com/watch?v=Q3BpTZXmDns
1•keepamovin•33s ago•0 comments

ProgramBench: Can Language Models Rebuild Programs from Scratch?

https://arxiv.org/abs/2605.03546
1•jonbaer•1m ago•0 comments

Bitburner (Open source JavaScript-based hacking automation game): v3.0 released

https://store.steampowered.com/app/1812820/Bitburner/
1•mister_mort•13m ago•1 comments

Budgetbreeze: AI-Assisted Personal Finance

https://www.budgetbreeze.io/
1•boxstream•13m ago•1 comments

Best Employee Activity Tracking Software for US Businesses in 2026

https://yakihonne.com/article/naddr1qvzqqqr4gupzqvcy9tkh3xq8x5m7mdsqxx7mcylxxrj8hdj6psdy89g8jaa2e...
1•jameswar0202•13m ago•0 comments

Incus 7.0 LTS Released

https://lwn.net/Articles/1071469/
1•kazu11max17•17m ago•0 comments

Analysis Paralysis: Folders

https://nonogra.ph/analysis-paralysis-folders-05-06-2026
3•dekdrop•22m ago•0 comments

We programmed a program to program new programs (2011)

https://www.smbc-comics.com/comic/2011-09-08
3•Georgelemental•26m ago•0 comments

Diskless Linux boot using ZFS, iSCSI and PXE

https://aniket.foo/posts/20260505-netboot/
1•stereo-highway•34m ago•0 comments

TogetherLoop – Social media minus the nonsense

https://togetherloop.com/
2•DoctorOW•35m ago•1 comments

How Elon Musk Left OpenAI, According to Greg Brockman

https://techcrunch.com/2026/05/06/how-elon-musk-left-openai-according-to-greg-brockman/
4•evo_9•43m ago•1 comments

Umka: A statically typed embeddable scripting language

https://github.com/vtereshkov/umka-lang
2•modinfo•45m ago•0 comments

Riju: Fast online playground for every programming language

https://riju.codes/
2•gurjeet•49m ago•0 comments

How AI Works Under the Hood – LLMs Explained with Code

https://nitayneeman.com/blog/how-ai-works-under-the-hood-llms-explained-with-code/
4•thunderbong•50m ago•0 comments

Arithmeum Museum

https://www.arithmeum.uni-bonn.de/en/arithmeum.html
2•soupspaces•51m ago•0 comments

Show HN: I Replaced React in GraphiQL with Svelte

https://code.webb.page/eol/graphiql.git/about/
4•NetOpWibby•55m ago•0 comments

0xBitNet

https://github.com/m96-chan/0xBitNet
2•oldfuture•56m ago•0 comments

Muscles by Electricity: The Latest Fitness Craze?

https://www.wsj.com/lifestyle/fitness/electrical-muscle-stimulation-ems-workout-03dce7e3
3•lxm•57m ago•0 comments

Character.ai Faces Unlawful Practice of Medicine Claim in Pennsylvania Suit

https://www.law.com/therecorder/2026/05/06/characterai-maker-faces-unlawful-practice-of-medicine-...
3•1vuio0pswjnm7•1h ago•2 comments

Compaction in `Sid`: A Novel Algorithm?

https://rescrv.net/w/2026/05/06/compaction-in-sid
2•rescrv•1h ago•1 comments

Spec CPU 2026

https://www.spec.org/cpu2026/
2•sanxiyn•1h ago•0 comments

School Cellphone Ban Study Finds Mixed Results

https://www.nytimes.com/2026/05/04/us/did-school-cellphone-bans-study.html
4•lxm•1h ago•0 comments

We had people come just to see it: Amazon delivers its first UK parcels by drone

https://www.bbc.co.uk/news/articles/cx21k21vnmgo
2•nmstoker•1h ago•0 comments

Three-Em Dash

https://www.compart.com/en/unicode/U+2E3B
4•gregsadetsky•1h ago•0 comments

Nvidia Enterprise Reference Architectures for AI Data Centers

https://www.nvidia.com/en-us/technologies/enterprise-reference-architecture/
2•nalinidash•1h ago•1 comments

SpaceX is starting to move on from the most successful rocket

https://arstechnica.com/space/2026/05/spacex-is-starting-to-move-on-from-the-worlds-most-successf...
2•LorenDB•1h ago•0 comments

Permacomputing Principles

https://permacomputing.net/principles/
18•andsoitis•1h ago•0 comments

Hantavirus explained: Symptoms, transmission and treatment

https://epi.ufl.edu/2026/05/06/hantavirus-explained-symptoms-transmission-and-treatment/
4•rolph•1h ago•0 comments