Apparatus for use with an external non-visible light source is provided. The apparatus comprises an intraocular device configured for implantation in a human eye, and comprising an energy receiver. The energy receiver is configured to receive light emitted from the external non-visible light source, and extract energy from the emitted light for powering the intraocular device. The intraocular device is configured to regulate a parameter of operation of the intraocular device based on a modulation of the light emitted by the external non-visible light source and received by the energy receiver. Other embodiments are also described.