Can Armory3D run real-time sensor-driven input

Hey everyone — I’m thinking about using Armory3D to build a visualization that reacts to live sensor data from an IoT device (like motion or temperature sensors). I recently looked at this ESP32 motion-sensor project https://www.theengineeringprojects.com/2022/03/iot-based-motion-detection-with-email-alert-using-esp32.html and wondered if the data stream could feed directly into Armory’s update loop to drive animations or object states.

I’ve seen several Arduino-forum and Raspberry Pi-project threads where people push sensor data to a server or MQTT broker — some even use websockets or HTTP to stream values — but I haven’t found many examples combining this with a real-time 3D engine. Has anyone tried something similar with Armory? What’s the workflow you used (polling, websocket, REST API), and did you notice latency or synchronization issues inside the engine’s frame updates?

I’ve been pretty successful with synchronizing player input, location and rotation information of game objects via web sockets. I use meteorjs(nodejs) to serve the page up and keep the data in sync. If your IOT device can hit an http endpoint then it would be pretty simple to reflect those changes back into an Armory3D app.

Websockets! See my example Tutorial: Use all Android sensors of your phone via websockets (All source incl.) - #3 by 3D-Penguin