Open gwaag opened 5 years ago
Hi Thomas, where exactly do you like to see it? I've changed it for Weather diagnostics, see the code:
wuText.append("Mean Temp: " + data.meantempi + "°F / " + ((data.meantempi - 32) * (5 / 9)).toFixed(2) + "°C");
Thank you taHC81, works very well.
Resolved Weather Provider IP: (null) Overall Scale: 1% Yesterday's Values Mean Temp: 58°F / 14.44°C Min Humidity: 38% Max Humidity: 96% Precipitation: 0.07" / 1.78 mm Wind: 4.1mph / 6.60 kmh Today's Values Precipitation: 0" / 0.00 mm UV: 1.8
regards Thomas
Glad to help ;)
If you want to submit that PR i'll include it.
On Thu, May 23, 2019 at 2:44 AM taHC81 notifications@github.com wrote:
Glad to help ;)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/144?email_source=notifications&email_token=AABIJXFHOLZH3CBC4UFLXLDPWY4MZA5CNFSM4HOR6QH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWBHKWQ#issuecomment-495088986, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIJXCZC3KFVLBW575JL6LPWY4MZANCNFSM4HOR6QHQ .
Pull request sent. My first time doing a PR, hope I did it correctly.
Hello, would it be possible to display the weather values in metric system? mm, C°, km/h, etc. for the sprinklers_pi. Thanks and regards Thomas