With the last update its now easier to tie data directly from your car to the dashboard. This guide will go over the steps of adding a new widget based on data you discovered from your OBD library.
Widgets depends on data from your car. So lets get an overview of how data is retrieved from your car and added to your widgets.:
Creating a new widget consist of the 3 steps shown above. Let go over them:
1) Library - Discover PID’s
Use the library to discover what data you want to log. The library consist of data automatically extracted from your car, but also contains data created by other users. The library is divided into two parts. Your own library and a community part. The community library contains all commands globally in the AutoPi system and your own library contains all the commands specifically releated to your car. If you find a command in the global library you can add it to your own library.
The last part is important, since you can only create loggers for commands located in your own library.
2) Loggers - What should be logged
Now that you have found out what should be logged, you need to setup your device to actually log this. This is done under the loggers section. To create a new logger, just press the “Create” button and you will get this screen:
From the PID list you simply select the PID you want to start logging. The list contains all the PID located in your library and only those you’ve moved to your library. Secondly you enter the interval you want log data with. Set the interval to something realistic. When you create your new logger, you can sync the loggers to the device and it will start logging immediately.
3) Widgets - Select logged data
Now that you have setup what data you want to log, the next step is to visualize the data. You can do that on the dashboard using widgets.
Go to the dashboard and press the “Add widget”. Then select one of the custom widgets, as you are creating a new widget.
Give your new widget a title and select the type of visualization you want. The “Field” contains the data you want to visualize. The widget component will automatically extract data you can visualize. This is done from your previous logged data.
You can only create widgets for data already logged, so you will have to log some data for your new logger before you can visualize it. But dont worry your data is always stored and once it starts streaming into the cloud it will be visualized for all previous trips which also used the new logger. This last part is important.
With these three steps you should be able to visualize all data from your car.