Please login or register.

Login with username, password and session length
Pages: 1 [2] 3

Author Topic: Updated Weather Program and Widget  (Read 12685 times)

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #15 on: December 19, 2020, 01:06:44 PM »

You are missing the API key setting too

that is set in JKutil and also the original openweathermap:  I never saw a place to enter it in your version - or the city unless I use the 3 bars on config-group page.
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #16 on: December 19, 2020, 01:09:09 PM »

I will try putting the api key and city and c/F =1 answer into the 3bar parameter list on config group page (remember, changing c/f on actual group page shows 1 for F but still shows 0 on settings page.
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #17 on: December 19, 2020, 01:10:12 PM »

You need the API key in my weather program too
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #18 on: December 19, 2020, 01:18:21 PM »

You need the API key in my weather program too

Funny, now your program shows spot to enter API key!  See below!  It didnt have that a bit ago! 
« Last Edit: December 19, 2020, 01:31:32 PM by mike »
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #19 on: December 19, 2020, 01:20:25 PM »

maybe I need to restart HG?  will try...  that did not help.

Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #20 on: December 19, 2020, 01:21:06 PM »

FYI - u probably don't want to show your API key, you should edit that post and xxxx it out.
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #21 on: December 19, 2020, 01:22:04 PM »

...  you can try restarting the widget and if that doesn't work then try restarting H.G.
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #22 on: December 19, 2020, 01:33:54 PM »

restarting HG did not change it.

You can see orig openweather works and so does JKutil...  no matter what I do your widget seems broken on my pi4 with that dang error on a line that does not exist.
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #23 on: December 19, 2020, 01:40:47 PM »

I'm not sure what the problem is.  What version of raspian are you running?  What version of HomeGenie?
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #24 on: December 19, 2020, 01:53:42 PM »

latest HG (1.3 stable 19).  running 8/20/2020 latest Buster.  Pi4 w/2GBram.
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #25 on: December 19, 2020, 01:55:17 PM »

Try stopping the default weather program amd removing the dedst weather widget and see what happens
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #26 on: December 19, 2020, 01:57:28 PM »

Here is what my weather widget looks like.  I haven't changed the code for this since spring or early summer.
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #27 on: December 19, 2020, 02:17:09 PM »

Nice.   We think alike:  I just deleted the orig openweather prog and widget, as well as yours, just leaving JKutil.  imported your prog and widget again.  set api key & Farenheit=1 and location use long/lat=1

JKutil continues to show Dayton ok.

Your still crashes on line 7313 that does not exist!

DANG!
Logged

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 1057
Re: Updated Weather Program and Widget
« Reply #28 on: December 19, 2020, 02:19:53 PM »

on restarts of your version I also get this error popup if it is a clue?
Logged

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 388
Re: Updated Weather Program and Widget
« Reply #29 on: December 19, 2020, 02:22:44 PM »

It's not building a valid API call.   I will have to take a look so e more, but I'm not in front of of computer so it probably won't be until Monday
Logged
Pages: 1 [2] 3
 

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