index.html converted to websocket stream instead of pooling light statuses