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•11mo 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: RepoGauge – save token costs and compare agents on your own repos

https://repogauge.org
1•siliconc0w•1m ago•0 comments

For founders who feel like nobody's watching

https://autheona.com/tools/audience-visualizer/
1•lasgawe•3m ago•1 comments

Show HN: Smith – AI Agent Orchestrator

https://getsmith.dev/
1•netnameus•3m ago•0 comments

Shift-Left Code Quality: Inside DebtDrone CLI 2.0.0 and a Dual-Mode Architecture

https://www.endrilickollari.com/blog/debtdrone-cli-2-release
1•endrilickollari•3m ago•0 comments

Discover More of the Fediverse with Tags.pub

https://activitypub.blog/2026/04/02/discover-more-of-the-fediverse-with-tags-pub/
1•ZacnyLos•5m ago•0 comments

Iceland Just Got Its First Mosquitoes

https://gizmodo.com/iceland-just-got-its-first-mosquitoes-scientists-arent-ready-for-what-comes-n...
1•speckx•6m ago•0 comments

KGB Building and Cells

https://www.dark-tourism.com/index.php/941-riga-kgb-building
1•jruohonen•7m ago•0 comments

Finance ministers and top bankers raise serious concerns about Mythos model

https://www.bbc.com/news/articles/c2ev24yx4rmo
1•reconnecting•8m ago•0 comments

Ask HN: How do you search the web programmatically these days?

1•coreyp_1•9m ago•0 comments

Show HN: web-pinentry: a pinentry program for decrypting server-side passwords

https://codeberg.org/seanhly/web-pinentry
1•seanhly•10m ago•0 comments

AI in Onboarding

https://app.soon.works/create
1•Olaf_Soon•10m ago•0 comments

A List of Zettelkasten Resources

https://github.com/fhoehl/awesome-zettelkasten
1•marukodo•10m ago•0 comments

Tesla tells HW3 owner to 'be patient' after 7 years of waiting for FSD

https://electrek.co/2026/04/17/tesla-hw3-owners-be-patient-7-years-fsd/
3•breve•12m ago•0 comments

Show HN: Arc Browser UI Skeleton (Next.js)

https://arc-ui-skeleton.vercel.app/
2•SpyCoder77•12m ago•0 comments

Ask HN: I built a Blox Fruits trading tool – feedback?

1•BFV•12m ago•0 comments

Year of the IPv6 Overlay Network

https://www.defined.net/blog/year-of-the-ipv6-overlay-network/
1•stock_toaster•13m ago•0 comments

Choosing Entrepreneurship over a Corporate Career

https://levels.io/choosing-entrepreneurship/
2•tylerdane•13m ago•1 comments

Smoglandia: Smog was killing L.A., and a Caltech chemist found the murder weapon

https://www.latimes.com/california/story/2026-03-26/smoglandia-smog-was-killing-l-a-caltech-chemi...
1•PaulHoule•14m ago•0 comments

Optionality Curse

https://www.karanjanthe.me/posts/optionality-curse/
1•KMJ-007•14m ago•1 comments

Retro Is the Future

https://blog.absurdpirate.com/retro-is-the-future/
1•speckx•14m ago•0 comments

Easy code and work AI agent system: auto, asynchronous, concurrency, efficiently

https://github.com/vcaesar/codg
2•veni0•15m ago•1 comments

Tesla Cybertruck sales inflated: SpaceX bought 1,279 units

https://electrek.co/2026/04/16/tesla-cybertruck-spacex-1279-q4-sales-inflated/
2•doener•16m ago•0 comments

Django Admin–style panel for NestJS (TypeORM/Prisma, filters, actions)

https://github.com/xtrinch/nestjs-dj-admin
1•xtrinch•16m ago•0 comments

European Directory and Alternatives

1•EuropeanSwitch•17m ago•0 comments

Ryan Podolsky

https://www.roughcutentertainment.com
1•RyanPodolsky•17m ago•0 comments

A more efficient implementation of Shor's algorithm

https://lwn.net/SubscriberLink/1066156/80d0f285132960fb/
1•zacwest•18m ago•0 comments

Why are residential proxy providers charging per GB?

1•maxalbarello•21m ago•0 comments

TileTensor Part 1 – Safer, More Efficient GPU Kernels

https://www.modular.com/blog/tiletensor-part-1-safer-more-efficient-gpu-kernels
1•matt_d•22m ago•0 comments

"Tokenmaxxing" is making developers less productive than they think

https://techcrunch.com/2026/04/17/tokenmaxxing-is-making-developers-less-productive-than-they-think/
2•andrewstetsenko•24m ago•0 comments

Shaken Cocktails vs. Stirred Cocktails

https://www.tommacy.com/shakingvstirring
1•thunderbong•26m ago•0 comments