frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

New Generation of Accounting

1•filipriec•1m ago•0 comments

Fair Step Challenge Builder

https://motion-app.com/tools/step-challenge-builder/
1•georgegreenldn•3m ago•1 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
2•abawany•5m ago•0 comments

Iowa lawmakers to mandate students take Center for Intellectual Freedom classes

https://www.kcrg.com/2026/05/20/iowa-lawmakers-move-mandate-students-take-center-intellectual-fre...
1•hn_acker•5m ago•1 comments

Orbit – Route every AI query to the right model automatically (NPM SDK)

https://orbitai.gtll.app
2•gabrielsmartin•7m ago•0 comments

Delivery Hero reveals Uber takeover bid at €10B valuation

https://www.ft.com/content/6d5df0df-74b3-4be9-a1ec-27322e1c3184
1•JumpCrisscross•8m ago•0 comments

AI super-apps are remaking China's internet

https://www.economist.com/business/2026/05/17/ai-super-apps-are-remaking-chinas-internet
1•marojejian•8m ago•1 comments

ScyllaDB PHP Driver: the story so far

https://www.dusanmalusev.dev/blog/scylladb-php-driver-the-story-so-far
1•CodeLieutenant•9m ago•0 comments

JetBrains Is Selling Independence as the Rest of AI Coding Picks Sides

https://thenewstack.io/jetbrains-independent-ai-coding/
1•Brajeshwar•11m ago•0 comments

Texas AG sues Meta over claims that WhatsApp doesn't provide E2EE

https://arstechnica.com/security/2026/05/texas-ag-sues-meta-over-claims-that-whatsapp-doesnt-prov...
2•stalfosknight•11m ago•0 comments

Apply to Rejoin the EU as soon as possible to increase growth in the UK

https://petition.parliament.uk/petitions/749128
1•mariuz•13m ago•0 comments

The Mirror Is Part of the Machine

https://yusufaytas.com/the-mirror-is-part-of-the-machine
10•london_safari•14m ago•0 comments

The Fonts of the U.S. Federal Courts

https://daringfireball.net/2026/05/the_fonts_of_the_us_federal_courts
2•tosh•15m ago•0 comments

Rotten Apple: Former Israeli Spies Hired by Silicon Valley Giant

https://www.mintpressnews.com/apple-israel-unit-8200-hiring/290226/
3•lorecore•16m ago•0 comments

Being oncall taught me everything

https://yaoyue.org/blog/2026-oncall/
1•ayhanfuat•17m ago•0 comments

Star Maker by Olaf Stapledon

https://philosophynow.org/issues/173/Star_Maker_by_Olaf_Stapledon
1•measurablefunc•21m ago•0 comments

Ghana proposes mandatory licensing for IT professionals and businesses [pdf]

https://www.nita.gov.gh/wp-content/uploads/2025/NITA-2008-act-2025-1.pdf
3•certyfreak•23m ago•1 comments

JWT is a scam and your app doesn't need it

https://www.dusanmalusev.dev/blog/jwt-is-a-scam-and-your-app-doesnt-need-it
8•CodeLieutenant•25m ago•0 comments

Effects of whole-body vibration training on sarcopenia in older adults

https://www.nature.com/articles/s41598-026-45710-y
1•bookofjoe•27m ago•0 comments

Beyond Nostalgia: 8-Bit Computing as Tech Critique

https://yadin.com/notes/nostalgia/
1•dryadin•27m ago•0 comments

Rocket Mail

https://en.wikipedia.org/wiki/Rocket_mail
1•aragonite•27m ago•0 comments

See great white shark swim between surfers at Pismo Beach pier. 'It's insane'

https://www.sanluisobispo.com/news/local/environment/article315841926.html
1•Bender•28m ago•0 comments

Zuck defends monitoring employees to win AI race in purported leaked audio

https://www.theregister.com/ai-ml/2026/05/22/zuck-defends-monitoring-employees-to-win-ai-race-in-...
1•Bender•29m ago•0 comments

Show HN: A simple app to visualize Apple Health workout logs

https://streakout.app/
1•toni88x•29m ago•0 comments

Show HN: Memory for LLM apps that cuts input tokens up to 80% (avg 68%)

https://github.com/Tem-Degu/streetai-memory
1•degutemesgen•29m ago•0 comments

It took 40 years for technology to catch up to this zipper design

https://news.mit.edu/2026/three-sided-y-zipper-design-0504
1•geox•29m ago•0 comments

Uber to make offer for German food delivery co DeliveryHero

https://www.reuters.com/business/delivery-hero-confirms-takeover-offer-uber-2026-05-23/
1•gigatexal•32m ago•1 comments

Piqo – a pi extension to collaborate with agents directly from your files

https://github.com/piqoni/pi-piqo
1•lexoj•37m ago•0 comments

One last trip to the internet in 2009 with The Rough Guide 14

https://www.planetjones.net/blog/19-04-2026/one-last-trip-to-the-internet-in-2009-with-the-rough-...
1•planetjones•41m ago•0 comments

Sharp Eyes: Mass surveillance of foreigners in China – Part 1

https://substack.com/@netaskari/p-196106121
1•Tomte•42m ago•0 comments