How can I get a Powered Up motor to run without using a hub? I'm mainly taking part in LEGO events as part of a Great Ball Contraption exhibit.

Most of the modules I make, and that's true for a lot of other builders, are purely mechanical in nature and driven by a single always-on motor.
Since the motors have to run continuously for whole days, we usually connect them to 9V train transformers; which isn't a problem for PF motors thanks to the conversion cables available.

However, since LEGO will eventually phase out PF motors, I'm worried about the future - as there doesn't seem to be plans to provide conversion cables for Powered UP elements.

So, is there another way to somehow connect a Powered Up motor to a mains transformer and have it run continuously?
There is at least one third-party Power Functions to Powered Up adapter available that can be used for this purpose:



Here's a video demonstrating it in action:

https://www.youtube.com/watch?v=96SxM-0UkVQ