Text this: Amorphous Silicon p-i-n Structure Acting as Light and Temperature Sensor