This weekend you can follow the European Speed Battle live on Alice (Alice Live InterContinental Edotta). But, what’s Alice? It’s a live telemetry software that’s been developed to permit all to follow the livestream of our races, viewing the data of the sensors of the bike in real time through a browser.
How it works
There are different components hardware and softwares that permit to have this result, and all is synthesized in this picture:
Explaining it textually:
- In the bike there is Raspberry, a mini computer, that collects all the data of the different sensors on the bike, communicating each other with the MQTT protocol.
- The Raspberry computer inside it it’s not connected to the internet, so to send the data to our server it communicates with the van that follows the bike with a little external antenna.
- On the van a small software takes the data from the bike and, through the MQTT protocol, are sent to our server in-cloud.
- On the server, data are saved in a database (Influx DB), and they are in part go public through the software called Pino, which prepares them for Alice, while to see the history of data and to export them we used Grafana.
- At this point, the data are ready to be sent in Alice, that is the frontend of all this process. On Alice there is also a system of authentication that is based on Firebase: this permits the team members to visualize reserved data.
The used technologies
Alice is, technically taking, a PWA (Progressive Web App). This means that it is possible to install it on your own device, and it will behave like it was a native application.
This is possible thanks to React, the Javascript framework that we used to develop the interface, togethere with a CoreUI and Bootstrap for the design of the graphics.