Improve UI when WU pws is offline
Posted: Sat Mar 10, 2018 8:29 pm
Hi Dave,
thanks for all your efforts making this plugin better and better. I just upgraded from v1.x to 7 and it looks like everything updated just fine.
There is a long-standing issue that bugs me. Quite often WU personal weather stations go offline. Your offline trigger works great for notifications. But, the Indigo UI still shows a colored thermometer icon and the wrong and outdated temperature for those offline stations.
Is it possible to make the thermometer icon gray and replace the wrong temperature in the uiValue with the words "offline"? Not sure whether you want to make the onOffState FALSE too.
I also like to find a solution to indicate offline status on custom control pages. My control page prominently displays a Current Condition - Temperature that is outdated.
Last, there are a bunch of minor errors in the log when a station is offline:
WUnderground 7 Debug Processing device: Wunderground Sentinels at DelSur
WUnderground 7 Debug URL for pws:KCASANDI170: WUnderground 7 Debug [ Wunderground Sentinels at DelSur download: 00.594817 seconds ]
WUnderground 7 Debug Adding weather data for pws:KCASANDI170 to Master Weather Dictionary.
WUnderground 7 Debug API calls left: 495
WUnderground 7 Debug Imputing historyPop (I) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Imputing historyHigh (S) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format historyHigh (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing historyLow (S) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format historyLow (S) [could not convert string to float: --]
WUnderground 7 Debug Formatted dewpointF (S) data. Got: -9999.0 Returning: (-99.0, --)
WUnderground 7 Debug Can not format dewpointF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing heatIndexF (S) data. Got: NA Returning: (-99.0, --)
WUnderground 7 Debug Can not format heatIndexF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing windChillF (S) data. Got: NA Returning: (-99.0, --)
WUnderground 7 Debug Can not format windChillF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing foreHigh1 data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format foreHigh1 [could not convert string to float: --]
thanks for all your efforts making this plugin better and better. I just upgraded from v1.x to 7 and it looks like everything updated just fine.
There is a long-standing issue that bugs me. Quite often WU personal weather stations go offline. Your offline trigger works great for notifications. But, the Indigo UI still shows a colored thermometer icon and the wrong and outdated temperature for those offline stations.
Is it possible to make the thermometer icon gray and replace the wrong temperature in the uiValue with the words "offline"? Not sure whether you want to make the onOffState FALSE too.
I also like to find a solution to indicate offline status on custom control pages. My control page prominently displays a Current Condition - Temperature that is outdated.
Last, there are a bunch of minor errors in the log when a station is offline:
WUnderground 7 Debug Processing device: Wunderground Sentinels at DelSur
WUnderground 7 Debug URL for pws:KCASANDI170: WUnderground 7 Debug [ Wunderground Sentinels at DelSur download: 00.594817 seconds ]
WUnderground 7 Debug Adding weather data for pws:KCASANDI170 to Master Weather Dictionary.
WUnderground 7 Debug API calls left: 495
WUnderground 7 Debug Imputing historyPop (I) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Imputing historyHigh (S) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format historyHigh (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing historyLow (S) data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format historyLow (S) [could not convert string to float: --]
WUnderground 7 Debug Formatted dewpointF (S) data. Got: -9999.0 Returning: (-99.0, --)
WUnderground 7 Debug Can not format dewpointF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing heatIndexF (S) data. Got: NA Returning: (-99.0, --)
WUnderground 7 Debug Can not format heatIndexF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing windChillF (S) data. Got: NA Returning: (-99.0, --)
WUnderground 7 Debug Can not format windChillF (S) [could not convert string to float: --]
WUnderground 7 Debug Imputing foreHigh1 data. Got: Returning: (-99.0, --)
WUnderground 7 Debug Can not format foreHigh1 [could not convert string to float: --]