Odometer reading from forward.url

Sai Reddy7 years ago

Hi,

I am using forward.url and it is working fine.

How to get Odometer reading from forward.url?

Anton Tananaev7 years ago

It's part of "attributes" parameter.

Sai Reddy7 years ago

Thanks for your reply Anton.

I used 'attributes' parameter in the froward.url, but i got the following values only

attributes: '{"alarm":true,"ignition":true,"power":4,"gsm":4,"index":58,"ip":"27.52.162.99"}'

for every hit

Anton Tananaev7 years ago

It means that your device doesn't report odometer.

Sai Reddy7 years ago

Is there any version dependency for “distance” and “totalDistance” to show up in attributes?

Anton Tananaev7 years ago

It is not available on some older versions.

Sai Reddy7 years ago

not available for only "forward.url" or in mysql too?

Anton Tananaev7 years ago

Attributes are the same doesn't matter if it's forwarding or database.