2015 Dec 10, 06:47 PM
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
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