Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weather_adj plugin issues
#2
Hi David,

Let me look into this.

That plugin has been around for a while and was updated recently. There is no logging capability in the plugin but perhaps we could add it in order to debug the problems. I try to keep logging to a minimum to prolong the life of the SD card which has a finite number of write cycles.

For one, it sounds like the plugin may not be handling data request errors from WU properly. There is only one "try, except" error handling block in the plugin and it is for checking the existence of the plugin's configuration file.

From a quick look through the code it appears the plugin will cancel the rain delay as soon as good weather is detected if the "Reset Delay On Good Weather" option is checked in the plugins configuration page. Please check that setting.

There are some other parts of the code that look like they can be improved. I did not write the plugin and have not given it a close inspection before. I will go through it and do some testing.

The plugin is also set up to run in a thread. If the plugin hangs that would not be detected by the main program.


There may also be some future changes in Weather Underground now that it has been acquired by IBM corp.

Dan
Reply


Messages In This Thread
weather_adj plugin issues - by DavidCNZ - 2015 Nov 30, 07:44 AM
RE: weather_adj plugin issues - by dan - 2015 Nov 30, 06:18 PM
RE: weather_adj plugin issues - by dan - 2015 Dec 01, 06:58 PM
RE: weather_adj plugin issues - by DavidCNZ - 2015 Dec 02, 04:50 AM
RE: weather_adj plugin issues - by dan - 2015 Dec 10, 06:47 PM
RE: weather_adj plugin issues - by DavidCNZ - 2015 Dec 10, 09:05 PM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Jan 17, 01:40 AM
RE: weather_adj plugin issues - by dan - 2016 Jan 17, 02:32 AM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Jan 17, 02:39 AM
RE: weather_adj plugin issues - by dan - 2016 Jan 23, 06:28 PM
RE: weather_adj plugin issues - by dan - 2016 Feb 04, 11:43 PM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Feb 08, 11:19 PM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Feb 19, 10:26 PM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Mar 04, 11:22 PM
RE: weather_adj plugin issues - by dan - 2016 Mar 10, 06:15 PM
RE: weather_adj plugin issues - by DavidCNZ - 2016 Mar 24, 05:39 AM
RE: weather_adj plugin issues - by Ryan - 2017 Jul 13, 10:32 AM
RE: weather_adj plugin issues - by dan - 2017 Jul 13, 06:37 PM
RE: weather_adj plugin issues - by Ryan - 2017 Jul 14, 10:24 AM
RE: weather_adj plugin issues - by Ryan - 2017 Jul 14, 11:37 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)