Weather Underground Plugin

Posted on
Thu Nov 17, 2016 1:20 pm
davinci offline

Re: Weather Underground Plugin

durosity wrote:
Just an FYI i've been getting this popping up intermittently the last few days:

16 Nov 2016, 00:23:57
WUnderground Your plugin version, v1.0.03, is current.
WUnderground Error Unable to reach Weather Underground. Line 851 Reason: local variable 'parsed_simplejson' referenced before assignment
WUnderground Error Sleeping until next scheduled poll.

Not sure if it's a i7 change or another API issue.. or of course incompetence.. whatever it is.. fix it. ;)



I'm having the same message on mine as well.

Posted on
Thu Nov 17, 2016 4:58 pm
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

davinci wrote:
durosity wrote:
Just an FYI i've been getting this popping up intermittently the last few days:

16 Nov 2016, 00:23:57
WUnderground Your plugin version, v1.0.03, is current.
WUnderground Error Unable to reach Weather Underground. Line 851 Reason: local variable 'parsed_simplejson' referenced before assignment
WUnderground Error Sleeping until next scheduled poll.

Not sure if it's a i7 change or another API issue.. or of course incompetence.. whatever it is.. fix it. ;)



I'm having the same message on mine as well.

Thanks for reporting in. You'll notice that I ignored Durosity's flippant report. :D

What's happening here is that WUnderground is responding, but the JSON engine is unable to correctly decipher the response (it's broken in some way). What you're seeing as a result of this situation is my fault because the error trap isn't representative enough of the problem. I've added an additional trap that attempts to be more descriptive of the situation and it will be in the next available version. It has nothing at all to do with I7.

Durosity, on the other hand, can sod off.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Nov 17, 2016 5:15 pm
durosity online
User avatar
Posts: 4363
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Weather Underground Plugin

I've been sitting here for 5 mins trying to think of a witty retort. But I can't. It's been a terrible last few days and I'm just drained. So I thought I'd post this to make you feel sorry for me instead.

Donations to the usual address.


Sent from my iPad using Tapatalk

Computer says no.

Posted on
Thu Nov 17, 2016 5:18 pm
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

durosity wrote:
I've been sitting here for 5 mins trying to think of a witty retort. But I can't. It's been a terrible last few days and I'm just drained. So I thought I'd post this to make you feel sorry for me instead.

Donations to the usual address.


Sent from my iPad using Tapatalk

I've felt sorry for you for a long time.

Unless it's been a really terrible few days in which case you have my sympathy.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Nov 17, 2016 5:25 pm
Different Computers offline
User avatar
Posts: 2579
Joined: Jan 02, 2016
Location: East Coast

Re: Weather Underground Plugin

DaveL17 wrote:
Unless it's been a really terrible few days

The whole world has had a really terrible week.

Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP

Posted on
Sat Nov 19, 2016 1:05 pm
racarter offline
User avatar
Posts: 480
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Weather Underground Plugin

Hi Dave

Don't know what the WUG idiots have done, but those spurious readings are now being sent even when the estimated flag is not set, so your recent fix is being bypassed. :(

I've just prodded them again, having had no reply since I forwarded the API details you provided.

In an attempt to give them more information I tried writing the data to a file per your menu option, but it just produced a text file containing only the date; no data.

Posted on
Sun Nov 20, 2016 6:00 am
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

racarter wrote:
Hi Dave

Don't know what the WUG idiots have done, but those spurious readings are now being sent even when the estimated flag is not set, so your recent fix is being bypassed. :(

I've just prodded them again, having had no reply since I forwarded the API details you provided.

In an attempt to give them more information I tried writing the data to a file per your menu option, but it just produced a text file containing only the date; no data.

I hope to take a deep dive on the WUnderground Plugin to see what I can do to (at least) minimize the damage. When I originally designed the plugin, I planned for obvious things (like the service being offline) but didn't really foresee this kind of trouble.

One odd thing here on my install is that it seems to be happening with only one site--this chart shows my local sensor, 2 PWS', and a US ZIP location (the red line is one of the PWS'.) So you may be able to find another site nearby that's more stable.

Screen Shot 2016-11-20 at 5.49.34 AM.png
Screen Shot 2016-11-20 at 5.49.34 AM.png (39.28 KiB) Viewed 3821 times

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Nov 20, 2016 6:33 am
racarter offline
User avatar
Posts: 480
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Weather Underground Plugin

Just doing a simple 'conditions' API call in a browser I've noticed that the display_location changes when the fault occurs, but the observation_location remains correct. Also, the observation_time changes to June 30!

Posted on
Sun Nov 20, 2016 7:17 am
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

racarter wrote:
Just doing a simple 'conditions' API call in a browser I've noticed that the display_location changes when the fault occurs, but the observation_location remains correct. Also, the observation_time changes to June 30!

Thanks for letting me know this. If you can catch the JSON showing the difference please let me know and we can share offline.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Nov 20, 2016 9:16 am
racarter offline
User avatar
Posts: 480
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Weather Underground Plugin

I've already got it Dave. Sent to WUG last night (but no response, naturally). Copied you offline.

Posted on
Sun Nov 20, 2016 10:38 am
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

Thanks! Hopefully, that will be enough for me to figure out a good way to recognize hinky data.


Sent from my iPhone using Tapatalk

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 22, 2016 12:26 pm
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

I just wanted to let everyone know that I'm still on the case. I have feelers out to WUnderground through several channels (maybe they'll listen if enough complain!) There's nothing that I can do about missing data (other than to ignore it) and have a good plan for instances where WUnderground sends data that's 5 months old(!) where the plugin will just retain the last good value.

Hopefully I'll have an updated version of the plugin available soon. Thanks all for your patience. With 12 hour days at the job that pays the rent and the ramp up to the Thanksgiving holiday, there's little time left where I have the capacity left in the cranium to do much quality coding. (Cue Durosity!)

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Nov 24, 2016 5:21 am
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

Got a word back from WU. They're acknowledging that things aren't as they should be.

Wunderground Support wrote:
Hello,

There currently is an issue with state historical data through the API. We don't have an immediate fix for it, but we are investigating the problem and will fix it.

Thank you,
Wunderground Support

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Nov 24, 2016 5:49 am
racarter offline
User avatar
Posts: 480
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Weather Underground Plugin

Oh well - at least they've acknowledged the problem! :)

Posted on
Thu Nov 24, 2016 6:11 am
DaveL17 offline
User avatar
Posts: 6789
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Weather Underground Plugin

racarter wrote:
Oh well - at least they've acknowledged the problem! :)

Indeed!

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 48 of 56 1 ... 45, 46, 47, 48, 49, 50, 51 ... 56

Who is online

Users browsing this forum: No registered users and 8 guests