grafana / strava-datasource

Strava datasource for Grafana dashboard
MIT License
185 stars 26 forks source link

Include Distance as Miles #43

Closed Irievibesender closed 2 years ago

Irievibesender commented 3 years ago

I see that the default API brings in the data as kilometers. My Strava dashboard is setup for miles, but apparently that is only for my account and not the API data. I tried to change the data units to miles in Grafana but if I ride for instance 11.45km and this shows up on my dashboard. If i change the units to miles it will just make it 114450 miles instead of converting it over to 7.11 miles. I have not found anyway to have it display in miles thus far and wonder how those living in the US can get this to show in miles.

Irievibesender commented 3 years ago

2021-06-10 22_57_23-Window 2021-06-10 22_55_41-Window

Irievibesender commented 3 years ago

I did find a way to add a binary transform and covert the apparently data feed meters to miles image

alexanderzobnin commented 2 years ago

I added automatic conversion based on your profile preferences.

Screenshot from 2021-12-24 12-02-32