Design principles are discussed for the polyfunctional crown compounds that are able to act as optical molecular sensors or photocontrolled receptors with respect to metal and ammonium cations.