more G-Labs products

Author Topic: WU module displaying metric when otherwise configured  (Read 1007 times)

May 06, 2016, 08:19:21 AM
Read 1007 times

jensc

  • **
  • Information
  • Jr. Member
  • Posts: 34

Am I the only one for whom the Weather Underground module displays metric wind and rain numbers after configuring HG for Fahrenheit (Imperial) measurements?

Might that be an HG issue or a Weather Underground problem?  It has been this way since I first installed HG some time ago.

JC

May 06, 2016, 08:55:04 PM
Reply #1

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
I think, it depends on your browser language (or other), for example in chrome :
https://support.google.com/chromebook/answer/1059490?hl=en

But in HomeGenie interface you can change temp unit from the Maintenance page, under "User Interface".

May 07, 2016, 12:38:05 AM
Reply #2

jensc

  • **
  • Information
  • Jr. Member
  • Posts: 34
@nolio,

I have already changed that setting to "Fahrenheit" when installing HG.

My point is that it only changed the temperature display.  The wind speed and rain amounts are still displayed in k/ph and mm, respectively.

Four different browsers have the same problem and even HG+ for Android doesn't get it right either.  That does not point to the browser language as the solution.

JC

May 07, 2016, 01:44:06 PM
Reply #3

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Ok you are right... Probably no code in WU program to manage rain and wind.
Did you take a look in the code ?
I will take a look later...

May 07, 2016, 02:23:57 PM
Reply #4

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
in WU code, you have temperature in °C and °F, but for :
  • rain only "precip_1hr_metric"
  • wind only "wind_kph"

What do you need instead ?

May 07, 2016, 04:12:13 PM
Reply #5

jensc

  • **
  • Information
  • Jr. Member
  • Posts: 34

Those of us in North America use "miles per hour" for wind speed and "inches", or fractions thereof, for rain accumulation.  Those are standard Imperial measurements consistent with the use of Fahrenheit for temp.

August 11, 2016, 09:50:26 PM
Reply #6

jensc

  • **
  • Information
  • Jr. Member
  • Posts: 34