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!

WordPress at 23

https://wordpress.org/news/2026/05/wp23/
1•tolerance•35s ago•0 comments

3D Printed Building Completed 3 Months Faster Than Conventional Construction

https://cobod.com/europes-largest-3d-printed-apartment-building-completed-three-months-faster-tha...
1•geox•1m ago•0 comments

W3C Leadership Transition

https://www.w3.org/press-releases/2026/w3c-leadership-transition/
1•robin_reala•3m ago•0 comments

Why $/token is the wrong metric for Enterprise AI (agentic) applications

https://canyoncode.ai/blog/beyond-per-token
1•ravikiran9gopal•3m ago•0 comments

The Geometry of Superior Performance

https://nickmark.substack.com/p/the-geometry-of-superior-performance
1•bookofjoe•3m ago•0 comments

SMVE: Multi-Vector Retrieval That Just Works

https://www.topk.io/blog/20260311-smve-multi-vector-retrieval
1•gk1•3m ago•0 comments

Adam Keys Is Thinking

https://therealadam.com/2026/05/25/fits-on-a-floppy-great.html
1•surprisetalk•5m ago•0 comments

Containment Is Not Oversight

https://www.cognitivefusion.systems/insights/glasswing-003
1•JohnsonSLC•6m ago•0 comments

Playlist Folders are now available on Spotify mobile app

https://community.spotify.com/t5/Community-Blog/Playlist-Folders-are-Now-Available-on-Mobile-Here...
1•soheilpro•7m ago•0 comments

Spec Driven Development Isn't Waterfall

https://brooker.co.za/blog/2026/04/09/waterfall-vs-spec.html
2•ruptwelve•8m ago•0 comments

What types of exceptions should you catch?

https://www.pythonmorsels.com/what-types-of-exceptions-should-you-catch/
1•lukasgelbmann•10m ago•0 comments

The people who want AI to replace humanity

https://www.vox.com/future-perfect/489976/ai-successionism-transhumanism-posthumanism
2•mrdependable•10m ago•0 comments

Reading Observability Tools? That's a Robot's Job

https://www.lastweekinaws.com/blog/reading-observability-tools-thats-a-robots-job/
1•lukeasrodgers•11m ago•0 comments

Show HN: Firmion is a DSL for composing firmware images

https://github.com/steveking-gh/firmion
1•steve6390•11m ago•1 comments

Claudeverse – Mission Control for Parallel Claude Code Workers

https://claudeverse.ai
1•kcarriedo•11m ago•0 comments

CNN files lawsuit against Perplexity alleging unlawful content distribution

https://www.reuters.com/legal/litigation/cnn-files-suit-against-perplexity-alleging-unlawful-cont...
2•1vuio0pswjnm7•11m ago•0 comments

The Permanent Upper Crow

https://permanent-upper-crow.jasonwu.ink/
2•whiteblossom•13m ago•0 comments

DeepMind CEO Demis Hassabis says AGI may arrive by 2029, warns world unprepared

https://www.firstpost.com/tech/deepmind-ceo-demis-hassabis-says-agi-may-arrive-by-2029-warns-worl...
1•evo_9•13m ago•0 comments

You might not need jQuery

https://youmightnotneedjquery.com/
1•chistev•15m ago•0 comments

Meta launches Instagram, Facebook, and WhatsApp subscriptions

https://techcrunch.com/2026/05/27/meta-officially-launches-instagram-facebook-and-whatsapp-subscr...
4•hsuduebc2•15m ago•3 comments

Is this a supply-chain attack attempt?

https://github.com/CirclonGroup/angular-tree-component/issues/962
2•maratumba•15m ago•1 comments

Supreme Court lets Vermont's Meta suit proceed, open door to 50-state legal wave

https://fortune.com/2026/05/27/supreme-court-meta-instagram-teen-lawsuit-states-vermont/
1•1vuio0pswjnm7•15m ago•0 comments

Top grossing law firm Kirkland & Ellis set aside $500M to create own AI platform

https://www.ft.com/content/1825bb59-7b28-460d-b009-ee3cea5dbac3
2•cwwc•15m ago•1 comments

Microsoft's stance on zero day exploits is a dumpster fire of their own making

https://doublepulsar.com/microsofts-stance-on-zero-day-exploits-is-a-dumpster-fire-of-their-own-m...
2•speckx•17m ago•0 comments

Gradle Is Javamaxxing

https://blog.gradle.org/gradle-is-javamaxxing
2•kassovic•17m ago•0 comments

Data pipelines powering generative AI systems rooted in invasions of privacy

https://www.amnesty.org/en/latest/news/2026/05/global-enormous-data-pipelines-powering-major-gene...
1•cdrnsf•17m ago•0 comments

Show HN: AI Skill to port PostgreSQL extensions to MySQL

https://github.com/villagesql/villagesql-skills
1•deesix•17m ago•0 comments

Wix cuts 20% of workforce in AI and currency restructuring

https://thenextweb.com/news/wix-is-cutting-20-of-its-workforce-as-a-strong-shekel-and-ai-competit...
1•thm•19m ago•0 comments

The Supernova That Sparked the Original Scientific Revolution

https://nautil.us/the-supernova-that-sparked-the-original-scientific-revolution-1281459
1•Brajeshwar•19m ago•0 comments

Which of these two videos is a better YC founder video

https://intro-showdown-184435192019.europe-west2.run.app
1•spookyuser•19m ago•0 comments