has anyone tried using PlayCanvas with live sensor data?

Hey everyone — I’m thinking of building a small 3D web-visualization in PlayCanvas that reacts in real time to external sensor inputs (for example, motion or temperature from an ESP32). I came across this project where someone uses ESP32 + PIR motion detection for live alerts https://www.theengineeringprojects.com/2022/03/iot-based-motion-detection-with-email-alert-using-esp32.html it made me wonder if I could feed that same data into a PlayCanvas scene.

I’ve seen a few Arduino forum threads and Raspberry Pi projects where people push sensor data to web dashboards via MQTT or HTTP, but I haven’t found much about integrating that with WebGL engines like PlayCanvas. Has anyone here done something similar? What data-flow architecture did you use (WebSocket, REST polling, intermediates), and how did you manage latency or synchronization in the 3D environment?

Hi @aria_2 and welcome!
Before I get too far into explanations, would wired work or do you want a wireless setup?