Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weather_adj plugin issues
#5
I just pushed an updated version of the weather_adj plugin to to GitHub.

It includes a logging capability which is disabled by default. Once you re-install the plugin you can open the weather_adj.py file in the plugins folder and enable logging by editing line ~20 and change "False" to "True". The log file will be created in the data directory.

The update also includes error handling blocks around all web access code. This should help prevent the plugin from hanging. There is also code to stop any running copies of the plugin when the program is restarted.

I have been running this plugin for a couple of weeks and it seems to be working properly. We have gotten some rain in the past few days and the plugin activated rain delay.

The remaining time display for the rain delay does not update automatically, you need to refresh the page to get it to update. This is due to the way the main program code works.

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: 2 Guest(s)