Please login or register.

Login with username, password and session length
Advanced search  

News:

The X10Hub (PiX10Hub) is here! Created by the Community, for the Community.:)% #:)

Author Topic: Change the HG Weather info display  (Read 164 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 264
  • Posts: 9423
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
Change the HG Weather info display
« 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:
« Last Edit: May 15, 2019, 03:15:45 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 264
  • Posts: 9423
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
Re: Change the HG Weather info display
« Reply #1 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.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 264
  • Posts: 9423
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
Re: Change the HG Weather info display
« Reply #2 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.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.