more G-Labs products

Author Topic: Weather Underground stopped working  (Read 4131 times)

December 17, 2015, 12:25:55 AM
Read 4131 times

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Foe no apparent reason Weather Underground has stopped working. The following error code reported: "Unable to get data from service.Argument out of range. Parameter name: index.". I've made no changes to the program or my details on Wunderground. Any ideas on this problem.

December 17, 2015, 12:44:10 AM
Reply #1

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Just updated to latest version r507 and everything working again

December 20, 2015, 06:26:45 PM
Reply #2

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
To me stop working after update to 1.1 always get the monn_phase error

Code: [Select]
Program.Notification = "{"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}"

December 22, 2015, 01:50:35 PM
Reply #3

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
It's been a bit flaky for me since updating to 1.1 r505. I'm going to have a closer look to see what the problem is when I get the time.

January 07, 2016, 09:40:50 AM
Reply #4

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
Any find about the problem?

January 07, 2016, 12:48:38 PM
Reply #5

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
WeatherUnderground working in r505 for me.  I have @Sunset @Sunrise controlling my landscape lights, I just checked yesterday after work and they were off during the day, and then on this morning before sunrise.  Maybe log into weatherunderground site and check your key?

January 07, 2016, 01:07:52 PM
Reply #6

Michel

  • **
  • Information
  • Jr. Member
  • Posts: 42
I run HG on Raspberry Pi and I got the "moon_phase" error yesterday after upgrading to r511. I tried to restart Weather Underground several times with no luck. I finally reboot the Raspberry and WU has been OK since.

January 07, 2016, 04:07:31 PM
Reply #7

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I've gotten the moon_phase error too.  I don't think it's a field included in all cities for some reason.

January 12, 2016, 05:01:47 AM
Reply #8

howardtopher

  • *
  • Information
  • Newbie
  • Posts: 2
I'm getting the same error.  Running r512 now.  It was working fine on r511 and broke after I ran the update.

January 18, 2016, 06:41:04 AM
Reply #9

Britton

  • *
  • Information
  • Newbie
  • Posts: 7
Haven't gotten it to work after updating to r512.  Get an "cannot perform runtime binding with a null reference."

January 21, 2016, 06:31:01 PM
Reply #10

Britton

  • *
  • Information
  • Newbie
  • Posts: 7
Weather Underground is now working OK with v 512.  I forgot that the city is formatted:  " TX/Dallas "

March 10, 2016, 11:44:36 PM
Reply #11

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
The problem of moon_phase could be the _ ?

I'm getting the string error, but the moon_phase exist in the object... could this be a raspeberry/c# issue?

March 11, 2016, 12:13:49 AM
Reply #12

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
This is stupid... but i can0't put it to work. I assume the issue is with the rpi plus hg version + mono... can't figure it :(

Code: [Select]
var iplocation = Net.WebService("http://freegeoip.net/json/").GetData();
Program.RaiseEvent("IP to IP", iplocation,"");
Program.RaiseEvent("IP to City", iplocation.city,"");
Output
Code: [Select]
23:10:47.305 Program.Notification {"Title":"IP ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `city'"}
23:10:47.248 IP to IP {"ip":"188.37.44.66","country_code":"PT","country_name":"Portugal","region_code":"02","region_name":"Beja","city":"Quinta","zip_code":"","time_zone":"Europe/Lisbon","latitude":37.4903,"longitude":-7.8659,"metro_code":0}

March 14, 2016, 09:40:40 PM
Reply #13

cbb

  • *
  • Information
  • Newbie
  • Posts: 9
I have the same problem, began a few days ago.
Did Weatherunderground change the interface slightly?

March 14, 2016, 10:02:48 PM
Reply #14

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I had an issue with WU a while back.  I looked at the json file that HG was pulling and figured out the issue.  I don't recall the problem I had (most likely unrelated), but I'd recommend looking at the file that is served by WU to verify it's formatted as expected and contains the right information.