The device was running Linux, which spins up a Rails server on start. The Rails server acts as the brain of the device: it controls the I/O of the user, communications with the backend and the mobile app, and communication with other internal bricks (like the Python app that runs the Computer Vision algorithms).