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!

Claude Opus 4.7 System Prompt Leaked

https://twitter.com/elder_plinius/status/2044857095439421885
2•giancarlostoro•5m ago•0 comments

The cover of C++ The Programming Language raises questions not answered by cover

https://devblogs.microsoft.com/oldnewthing/20260401-00/?p=112180
1•ibobev•6m ago•0 comments

Isolating AI Coding Agents on Bare Metal

https://blog.singlr.ai/isolating-ai-coding-agents-bare-metal-incus-podman/
1•jacobobryant•6m ago•0 comments

Cave under castle with prehistoric hippo bones 'once in a lifetime' find

https://www.bbc.com/news/articles/c8ejjw7377jo
1•Lyngbakr•6m ago•0 comments

How customer lists and trademarks help companies borrow

https://www.chicagobooth.edu/review/how-customer-lists-trademarks-help-companies-borrow
1•hhs•7m ago•0 comments

Parcae: Doing More with Fewer Parameters Using Stable Looped Models

https://sandyresearch.github.io/parcae/
2•matt_d•7m ago•0 comments

Runway CEO: AI could help Hollywood make 50 films instead of 1 $100M blockbuster

https://techcrunch.com/2026/04/16/runway-ceo-says-ai-could-help-hollywood-make-50-films-instead-o...
1•bookofjoe•8m ago•0 comments

Resuming ZFS Send (2019)

https://oshogbo.com/blog/66/
1•QuantumNomad_•9m ago•0 comments

Why is a delay between a thread exiting and Wait­For­Single­Object returning?

https://devblogs.microsoft.com/oldnewthing/20260415-00/?p=112235
1•ibobev•9m ago•0 comments

You have to rank 5 projects before you can post your own

https://proofofworth.net
1•Meterman•10m ago•0 comments

The juggling act

https://lawliberty.org/the-juggling-act/
1•hhs•11m ago•0 comments

Show HN: A free Instagram email downloader

https://virev.ai/instagram-email-finder
1•krenerd•12m ago•0 comments

Opus 4.7 Became Better at Web Design

https://www.yashthapliyal.com/blog/opus-4-7-web-design
1•yash1hi•15m ago•0 comments

Write broken commits for better review

https://huonw.github.io/blog/2026/04/broken-commits/
1•dbaupp•15m ago•0 comments

Ask HN: How did you get your first users with zero audience?

2•arikusi•17m ago•0 comments

I built send/links to stop losing links across tabs, bookmarks, and chats

https://sendlinks.app
1•prashantchanne•18m ago•0 comments

Characterizing the Impact of Congestion in Modern HPC Interconnects

https://arxiv.org/abs/2604.11432
1•matt_d•19m ago•0 comments

Stop Using JWTs

https://gist.github.com/samsch/0d1f3d3b4745d778f78b230cf6061452
2•birdculture•19m ago•0 comments

Shipfast.py – SaaS Starter Kit for Python Devs (FastAPI and Supabase and Stripe)

https://www.shipfastpy.com/
1•brandocalricia•21m ago•1 comments

The Long Hunt for China's Vanishing Elephant Slides

https://www.sixthtone.com/news/1018428
1•sohkamyung•22m ago•0 comments

Aliens.gov Resolves – To a WordPress "Site Not Found" Error

5•ascarola•23m ago•3 comments

Mechanics' institute

https://en.wikipedia.org/wiki/Mechanics%27_institute
1•hhs•23m ago•0 comments

Accessing Hardware in Rust

https://ferrous-systems.com/blog/hardware-access-rust/
1•PaulHoule•24m ago•0 comments

Rewiring financial services to scale intelligence

https://www.valtech.com/blog/rewiring-financial-services-to-scale-intelligence/
1•mooreds•26m ago•0 comments

Anubis weighs the soul of incoming HTTP requests to stop AI crawlers

https://github.com/TecharoHQ/anubis
2•rzk•26m ago•0 comments

Show HN: Rebuilt SETI Home but for AI

https://github.com/Agent-FM/agentfm-core
3•s4saif•26m ago•3 comments

Tessera: Unlocking Heterogeneous GPUs Through Kernel-Granularity Disaggregation

https://arxiv.org/abs/2604.10180
1•matt_d•30m ago•0 comments

Natural Selection Shaped Humanity

https://www.economist.com/science-and-technology/2026/04/15/how-natural-selection-really-shaped-h...
2•andsoitis•31m ago•0 comments

Big Tech's $300M election war chest rattles Democrats

https://www.ft.com/content/7529e4cd-e336-4b75-917b-84f91bc48437
2•petethomas•33m ago•0 comments

Show HN: NoFS – What if files are just projections, graph is the truth?

https://nofs.ai/
1•mmethodz•39m ago•0 comments