09-04-2022, 04:17
(08-04-2022, 20:20)SR123 Wrote: Made one Today
Nice 3D print.(08-04-2022, 20:20)SR123 Wrote: Just a question, how do you change the wind speed to mph?
Code:
// --------------------------------------------------------------------------------------
// Define units
// --------------------------------------------------------------------------------------
const boolean IS_METRIC = true;Try change it to "false".
Currently the Weather Cube firmware doesn't have yet the fancy capability of allowing the user to freely chose the units for each kind of weather data (Temp, Wind, Rain etc), as happens with all the WeatherDuino systems.
So, if you chose "Metric true" all values will be shown using Metric units, by the contrary if you chose "Metric false" all values will be shown using Imperial units.
In a few days there will be new Weather Cube firmware with some changes on this matter:
Case 1 - If the user define that the unit will show data coming from their WeatherDuino receiver, then the units for each weather data will automatically follow the units selected by him on the receiver (exactly as currently happen on the WeatherDuino Weather Display units).
Case 2 - When the Weather Cube is used in stand alone mode, since all the data are gathered from OpenWeather, units will be in Metric or Imperial units, according to user selected option.
(08-04-2022, 20:20)SR123 Wrote: Also I had to change O (Oeste?) to W (West) in the Config Options. (const char* vaneDirectionsText)
Yes, to keep the software simple, things like abbreviated day names or wind directions letters, are user editable for the desired language.


