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: Faaah – Filesystem as an AI Handler

https://github.com/sebastiancarlos/faaah
1•httbs•4m ago•0 comments

Depression has tripled in the last 15 years. Arthur Brooks about the cause

https://bigthink.com/series/full-interview/meaning-crisis-brooks/
1•lschueller•8m ago•0 comments

I built a client-side HEIC converter using WebAssembly

https://heictools.io
1•suolex•9m ago•0 comments

GPT-4 finished training four years ago today

https://twitter.com/gdb/status/2086092396023120286
3•nekofneko•12m ago•0 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
1•jmusall•12m ago•0 comments

Big Tech Changed Health Care. The System Must Keep Up

https://www.newsweek.com/big-tech-changed-health-care-the-system-must-keep-up-opinion-12291938
1•brandonb•16m ago•0 comments

Show HN: VD – TUI Password Manager and OTP Authenticator for Unix

https://github.com/ahmedhosssam/vd
1•ahmedhosssam•17m ago•0 comments

Ask HN: If Social network is created today, what do you want to see?

2•kocial•19m ago•3 comments

The Fool (Tarot Card)

https://en.wikipedia.org/wiki/The_Fool_(tarot_card)
1•jackhalford•25m ago•0 comments

How AI is breaking the British State

2•andsoitis•27m ago•1 comments

You can build an AI agent's memory layer with only Go's standard library

https://towardsdev.com/the-memory-efficient-ai-agent-building-a-context-engine-in-go-d4b7557c44d8...
2•cheikhdev•27m ago•0 comments

Google DeepMind enters a new era as co-founder Demis Hassabis shifts AI role

https://www.theguardian.com/technology/2026/aug/08/google-demis-hassabis-deepmind-shifts-role
2•flancian•27m ago•0 comments

Ask HN: Why is Open POWER Foundation a wasteland?

2•climate_denier_•28m ago•1 comments

My server is a phone now

https://seg6.space/posts/phone-server/
2•seg6•28m ago•0 comments

Show HN: Try Benzi – A coding harness/agent beating Claude Code itself on Sonnet

https://benzi.fly.dev/about
1•showhz•29m ago•0 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
1•sajomes•30m ago•1 comments

How to Handle a Difficult Colleague

https://www.thetrueengineer.com/p/surviving-the-workplace-how-to-handle
1•adletbalzhanov•32m ago•1 comments

Should you stop cracking your knuckles?

https://www.bbc.com/future/article/20260807-should-i-stop-cracking-my-knuckles
2•tchalla•41m ago•0 comments

Confessions of a Democratic Socialist [video]

https://www.youtube.com/watch?v=61tUsrNejRM
1•donsupreme•44m ago•0 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
3•adletbalzhanov•45m ago•0 comments

How Can LLM RL Work Despite Information-Theoretic Inefficiency

https://www.beren.io/2026-07-26-How-Can-LLM-RL-Work-Despite-Information-Theoretic-Inefficiency/
1•sshh12•45m ago•0 comments

Show HN: Turn tweets into beautiful, shareable photos

https://tweet.download/
1•azeemkafridi•49m ago•0 comments

Show HN: ExpertCache – Run the Full GPT-OSS 120B (63GB) on a 16GB M1 Pro

https://github.com/amos-labs/expertcache
1•rick_barkley•49m ago•0 comments

Show HN: Inertia – Not your Grandfathers animation editor

https://inertiagraphics.com/
1•hpen•50m ago•0 comments

SpaceX Earnings Reveal X's Shrinking Ad Biz

https://www.mediapost.com/publications/article/417046/spacex-q2-earnings-show-xs-shrunken-ad-biz....
4•keeda•51m ago•1 comments

Roku Fairgound, a new 24/7 AI slop channel

https://therokuchannel.roku.com/details/b484db42f3d31b6dc2f604d453c694a0/fairground-ai-creator-tv
2•timoth3y•51m ago•1 comments

Why I'm gone [video][59 mins]

https://www.youtube.com/watch?v=0VbyhUmtuBw
2•Bender•52m ago•0 comments

AI Settles a 25 Year-Old Problem We Left Behind

https://twitter.com/DimitrisPapail/status/2086158118354887060
5•amichail•55m ago•0 comments

Ask HN: Books Written for Polyglots?

1•s4074433•55m ago•0 comments

High-frequency trading firm just hired Bjarne Stroustrup (creator of C++)

https://www.efinancialcareers.com/news/a-high-frequency-trading-firm-just-hired-bjarne-stroustrup...
5•refp•56m ago•2 comments