Data Every Second

Over the coming weeks, we'll be rolling out our increased data collection rate to all Vinli devices. The current rate (one message every 3 seconds) will be bumped up to 1hz (one message every second), a noteworthy increase.

Let's head over to Vinli CLI for a quick demo.

We can start by listing out devices:


$vinli device list
┌──────────────────────────────────────┬─────────────────────┬─────────────────────────────────────────┐
│ ID                                   │ Name                │ Created                                 │
├──────────────────────────────────────┼─────────────────────┼─────────────────────────────────────────┤
│ be4f46bc-4090-4062-9549-baf5f8eb8523 │ FrostyTheSnowVinli  │ Tue May 17 2016 08:58:38 GMT-0500 (CDT) │
│ 60549e46-e221-4df7-8bc6-077f9538141d │ Marko's SpeedWagon  │ Tue Apr 23 2016 12:16:11 GMT-0500 (CDT) │
│ 4787ce75-6000-4ca5-a8ec-38e108b0713e │ Rust_Bucket5000     │ Thu Mar 01 2016 09:54:06 GMT-0500 (CDT) │
└──────────────────────────────────────┴─────────────────────┴─────────────────────────────────────────┘

Okay, now lets grab the device ID for Rust_Bucket5000 and open up WebSocket stream.

$vinli device stream --device 4787ce75-6000-4ca5-a8ec-38e108b0713e 
Creating websocket...
 - Websocket open.
Subscribing to device 4787ce75-6000-4ca5-a8ec-38e108b0713e...
 - Subscription acknowledged (device 4787ce75-6000-4ca5-a8ec-38e108b0713e)

And voila! Messages start pouring in.


2016-07-01 17:08:16 -0500 -----------------------------------------------------------------
 lon: -96.720472  lat: 32.816852                    calculatedLoadValue: 63.529411764705884
                                                 intakeManifoldPressure: 62
                                                            massAirFlow: 9.8
                                                  oxygenSensorLocations: Bank 1 Sensor 1,Bank 1 Sensor 2
                                                  oxygenSensorVoltage1b: 0.67
                                                                    rpm: 1363
                                                    shortTermFuelTrim1b: -0.78125
                                                           vehicleSpeed: 62
2016-07-01 17:08:17 -0500 -----------------------------------------------------------------
 lon: -96.721142  lat: 32.81638                     calculatedLoadValue: 70.58823529411765
                                                  designOBDRequirements: OBD-II as defined by the CARB
                                                 intakeManifoldPressure: 70
                                                            massAirFlow: 11.41
                                                                    rpm: 1357
                                                runTimeSinceEngineStart: 199
                                                           vehicleSpeed: 63
2016-07-01 17:08:18 -0500 -----------------------------------------------------------------
 lon: -96.721622  lat: 32.816052                    calculatedLoadValue: 54.509803921568626
                                       commandedExhaustGasRecirculation: 16.862745098039216
                                           distanceTraveledMILActivated: 0
                                                 intakeManifoldPressure: 58
                                                            massAirFlow: 11.93
                                                                    rpm: 1290
                                                           vehicleSpeed: 63
2016-07-01 17:08:19 -0500 -----------------------------------------------------------------
 lon: -96.721853  lat: 32.815712                    calculatedLoadValue: 55.68627450980392
                                              commandedEvaporativePurge: 0
                                           exhaustGasRecirculationError: -7.8125
                                                 intakeManifoldPressure: 56
                                                            massAirFlow: 9.37
                                                                    rpm: 1342
                                                           vehicleSpeed: 62
2016-07-01 17:08:20 -0500 -----------------------------------------------------------------
 lon: -96.72235   lat: 32.815487                    calculatedLoadValue: 37.64705882352941
                                               distanceSinceDTCsCleared: 21799
                                                         fuelLevelInput: 38.03921568627451
                                                 intakeManifoldPressure: 41
                                                            massAirFlow: 6.23
                                        numberOfWarmupsSinceDTCsCleared: 255
                                                                    rpm: 1296
                                                           vehicleSpeed: 62