So, I have the mysensors and the openweather plugins set to imperial measurements. How do I get the GUI to show F instead of C?
Imperial Measurements, but Temperatures still show C
What is F?
I am not sure that this is implemented at the moment
Hahaha. Yeah, we should just convert to metric and join the rest of the world.
I did however find that it was set as a unit in the pimatic-mysensors plugin. I changed the unit from °C to °F and that did the trick. Now I’ll have to change the code to check if the gateway is configured for metric or imperial. Then I’ll have to learn learn Git so I can contribute the fix for the 2 Americans that use pimatic.
That and I still have to find it in openweather.
A better way is to extend the “Human format” system of the mobile-frontend. This system creates the conversion.
But this would only affect the shown style and nicht the stored value.
Eventually your way is the better one.
EDIT: I have also changed windspeed to “mph” (miles per hour) if “units” is set to “imperial”. See http://openweathermap.org/weather-data#current for reference. Moreover, units “standard” is also handled - just for the sake of completeness as only physicist use Kelvin
EDIT - EDIT: Thanks to @sweetpi for publishing this super fast Note, however, v0.8.10 only contains the fix for “temperature” imperial measurement. Windspeed and standard temperature measurement will be published some time later.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law