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!

Show HN: Revos – architecture checks for AI-generated code

https://github.com/mattykry/revos
1•Mattykry•3m ago•0 comments

Elvure

https://elvure.app
1•mening12001•4m ago•0 comments

Transfa – ephemeral file transfer for CI/CD pipelines and AI agents

https://transfa.sh/
1•colapsis•4m ago•0 comments

Mars or the Moon or A.I.? Elon Musk's Changing Goals for SpaceX

https://www.nytimes.com/2026/04/22/technology/elon-musk-spacex-ipo-goals.html
1•1vuio0pswjnm7•5m ago•0 comments

Why Spain has the greatest cities

https://worksinprogress.co/issue/why-spain-has-the-worlds-greatest-cities/
2•devitoria•5m ago•0 comments

The Atmosphere needs a front door

https://wecanjustdothings.leaflet.pub/3mlv5oijn5s2q
1•Kye•6m ago•0 comments

X Algorithm open source updated

https://github.com/xai-org/x-algorithm/commit/e414c171ed68266341193330bc4864bf3f3534e3
1•drak0n1c•8m ago•0 comments

Easy Tauri integration tests with vitest

https://powersync.com/blog/tauri-integration-tests
1•kobieps•8m ago•0 comments

Comparing Context Retrieval Approaches for AI Code Review

https://comparethemarketcareers.com/blog/comparing-context-retrieval-approaches-for-ai-code-review/
1•adzicg•8m ago•0 comments

Today we are releasing a QEMU escape

https://twitter.com/v12sec/status/2055282721212252178
3•throwaway2027•9m ago•0 comments

I built Zenith: a live local-first fixed viewport planetarium

https://smorgasb.org/zenith-tech/
3•surprisetalk•12m ago•0 comments

Are Musicians Doomed? (Pro Guitarist Reacts) [video]

https://www.youtube.com/watch?v=ApbcT0Bx1h4
1•tzs•12m ago•1 comments

Show HN: SiteRows – Query Websites with SQL

https://siterows.com/
1•mozersky•12m ago•0 comments

Image-blaster: Creates 3D environments, SFX, and meshes from a single image

https://github.com/neilsonnn/image-blaster
1•MattRogish•14m ago•0 comments

What Lamarck's Giraffe Got Right

https://nautil.us/what-lamarcks-giraffe-got-right-1280790
1•Brajeshwar•14m ago•0 comments

SpaceX IPO set to lock in Elon Musk's control with Mars-linked pay deal

https://www.ft.com/content/00382ab9-3dfe-468c-8966-853cd787dd43
1•frb•15m ago•1 comments

Routine vaccines may cut dementia risk–experts have startling hypothesis on how

https://arstechnica.com/health/2026/05/routine-vaccines-may-cut-dementia-risk-experts-have-startl...
1•danorama•15m ago•0 comments

SSH-Keysign-Pwn: Reading Root-Owned Files via a Ptrace Logic Bug

https://needhelp.icu/blogs/ssh-keysign-pwn/
2•mbeavitt•17m ago•0 comments

Celebrating 20 years of Google Translate

https://blog.google/products-and-platforms/products/translate/fun-facts-google-translate-20-years/
1•andrewstetsenko•18m ago•0 comments

You are the bottleneck now

https://bytode.dev/commits/you-are-the-bottleneck-now
1•marvinified•18m ago•0 comments

C3 0.8.0 replaces builtins, simplifies reflection, and rethinks unsigned sizes

https://c3-lang.org/blog/0_8_0_the_core_language_is_settling/
2•birdculture•20m ago•0 comments

TypeScript, C# and Turbo Pascal with Anders Heijsberg

https://www.youtube.com/watch?v=K-Xv8D8NjTk
2•pjmlp•21m ago•0 comments

Casimir force co-opted to generate free energy, midichlorians not included

https://arstechnica.com/science/2026/05/casimir-force-co-opted-to-generate-free-energy-midichlori...
2•FrustratedMonky•22m ago•0 comments

Raising the Bar

https://github.blog/security/raising-the-bar-quality-shared-responsibility-and-the-future-of-gith...
2•soheilpro•27m ago•0 comments

Startup Raises $1.3B for an A.I. 'Grid'

https://www.nytimes.com/2026/05/12/technology/amp-startup.html
3•bookofjoe•30m ago•1 comments

The Playboy Fiction Index

https://data.post45.org/posts/playboy-fiction-index/
4•Tomte•31m ago•0 comments

Tell HN: I haven't finished a single project 100%

1•theorchid•32m ago•2 comments

There's Something Living in Fog

https://nautil.us/theres-something-living-in-fog-1280786
1•Brajeshwar•32m ago•0 comments

Iran's Internet Shutdown Enters It's 77th Day

https://mastodon.social/@netblocks/116577450970712439
5•alephnerd•33m ago•1 comments

Wearable polygraph detects hidden stress

https://news.northwestern.edu/stories/2026/05/wearable-polygraph-detects-hidden-stress
3•gmays•34m ago•0 comments