Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues with Weather-Based Water Level
#1
Went ahead and updated to v 4 and have issues with the weather based water level plugin.  Went ahead and chose US units and got the following error in syslog

Jan 19 14:33:42 piutility sip[13625]: b'Weather-based water level encountered error:\nTraceback (most recent call last):\n  File "/home/pi/SIP/plugins/weather_level_adj.py", line 156, in run\n    int(options[u"daily_irrigation"])\nValueError: invalid literal for int() with base 10: \'0.0\'\n

Seems to be an error in the code... The line is calling out int instead of float.

I updated the code to process the value as a float and now the error is cleared.  However issues abound.. Wink

I went ahead to update the Daily Irrigation value and it will not take a non-integer value and record it to the weather_level_adj.json.  It will record if I set it as an integer value (e.g. 1) however when I go back into the settings it does not pick the value back up in the program plugin page.  Also, the data shown seems to be a little odd with water needed shown at -1.

I'll see if I can try and figure out the rest of the issues but figured I'd post it here in case anyone else is experiencing similar issues.
Reply


Messages In This Thread
Issues with Weather-Based Water Level - by danny_aka_rudy - 2020 Jan 19, 11:34 PM
RE: Issues with Weather-Based Water Level - by dan - 2020 Jan 20, 12:16 AM
RE: Issues with Weather-Based Water Level - by dan - 2020 Jan 21, 03:39 PM
RE: Issues with Weather-Based Water Level - by dan - 2020 Jan 30, 05:06 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)