frontpage.
newsnewestaskshowjobs

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!

How to write loops in Claude Code

https://techstackups.com/guides/how-to-write-loops-claude-code/
1•ritzaco•1m ago•0 comments

Host-HTML: an agent-native way of sharing HTML files

https://host-html.com/
1•phanosha•2m ago•1 comments

The CEO of Allbirds' new AI biz has a plan, but no employees

https://techcrunch.com/2026/06/19/the-ceo-of-allbirds-new-ai-biz-has-a-plan-but-no-employees/
1•gpi•3m ago•0 comments

European Delusions and Danish Drones

https://world.hey.com/dhh/european-delusions-danish-drones-a3da0d27
1•gpi•4m ago•0 comments

My agent stack for automating my personal life

https://nicolasbustamante.com/blog/how-agents-run-my-personal-life
1•azhenley•4m ago•0 comments

A Stressful Game

https://gridlockedgame.netlify.app/
1•charliemoffat•5m ago•1 comments

I feel like giving up on coding

https://reedybear.bearblog.dev/i-feel-like-giving-up-on-coding/
1•speckx•5m ago•0 comments

Zeroshot, an open-source CLI for coding-agent verification loops

https://github.com/the-open-engine/zeroshot
2•tomdps•6m ago•0 comments

NY mayor, other leaders push to ban horse-drawn carriage rides after teen death

https://www.cnn.com/2026/06/19/us/central-park-horse-carriage-ride-death-debate-hnk
1•dbvn•6m ago•1 comments

Why Do So Many Everyday Systems Feel Harder to Use Now?

https://therealitydrift.substack.com/p/reality-drift-in-everyday-life
2•realitydrift•10m ago•1 comments

Show HN: Claude Code for talking to potential customers

https://trydatapoint.com
1•yoloakki•10m ago•0 comments

The AI slop refactor wave is coming

https://old.reddit.com/r/SaaS/comments/1u6f84g/the_ai_slop_refactor_wave_is_coming_and_i_havent/
2•root-parent•11m ago•1 comments

Bcachefs exits experimental status in new 'performance release'

https://www.theregister.com/software/2026/06/19/bcachefs-exits-experimental-status-in-new-perform...
1•ofrzeta•13m ago•0 comments

DirectX Dump Files Preview Now Available

https://devblogs.microsoft.com/directx/dx-dump-files-preview/
1•ibobev•13m ago•0 comments

Blaise v0.11.0 Is Here

https://github.com/graemeg/blaise/discussions/126
1•mariuz•15m ago•0 comments

Measuring AI productivity yourself with gh, jq, and Git

https://getunblocked.com/blog/measuring-ai-productivity/
1•dennispi•17m ago•0 comments

The Accidental Framework

https://blog.tacoda.dev/the-accidental-framework-934babb6bfde
1•tacoda•17m ago•0 comments

JEP: Embed Python in Java, the Polished Way

https://github.com/ninia/JEP
1•theanonymousone•19m ago•0 comments

The Bottleneck in AI Was Never Intelligence

https://www.gailweiner.com/post/the-bottleneck-in-ai-was-never-intelligence
1•speckx•19m ago•0 comments

FlashAttention-4: Algorithm and Kernel Pipelining Co-Design

https://research.colfax-intl.com/flashattention-4-algorithm-and-kernel-pipelining-co-design-for-a...
1•skidrow•20m ago•0 comments

APTA Feature on Cellular in Transit Systems

https://aptapassengertransport.com/when-cellular-becomes-transit-infrastructure/
1•takko_the_boss•20m ago•0 comments

Why doesn't Get­Last­Input­Info() return info for the user I'm impersonating?

https://devblogs.microsoft.com/oldnewthing/20260618-00/?p=112444
1•ibobev•21m ago•0 comments

Ghost Boxes: Reusing Abandoned Big-Box Superstores (2016)

https://99percentinvisible.org/article/ghost-boxes-reusing-abandoned-big-box-superstores-across-a...
1•dredmorbius•21m ago•1 comments

Factorio: More Planet Deliveries

https://factorio.com/blog/post/fff-443
1•ibobev•21m ago•0 comments

Cutlass Tutorial: Efficient GEMM Kernel Designs with Pipelining

https://research.colfax-intl.com/cutlass-tutorial-design-of-a-gemm-kernel/
2•skidrow•22m ago•0 comments

Extend Claude limits by offloading AI tasks to Neo

https://heyneo.com/claude-code
1•gauravvij137•22m ago•1 comments

P-Tau217 as a Reliable Blood-Based Marker of Alzheimer's Disease

https://pmc.ncbi.nlm.nih.gov/articles/PMC11351463/
1•brandonb•23m ago•0 comments

I restarted a 10 year old Xeon 174 times to delete 12 flags and gain 4 tps

https://point.free/blog/delete-12-flags/
3•zdw•24m ago•0 comments

Italy's Meloni says Trump 'made up' story that she 'begged' him for photo at G7

https://www.bbc.com/news/articles/c20y1ygn707o
14•root-parent•24m ago•2 comments

An agile retrospective skill for your Claude collaboration sessions

https://github.com/cometogather/retro-bot
1•mooreds•26m ago•0 comments