Added logic for streaming light sensor input to redis