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: Hurston-1 open source TTS that speak Southern American and Afro-English

https://huggingface.co/destined/hurston-1
1•Gcarter08•3m ago•0 comments

The Slurptop

https://slurpburgers.com/slurpbuilds/the-slurptop/
1•tjwds•6m ago•0 comments

Documentary film 'Bot Love' exploring AI companionship to debut Oct. 21

https://www.thesuburban.com/arts_and_entertainment/entertainment/documentary-film-bot-love-explor...
1•BiraIgnacio•11m ago•0 comments

Formula 1 Grand Prix

https://tv.apple.com/us/channel/formula-1/tvs.sbd.241000
1•lufxen•11m ago•0 comments

Show HN: Mood Writer – a text editor that plays nature sounds to help you focus

https://www.moodwriter.app/
1•AndreiCx•15m ago•0 comments

Antigravity-IDE-WindowSize – Persist Google Antigravity Window Size

https://github.com/amiltonjr/Antigravity-IDE-WindowSize
1•cmd8086•16m ago•0 comments

Forced to pick, Grok's AI model chooses Republicans. OpenAI's picks Democrats

https://techcrunch.com/2026/10/24/forced-to-pick-groks-ai-model-chooses-republicans-openais-picks...
1•blooalien•25m ago•0 comments

Over $1.4B has been traded on prediction markets for the 2026 midterms

https://www.cnn.com/2026/10/23/politics/prediction-markets-midterm-elections-kalshi-polymarket
2•1659447091•28m ago•0 comments

My Reolink cameras didn't have SSH, so I fixed that

https://inventor7777.github.io/blog/2026/10/24/ssh-on-11-reolink-cameras/
1•inventor7777•28m ago•0 comments

Tailworm – Tailscale Vulnerabilities

https://tailworm.com/
15•theanonymousone•33m ago•3 comments

Ask HN: Why a Great Product Won't Succeed Without a Community

3•gonzar79•34m ago•5 comments

Show HN: ADRs for AI – Deliberation records for human–AI work, versioned in Git

https://adrs.systems
1•lumbroso•49m ago•0 comments

The State of Context Engineering

https://www.dbreunig.com/2026/10/24/the-state-of-context-engineering.html
1•dbreunig•56m ago•0 comments

My "Not Degree" – A minimal study tracking system beating ADHD demand resistance

https://notadegree.au/
2•fernbarns•1h ago•0 comments

Amico8 – PICO-8 fantasy console emulator for Amiga [video]

https://www.youtube.com/watch?v=9jLF-7muyqo
1•retro_guy•1h ago•1 comments

Amazon cloud capacity sold out through 2027, CEO Jassy says

https://www.reuters.com/business/retail-consumer/amazon-cloud-capacity-sold-out-through-2027-ceo-...
5•unclebucknasty•1h ago•2 comments

How to fix your life in 1 day

https://twitter.com/thedankoe/status/2010751592346030461
3•andsoitis•1h ago•0 comments

Virtual and Real World Combine at LAN Party (1998)

https://www.latimes.com/archives/la-xpm-1998-aug-10-mn-11870-story.html
2•npunt•1h ago•0 comments

Sound of a guitar string cooling down on a piezo contact mic [video]

https://www.youtube.com/watch?v=6OH0-4RxmIs
1•wompapumpum•1h ago•0 comments

Lorebook Package Documentation

https://github.com/character-foundry/character-foundry/blob/master/docs/lorebook.md
1•doener•1h ago•0 comments

An animated explainer of the PHP2SHell vulnerability [video]

https://www.youtube.com/watch?v=6Kz4bWKoXhU
1•Darmani•1h ago•0 comments

"Performance" Oryon: Qualcomm's Little Core

https://chipsandcheese.com/p/performance-oryon-qualcomms-little
2•pella•1h ago•0 comments

Stop-motion movie Wildwood is a staggering masterpiece

https://www.cbc.ca/news/entertainment/wildwood-review-laika-9.7393321
5•BiraIgnacio•1h ago•0 comments

Original thoughts have terrible UX

https://sunilpai.dev/posts/original-ideas/
1•andsoitis•1h ago•1 comments

FindMyWeb: Apple Find My, reverse enginiered

https://codeberg.org/Misom/FindMyWeb
4•Velocifyer•1h ago•0 comments

Show HN: Reusable, spectraly shaped Blue Noise point clouds

https://github.com/For-a-few-DPPs-more/hyperuniform-samplers
1•adec314•1h ago•1 comments

Show HN: Orgiggly – Claude Code plugin that hosts the apps it builds

https://github.com/orgiggly/claude-plugin
1•davew1977•1h ago•1 comments

How Reading "East of Eden" Affected Writers and Artists

https://www.nytimes.com/2026/10/09/books/review/reading-east-of-eden.html
1•bookofjoe•1h ago•1 comments

PHP2Shell exploitation observed: packet-to-process RCE evidence

https://github.com/0x4D31/honeypot-data/blob/main/reports/php2shell/2026-10-24-confirmed-rce.md
3•choult•1h ago•0 comments

Why Gopher in 2026?

https://gopher.muffinlabs.com/sdf.org/users/nervtoji/phlog/001.txt
19•andsoitis•1h ago•7 comments