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!

They Bought a Famous Puzzle in Cryptography. Now They're Opening It Up

https://www.nytimes.com/2026/06/12/science/kryptos-sale-cryptography.html
1•furcyd•43s ago•0 comments

Time Travel Movies of All Time

https://www.popularmechanics.com/culture/movies/g3086/best-time-travel-movies/
1•evo_9•53s ago•0 comments

Show HN: I built your next Head of Growth

https://www.frhog.com/?12
1•krm01•2m ago•0 comments

AI agents that quickly estimate electronic devices' carbon footprints

https://www.washington.edu/news/2026/06/12/uw-researchers-built-ai-agents-that-quickly-estimate-e...
1•geox•4m ago•0 comments

Pavement Plots: Quantile Visualization Where Denser Data = Denser Lines

https://planspace.org/pavement/
2•heterodoxjedi•6m ago•0 comments

Launch HN: BitBoard (YC P25) – Analytics Workspace for Agents

https://bitboard.work/
5•arcb•6m ago•0 comments

Sandboxes Are Not Security

https://jlmr.dev/posts/sandboxes-are-not-security/
1•robteix•6m ago•0 comments

Late Stage Venture Is About Late Stage Founders

https://twitter.com/DavidGeorge83/status/2065076710597427300
1•gmays•7m ago•0 comments

US insurance rulemaker probes credit risks tied to data centres

https://www.ft.com/content/539bd3f8-96b2-4116-b4e4-19a3eaac88e3
2•1vuio0pswjnm7•9m ago•0 comments

Show HN: Migrate from Ultimate Guitar to Freetar

https://github.com/paytonjjones/freetar-favorites-helper
1•paytonjjones•9m ago•0 comments

Dub Dub Daily: Day 5 – WWDC26 [video]

https://www.youtube.com/watch?v=0FTsR2abIYE
1•msie•10m ago•1 comments

'News' Site Keeps Hallucinating EFF Staffers

https://www.eff.org/deeplinks/2026/06/news-site-keeps-hallucinating-eff-staffers
4•Brajeshwar•10m ago•0 comments

A North Korean hiring scam

https://indicator.media/p/i-got-inside-a-north-korean-hiring-scam-what-i-found-reveals-a-troublin...
1•sbarre•12m ago•0 comments

Tech Writers May Be Solving the Wrong AI Problem

https://www.thecontentwrangler.com/p/tech-writers-may-be-solving-the-wrong
1•eigenBasis•13m ago•0 comments

We don't write code anymore: An essay from an engineering manager

https://www.sanity.io/blog/we-dont-write-code-anymore
1•kmelve•13m ago•0 comments

Antarctica's west coast missing an area of sea ice the size of France

https://www.theguardian.com/world/2026/jun/13/antarcticas-west-coast-missing-an-area-of-sea-ice-t...
3•ljf•17m ago•0 comments

Commissioner Refuses to Let Residents Opposing Flock Speak at Meeting

https://www.404media.co/you-will-not-speak-on-flock-tonight-county-commissioner-refuses-to-let-re...
2•cdrnsf•18m ago•1 comments

Looking Forward to Postgres 19: It's About Time

https://www.pgedge.com/blog/looking-forward-to-postgres-19-its-about-time
2•xngbuilds•19m ago•0 comments

Show HN: Squishy – Claude Fabel 5 coded a game and it is good

https://squishy.franzai.com/
2•franze•20m ago•1 comments

KPMG report contained AI hallucinations on benefits of AI

https://www.ft.com/content/b3828e92-4961-4b39-84f0-c42f33be3c3f
6•1vuio0pswjnm7•20m ago•0 comments

The unlikely alliance pushing an AI sovereign wealth fund

https://www.ft.com/content/ac535e57-75c9-4f03-b921-5a0b55b156f7
1•thm•21m ago•0 comments

Some notes on getting into frontier AI labs

https://twitter.com/itsreallyvivek/status/2062924410588406118
1•gmays•22m ago•0 comments

The Last of the Great Whangdoodles

https://en.wikipedia.org/wiki/The_Last_of_the_Really_Great_Whangdoodles
1•mooreds•22m ago•0 comments

New privacy frontier: Europe eyes crackdown on smart glasses

https://www.politico.com/www.politico.eu/article/new-privacy-frontier-europe-eyes-crackdown-smart...
3•1vuio0pswjnm7•22m ago•0 comments

AI Splits the Market

https://www.poppastring.com/blog/ai-splits-the-market
1•speckx•23m ago•0 comments

SkyPilot Sandboxes: Run Agent Code on Your Own Kubernetes, at Scale

https://blog.skypilot.co/sandboxes/
5•covi•23m ago•0 comments

What's the story, Wishbone?: New documentary explores classic PBS show

https://www.npr.org/2026/05/27/nx-s1-5802365/whats-the-story-wishbone-new-documentary-explores-cl...
1•mooreds•24m ago•0 comments

SpaceX vaults over $2T valuation as stock jumps after record IPO

https://www.reuters.com/legal/transactional/after-record-ipo-musks-spacex-faces-next-test-market-...
6•JumpCrisscross•24m ago•0 comments

The Era of Multi-Agent Imagined Experience

https://odyssey.ml/the-era-of-multi-agent-imagined-experience
1•olivercameron•24m ago•0 comments

The Moon Is a Harsh Mistress

https://en.wikipedia.org/wiki/The_Moon_Is_a_Harsh_Mistress
2•mooreds•25m ago•0 comments