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!

PGRun

https://pgrun.dev/
1•handfuloflight•44s ago•0 comments

When life calls for causal analysis

https://www.junkcharts.com/when-life-calls-for-causal-analysis/
1•speckx•1m ago•0 comments

okd

https://github.com/okd-project/okd
1•reconnecting•1m ago•0 comments

We're all getting good at not reading each other

https://rice.codes/blog/ab9b9e43-80f0-44a0-aa14-e99219bc7112/
1•yqhsms•2m ago•0 comments

Clean and Compress PDF Files on Mac

https://medium.com/@chris.ahrweiler/clean-and-compress-pdf-files-on-mac-93a6e3925f9d
1•docjojo•3m ago•0 comments

Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter

https://github.com/gbin/defragger
1•gbin•3m ago•0 comments

Inside Próspera,, the libertarian utopia on a Caribbean island

https://www.abc.net.au/news/2026-08-22/honduras-prospera-libertarian-utopia-caribbean-roatan/1070...
1•tcp_handshaker•3m ago•0 comments

Paul Graham's Essays, as Audio

https://journal.daniellopes.dev/p/paul-grahams-essays-as-audio
1•danielvlopes2•4m ago•1 comments

The Nvidia-sized hole in US GDP statistics

https://epoch.ai/publications/the-nvidia-sized-hole-in-us-gdp-statistics
1•paulpauper•4m ago•0 comments

Polyamorous bird of prey 'single-handedly' reviving species

https://www.thetimes.com/uk/environment/article/montagus-harriers-breeding-au-britain-hklk56vw5
1•paulpauper•5m ago•0 comments

Ads in Apple Maps have officially begun rolling out

https://9to5mac.com/2026/08/25/apple-maps-launches-ads-on-iphone-heres-whats-new/
1•zof3•5m ago•1 comments

Ask HN:Can you find the perimeter of this figure on cover

https://www.amazon.com/dp/B0F4PBNZWF
1•min2bro•6m ago•1 comments

Building Anki Cards with Claude Code

https://segar.me/blog/posts/anki_cards_claude_code.html
1•speckx•7m ago•0 comments

A map for one reader – a bespoke GPS audio travel guide

https://networkedthought.substack.com/p/a-map-for-one-reader
1•houshuang•7m ago•0 comments

$125/month Premium seats on ChatGPT Business

https://help.openai.com/en/articles/8792828-chatgpt-business-overview
1•kaliszad•8m ago•0 comments

Respondus|Senior Software Developer|Remote|US Only

https://web.respondus.com/
1•kruczynski•11m ago•0 comments

The Instant team joins OpenAI

https://www.instantdb.com/essays/instant_team_joins_openai
1•gurjeet•12m ago•1 comments

Show HN: PocketCoded Py – Full CPython, pip, and data stacks offline on Android

https://play.google.com/store/apps/details?id=com.mkhokheli.pocketcodedpy&hl=en_US
1•Mkhokheli_Ndebe•12m ago•0 comments

Show HN: Ifso – A personal finance simulator for major life decisions

https://ifso.io
1•timer_interrupt•12m ago•0 comments

Show HN: FetchMark – An Offline-first read-later app with AI summaries

https://fetchmarkapp.com
1•fetchmark•16m ago•0 comments

FreeCORE, TrueNAS Core Continued

https://freecore.org/
1•NexRebular•16m ago•0 comments

Show HN: Acurite 433MHz Sensor to Weather Underground via RTL-SDR

https://github.com/lowerpower/wu-upload
2•mycal•16m ago•0 comments

Dolly Parton Has Died

https://en.wikipedia.org/wiki/Dolly_Parton
6•ColinWright•18m ago•2 comments

Show HN: Limitless Library – AI agents check first before starting from scratch

https://github.com/Univeracity/limitlesslibrary
1•ocdjeremy•18m ago•0 comments

Ask HN: Android OS with Linux level customisation

2•KinetiNode•19m ago•2 comments

Examining the AI Bear Thesis

https://ldstn.substack.com/p/a-critical-examination-of-the-ai
1•imaginaryunit01•19m ago•0 comments

Dolly Parton says she doesn't want to live on through AI after she dies (2023)

https://www.cbsnews.com/texas/news/dolly-parton-says-she-doesnt-want-to-live-on-through-ai-after-...
3•AftHurrahWinch•20m ago•3 comments

Towards a New House of Lords

https://marginalrevolution.com/marginalrevolution/2026/08/towards-a-new-house-of-lords.html
1•paulpauper•22m ago•0 comments

CATL now sells batteries online for $63/kWh [video]

https://www.youtube.com/watch?v=YpUwVqEIy20
2•thelastgallon•23m ago•1 comments

As print literacy fades, our perception of truth is warping

https://bigthinkmedia.substack.com/p/as-print-literacy-fades-our-perception
1•pseudolus•24m ago•0 comments