Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » Can the Yahoo! weather binding be configurable for Celsius or Fahrenheit?
Can the Yahoo! weather binding be configurable for Celsius or Fahrenheit? [message #1703430] Fri, 31 July 2015 13:41 Go to next message
Rob Nielsen is currently offline Rob NielsenFriend
Messages: 7
Registered: July 2015
Junior Member
The Yahoo! weather RSS feed defaults to Fahrenheit, but the Smart Home Yahoo! weather binding uses Celsius. And it returns whole numbers (0, 1, 2, 3) for both Celsius and Fahrenheit.

This introduces inaccurate results if the end user wants Fahrenheit instead of Celsius since every 1 degree Celsius is equivalent to 1.8 degree F. For example, the sequence in Celsius:
0, 1, 2, 3, 4, 5

results in:
32, 33.8, 35.6, 37.4, 39.2,  41

Fahrenheit.

Conversely, if the binding defaulted to Fahrenheit, the sequence in Fahrenheit:
0, 1, 2, 3, 4, 5

results in:
-17.8, -17.2, -16.7,  -16.1, -15.6 -15

Celsius.

Another option would be for the binding to report in Fahrenheit and convert to Celsius.
Re: Can the Yahoo! weather binding be configurable for Celsius or Fahrenheit? [message #1703441 is a reply to message #1703430] Fri, 31 July 2015 15:05 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
See also https://www.eclipse.org/forums/index.php/t/1068864/.
The problem is currently the static thing definition; we would either need to define 2 channels or make it dynamic. With the introduction of units to Number items, there will be new ways of addressing this, that's why I would like to wait until we have that feature.
Re: Can the Yahoo! weather binding be configurable for Celsius or Fahrenheit? [message #1703462 is a reply to message #1703441] Fri, 31 July 2015 17:37 Go to previous message
Rob Nielsen is currently offline Rob NielsenFriend
Messages: 7
Registered: July 2015
Junior Member
Shouldn't the binding report values in Fahrenheit instead of Celsius so precision isn't lost?
Previous Topic:Multi select configDescription options
Next Topic:Conversion of channels to different systems of measurements
Goto Forum:
  


Current Time: Mon May 13 21:49:05 GMT 2024

Powered by FUDForum. Page generated in 0.02997 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top