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!

The Credit Card

https://phonecardmuseum.com/articles/banking-cards/the-credit-card/
1•thunderbong•1m ago•0 comments

Being a line cook without talking to AI

https://knhash.in/no-ai-line-cook/
1•knhash•5m ago•0 comments

NASA is looking for new astronauts to help grow its Artemis program

https://www.nbcnews.com/science/space/nasa-is-looking-for-new-astronauts-rcna608025
1•TMWNN•6m ago•0 comments

Category Theory Illustrated

https://abuseofnotation.github.io/category-theory-illustrated/
1•rramadass•7m ago•0 comments

Show HN: Ferrule – copy-in React Native UI components for iOS, Android and web

https://leoanimesh.github.io/ferrule/
1•leoanimesh•7m ago•0 comments

Investing vs. gambling: how to tell the difference

https://www.cfainstitute.org/insights/articles/investing-vs-gambling
1•throwaway2037•13m ago•0 comments

The Rise of Microdramas

https://www.bbc.com/news/articles/cm87zv70jg9no
1•sarreph•13m ago•0 comments

Show HN: Hacker News Column View

https://hn.orbitalchicken.com
1•y1n0•19m ago•0 comments

The Great GOP Dummymander of 2026

https://www.nationalreview.com/corner/the-great-gop-dummymander-of-2026/
1•carabiner•22m ago•0 comments

I Won't Hire People Who Use Poor Grammar. Here's Why

https://hbr.org/2012/07/i-wont-hire-people-who-use-poo
1•arbayi•24m ago•1 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
1•rzk•25m ago•0 comments

Autonomous Dynamics Runtime (ADR) – Zero-copy C++20 execution spec

https://github.com/EvaReinar2356/AS3D-/blob/main/README.md
1•EvaDeville•30m ago•0 comments

My Grok Bot Started Vendor Locking Me

https://twitter.com/RoyOsherove/status/2119327808778313824
1•royosherove•36m ago•0 comments

Unattended reboots with encrypted disks (ZFS)

https://blogsystem5.substack.com/p/zkeys-intro
1•Maledictus•38m ago•0 comments

Show HN: Ramen – an AI agent that has to earn its own rent

https://usdt-kit-production.up.railway.app/ramen
1•showang•43m ago•0 comments

Never Gonna Print You Up

https://dixken.de/blog/never-gonna-print-you-up
2•ta988•1h ago•0 comments

Crypto industry braces for reckoning over Trump ties

https://www.ft.com/content/f1b98a61-4103-447c-bb9a-3dccc0819f61
2•JumpCrisscross•1h ago•1 comments

WaveDudeNext 2D Wave Simulator

https://github.com/graealex/WaveDudeNext
2•sweetdingoes•1h ago•0 comments

In Praise of Cash (2017)

https://aeon.co/essays/if-plastic-replaces-cash-much-that-is-good-will-be-lost
1•germanrabbit•1h ago•0 comments

There's No Such Thing as a Stock-Market Bubble

https://www.wsj.com/opinion/theres-no-such-thing-as-a-stock-market-bubble-159ea117
2•gmays•1h ago•0 comments

Ask HN: LLM-Resistant Publishing Strategies

2•negura•1h ago•2 comments

Show HN: SEC Fundamentals – free financial API

https://www.quotelinks.com/api/sec-fundamentals/
1•chartwidgets•1h ago•0 comments

James Barnor: Outstanding Contribution to Photography 2027

https://www.worldphoto.org/blogs/05-11-26/10-things-know-about-james-barnor-outstanding-contribut...
3•Tomte•1h ago•0 comments

Windows Are Absurd (From an engineering standpoint)

https://practical.engineering/blog/2026/11/3/windows-are-absurd
2•vismit2000•1h ago•0 comments

Lens – The Browser Your iPhone Deserves

https://lens.maximos.work/
3•microflash•1h ago•0 comments

Fourteen MB Hinglish STT pWER 29, stary words 2.3/100

https://hitl.systems/models/lipi-hn/
3•gamebit07•1h ago•0 comments

Show HN: ScrivenSpell

https://memalign.github.io/m/spell/
2•memalign•1h ago•0 comments

The message format that was already in ASCII

https://openbohemians.org/blog/the-message-format-in-ascii/
3•tabtom•1h ago•0 comments

BYD's electric hypercar hits 312 MPH, first production car over 500 km/h

https://electrek.co/2026/11/06/byd-yangwang-u9-xtreme-first-production-car-500-km-h/
2•toomuchtodo•1h ago•1 comments

Amp is the best thing since sliced bread

https://ben.page/amp
3•jer0me•1h ago•3 comments