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!

Gently down the stream – An introduction to Apache Kakfa

https://www.gentlydownthe.stream/
1•adithyasrin•1m ago•0 comments

Blockchain und Bitcoin erklärt in 6 Episoden – Episode 2

https://medium.com/@chris.ahrweiler/blockchain-und-bitcoin-erkl%C3%A4rt-in-6-episoden-episode-2-2...
1•docjojo•2m ago•0 comments

Show: Free Dicom Viewer

https://hounsfield.vercel.app
1•jzeger•2m ago•0 comments

Show HN: Markdown Viewer and Editor

https://kingsbridge-consultancy.com/md-viewer/
2•beerglass•3m ago•0 comments

Tubeviz – automatically edit YouTube footage to music

https://github.com/interrupt21h/tubeviz
1•int0x21•4m ago•0 comments

AIxCC: Competition Design, Architectures, and Lessons Learned

https://arxiv.org/abs/2602.07666
1•wslh•4m ago•0 comments

Developing provably correct Rust code with Verus

https://www.amazon.science/blog/developing-provably-correct-rust-code-with-verus
1•shortj•5m ago•0 comments

Terminating elegantly: a guide to graceful shutdowns

https://packagemain.tech/p/graceful-shutdowns-k8s-go
2•theanonymousone•6m ago•0 comments

Bayesian Workflow PDF from Andrew Gelman

https://statmodeling.stat.columbia.edu/2026/08/25/bayesian-workflow-free-pdf/
1•jreynar•7m ago•0 comments

Remote Teleop for Robotic Arms

https://www.youtube.com/watch?v=c_pf-9-gLOg
1•chfritz•10m ago•1 comments

Show HN: cdai – the AI-enhanced cd command

https://github.com/franzenzenhofer/cdai
2•franze•11m ago•0 comments

FTC accuses Amazon of running a 'secret ad surcharge scheme' in new lawsuit

https://techcrunch.com/2026/08/31/ftc-accuses-amazon-of-running-a-secret-ad-surcharge-scheme-in-n...
4•psychanarch•11m ago•0 comments

Passive Recovery of Sound from Video

https://people.csail.mit.edu/mrub/VisualMic/
1•caiobegotti•12m ago•0 comments

The online shopping trend where you buy nothing

https://restofworld.org/2026/south-korea-shopping-trend/
1•zdw•14m ago•1 comments

Show HN: Claude Code Arcade

https://github.com/jystervinou/claude-code-arcade
1•jystervinou•18m ago•0 comments

Show HN: I made a minimalist digital zine powered by 5 random emoji prompts

https://moon-zine.net/
1•riedhes•19m ago•0 comments

Show HN: Sheet-Based Infrastructure, Sheeternetes and Sheet-Native Foundation

https://sncfoundation.github.io/landscape.html
1•tym83•19m ago•0 comments

LaSuite.coop

https://lasuite.coop/
1•ngrislain•21m ago•0 comments

LiveSplit

http://livesplit.org/
1•skibz•24m ago•0 comments

Elon Musk did well for a penniless immigrant

https://utopiayouarestandinginit.com/2026/08/31/elon-musk-did-well-for-a-penniless-immigrant/
1•speckx•24m ago•0 comments

old.reddit.com Now Requires Log-In

https://www.old.reddit.com
4•ed95•26m ago•1 comments

Nvidia-Labs Object Oriented Agents

https://github.com/NVIDIA-NeMo/labs-OO-Agents
2•wslh•27m ago•0 comments

Vexatious Litigants

https://www.gov.uk/guidance/vexatious-litigants
1•robin_reala•27m ago•0 comments

Show HN: Transform text and images into cinematic AI videos

https://h3max.app/
1•wowinter15•28m ago•0 comments

The brain struggles to make new neurons in people with depression

https://www.nature.com/articles/d41586-026-02661-8
4•bookofjoe•30m ago•1 comments

Why Garfield Phones Are Washing Up on a French Beach Since the '80s

https://www.thisiscolossal.com/2026/08/silly-little-plastic-cat-short-film/
2•gmays•31m ago•0 comments

Top Remote Work Trends in Germany in 2026

https://www.foxapply.com/blog/en/remote-work-trends-germany-2026
1•josanjohnata•31m ago•0 comments

The law won't save us from Meta's 'pervert glasses' The only solution is mockery

https://www.theguardian.com/commentisfree/2026/aug/31/law-meta-pervert-glasses-mockery
8•6LLvveMx2koXfwn•31m ago•1 comments

Show HN: Room Treatment

https://roomtreatment.diy/landing
3•gregojaca•32m ago•0 comments

Dropbox Got Hacked

https://twitter.com/yonilevy/status/2094521566826541248
10•yonilevy•32m ago•1 comments