Oil Pressure returning "-nan"
Possibly some JSON validation could fix this, I'm not sure. Using the latest ETCars version and the latest ATS version w/ ALL currently available states as DLC.
etcars-node-client reports the following:
Unexpected token n in JSON at position 1118
Unexpected token n in JSON at position 1118
Unexpected token n in JSON at position 1118
Unexpected token n in JSON at position 1118
Unexpected token n in JSON at position 1118
Attempting to parse the JSON and finding said position using this website resulted in me finding that the following value returns like this:
"brakeTemperature":0,
"fuelRange":0,
"oilPressure":-nan,
"oilTemperature":0,
"waterTemperature":0,
"batteryVoltage":0,
As you can see, "oilPressure" is returning dash-nan, which is an invalid JSON value.