OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Weather-based water level error Reply To: Weather-based water level error

#33893

wingnut
Participant

It seems we might be in the same boat… I have the following error listed below! I have just upgraded to V2.1.2 yesterday and it was working last night. Not able to convert string to float, I wonder if it has to do with WU replacing 0.0 with NULL or something like that. I hope someone we come to our rescue but until then I disabled mine because it was running up my WU API calls and didn’t want it to go over the 500 calls per day and start using my raindrops.

Weather-base water level encountered error:
Traceback (most recent call last):
File “/home/pi/OSPi/plugins/weather_level_adj.py”, line 87, in run
today = today_info()
File “/home/pi/OSPi/plugins/weather_level_adj.py”, line 340, in today_info
‘rain_mm’: float(day_info[‘precip_today_metric’]),
ValueError: could not convert string to float: —