Using Optoelectronic Devices as a Self-Powered Camera Inside a Smart Home