Powering a supramolecular machine with a photoactive molecular triad.