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 |
Rob Nielsen 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:
results in:
32, 33.8, 35.6, 37.4, 39.2, 41
Fahrenheit.
Conversely, if the binding defaulted to Fahrenheit, the sequence in Fahrenheit:
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.
|
|
| | |
Goto Forum:
Current Time: Thu Sep 26 11:39:11 GMT 2024
Powered by FUDForum. Page generated in 0.04622 seconds
|