Compounds useful as reversible light-regulated agonists for activation of Vitamin D receptor (VDR) using wavelengths suitable for phototherapy, that would avoid the appearance of secondary effects, with application for the treatment of diseases that involve an alteration of the VDR function.