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!

Show HN: Opencom – an open-source Intercom alternative given the Salesforce deal

https://opencom.dev
1•jackjayd•1m ago•0 comments

Show HN: Cultivation World Simulator

https://github.com/4thfever/cultivation-world-simulator
1•bridge2333•2m ago•0 comments

Ask HN: Why is there no US open weights models?

2•shadag•3m ago•1 comments

KDE Plasma 6.7 Released

https://kde.org/announcements/plasma/6/6.7.0/
2•jrepinc•3m ago•0 comments

Show HN: A bare-metal network mitigation layer using eBPF and nftables

https://github.com/bardhyliis/ebpf-ddos-mitigation
1•bardhyliis•8m ago•0 comments

What I learned using AI to build a Kubernetes Operator for Supabase's Multigres

https://numtide.com/blog/writing-a-kubernetes-operator-in-the-age-of-ai/
2•DevOpsy•12m ago•0 comments

Roast My Startup Idea

https://www.landermixer.com/
1•zigakerec•15m ago•1 comments

New way of making espresso with ultrasound

https://www.unsw.edu.au/newsroom/news/2026/06/New-way-making-espresso
1•darktoto•16m ago•0 comments

'The Antarctic is the last frontier': the quest to save Shackleton's Endurance

https://www.theguardian.com/environment/2026/jun/15/shackleton-endurance-shipwrecks-global-heatin...
1•lentil_soup•17m ago•0 comments

Anthropic pulled Fable 5 and Mythos for everyone over "fix this code"

https://twitter.com/k8em0/status/2066400234503274619
1•bartekurbanski•18m ago•0 comments

Agents Need Names

https://raft.build/resources/blog/agents-need-names/
2•xxchan22•18m ago•0 comments

PagedAttention is more than virtual memory

https://thecomputersciencebook.com/posts/pagedattention-is-more-than-virtual-memory/
1•bambataa•22m ago•0 comments

Margin is an open annotation layer for the web

https://margin.at/
2•doener•24m ago•0 comments

Sill: Top news shared by the people you trust

https://sill.social
1•doener•25m ago•0 comments

The nerds are building a new internet, and I could feel it in the room

https://timtrautmann.com/blog/the-nerds-are-building-a-new-internet-and-i-could-feel-it-in-the-room/
2•doener•25m ago•0 comments

Arson targeting Keir Starmer properties originated in Russia

https://www.ft.com/content/dd79d6eb-44e4-4365-8c6e-a4fd64b211c8
2•iamflimflam1•27m ago•0 comments

TSME no longer available on AMD consumer CPUs

https://arstechnica.com/
4•esarbe•28m ago•1 comments

DMARCbis to DMARC: Spec updates and new RFCs

https://www.valimail.com/blog/dmarc-spec-updates-rfcs/
1•w3ll_w3ll_w3ll•31m ago•0 comments

What Happens When Your Domain Expires

https://urlwatch.io/blog/what-happens-when-domain-expires.php
1•rajkverma123•36m ago•0 comments

Agent-Friendly Interfaces Are a Token-Efficiency Strategy

https://nokv.io/blog/agents-want-filesystems/
1•wchwawa•37m ago•0 comments

SpaceX IPO Is a Giant Unworkable Con

https://karlbode.com/the-spacex-ipo-is-a-giant-unworkable-con-orchestrated-by-an-overt-white-supr...
3•only_in_america•37m ago•0 comments

Linux Optimization Shows +5% For EXT4, XFS After Moving Around 2 Lines Of Code

https://www.phoronix.com/news/Linux-7.2-IOmap-EXT4-XFS
3•t-3•42m ago•0 comments

The first trillionaire is a killer

https://www.theverge.com/tech/949259/the-worlds-first-trillionaire-is-a-killer
7•ksec•42m ago•1 comments

Seth Rogen Knows the Secret to Marriage – and Being Rich in Hollywood

https://www.nytimes.com/2026/06/13/magazine/seth-rogen-interview.html
1•Michelangelo11•44m ago•0 comments

The Most Important Scientist You've Never Heard of (2017)

https://www.mentalfloss.com/science/environment/clair-patterson-scientist-who-determined-age-eart...
1•RetroTechie•45m ago•0 comments

Framework Computer Making Progress on Coreboot support

https://www.phoronix.com/news/Framework-Intel-Coreboot-2026
2•cromka•46m ago•0 comments

Show HN: Langusta – an AI voice tutor for practicing spoken languages (PWA)

https://langusta.me/
2•grajo•46m ago•0 comments

Rate AI coding agents and gain reputation

https://elolup.com/
3•reStrugly•49m ago•2 comments

Is Mistral cooking something big or is it pure meme/psyops?

https://twitter.com/arthurmensch/status/2066456715650793956
2•PL_Venard•50m ago•1 comments

AI and National Security – Something Doesn't Add Up

https://paulbrownok.substack.com/p/ai-and-national-security-something
1•pjb88•50m ago•0 comments