Metal ions drive thermodynamics and photochemistry of the bis(styryl) macrocyclic tweezer.