X10 Community Forum

📱🖥️PiX10Hub ( Always Evolving Open Source) => 🧾Wish list => Topic started by: Tuicemen on May 15, 2019, 10:14:37 AM

Title: Change the HG Weather info display
Post by: Tuicemen on May 15, 2019, 10:14:37 AM
The current OpenWeatherMap widget in HG shows a 3 day forecast however what irks me is the hi low values are always the same value.
I played around with the API attempting to get a 3 day Hi/low temperature but the API always reported the same value for the day temperature and the hi and low value. B:( so the issue is how the API is reporting.
Maybe it doesn't bother most users however I'd preferer to have it display something useful like the forecasted Temperature and Humidity values for each of the 3 days.
I managed to do a bit of editing to the OWM program and widget and got  this:
Title: Re: Change the HG Weather info display
Post by: Tuicemen on May 15, 2019, 01:56:46 PM
I added code to the program in a pull request I currently have open.
As soon as I find the location to make widget changes in the HG code I'll create a pull request for it as well.
For those that are comfortable editing widgets and HG scripts you can find the code and directions to make these changes here:
https://github.com/genielabs/HomeGenie/issues/382
This will get you something usable prior to a HG update with the pull requests added.
 >!
Title: Re: Change the HG Weather info display
Post by: Tuicemen on May 15, 2019, 03:15:25 PM
ok I believe I have all the related files changed and posted in the pull request.
if this gets implemented it will look like the image posted in the OP.
 >!