Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with the Water Level adjustment
#1
My SIP is working fine, but when I activate the 'Water Level' adjustment, irrigation does not start.
I have the 'Weather_level_adj' plugin installed, and the fail occurs with both the plugin enabled and disabled.

Is there a log that I can check?

running version: 4.1.13
Reply
#2
The only logging SIP does is what you can view on the Log page. This is to preserve the life of the SD card.

Does this happen when you set a water level using the Water Level button on the home page?

One way to try and diagnose the problem is to stop SIP from the command line if you have it set up to start automatically.
Code:
systemctl stop sip
Then start SIP manually from the SIP folder:
Code:
python sip.py
This will show any error messages.

I have tried setting the water level on my test system running the dame version you have and it seems to be working when I click "Run now" on a program on the Programs page.

Dan
<p><br></p>
Reply
#3
Hi Dan, thanks for replying.

Sorry that I did not respond before, I was traveling and did not remember the password of the forum.




(2021 May 11, 05:14 PM)dan Wrote: Does this happen when you set a water level using the Water Level button on the home page?


Yes




(2021 May 11, 05:14 PM)dan Wrote: Then start SIP manually from the SIP folder:
Code:
python sip.py
This will show any error messages.



I will try to run sip from the console and observe error messages.




(2021 May 11, 05:14 PM)dan Wrote: I have tried setting the water level on my test system running the dame version you have and it seems to be working when I click "Run now" on a program on the Programs page.



The 'Run now' button works fine on my system too.


The failure occurs in the automatic execution of the programs.




Thanks again.
Reply
#4
I have run some more tests and I see the same problem as you describe.
Running SIP from the command line did not show any error so this may take a while to debug.

I will post here as soon as I can find and fix the problem. Thanks for reporting it.

Dan
<p><br></p>
Reply
#5
OK.

I found and fixed the problem. There was a calculation that resulted in a run time of 0.0 seconds.

You can update to the latest SIP version, 4.1.14 from GhiHub either using the System Update plugin or by running
Code:
git pull
from the command line in the SIP folder.

That should eliminate the problem.

Dan
<p><br></p>
Reply
#6
Hello Dan,
Updated to 4.1.14 and it seems to work fine, Thanks.
But still get some error messages, I don't know if they will be important.


I copy below the error messages that I observed BEFORE the update.

* RELOAD PAGE
Code:
::ffff:192.168.1.12:42718 - - [18/May/2021 20:45:56] "HTTP/1.1 GET /static/scripts/jquery-3.4.1.min.js" - 304 Not Modified::ffff:192.168.1.12:42728 - - [18/May/2021 20:45:56] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified
::ffff:192.168.1.12:42726 - - [18/May/2021 20:45:56] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
::ffff:192.168.1.12:42730 - - [18/May/2021 20:45:56] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified


* CHANGE from 'Water Level adjustment' to 'Normal'
Code:
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
Controller values changed in gv.sd
::ffff:192.168.1.12:42736 - - [18/May/2021 20:46:51] "HTTP/1.1 GET /cv" - 303 See Other


* CHANGE from 'Normal' to 'Water Level adjustment'
Code:
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
Controller values changed in gv.sd
::ffff:192.168.1.12:42758 - - [18/May/2021 20:47:38] "HTTP/1.1 GET /cv" - 303 See Other

* automatic RUN
Code:
Some Stations have been scheduled: [[0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]


I copy below the error messages that I observed AFTER the update.

* RELOAD PAGE
Code:
::ffff:192.168.1.12:46722 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /" - 200 OK
::ffff:192.168.1.12:46722 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /static/scripts/jquery-3.4.1.min.js" - 304 Not Modified
::ffff:192.168.1.12:46724 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
::ffff:192.168.1.12:46726 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified

::ffff:192.168.1.12:46728 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified
::ffff:192.168.1.12:46724 - - [18/May/2021 23:47:50] "HTTP/1.1 GET /api/status" - 200 OK
::ffff:192.168.1.12:46722 - - [18/May/2021 23:47:51] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.12:46724 - - [18/May/2021 23:47:51] "HTTP/1.1 GET /api/log" - 200 OK


* CHANGE from 'Normal' to 'Water Level adjustment'
Code:
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
Controller values changed in gv.sd
::ffff:192.168.1.12:46744 - - [18/May/2021 23:50:01] "HTTP/1.1 GET /cv" - 303 See Other
::ffff:192.168.1.12:46744 - - [18/May/2021 23:50:01] "HTTP/1.1 GET /" - 200 OK
::ffff:192.168.1.12:46746 - - [18/May/2021 23:50:01] "HTTP/1.1 GET /api/status" - 200 OK
::ffff:192.168.1.12:46744 - - [18/May/2021 23:50:01] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.12:46746 - - [18/May/2021 23:50:02] "HTTP/1.1 GET /api/log" - 200 OK


* CHANGE from 'Water Level adjustment' to 'Normal'
Code:
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
SIP error: --------------
change_values Exception invalid literal for int() with base 10: ''
Controller values changed in gv.sd
::ffff:192.168.1.12:46754 - - [18/May/2021 23:51:08] "HTTP/1.1 GET /cv" - 303 See Other
::ffff:192.168.1.12:46754 - - [18/May/2021 23:51:08] "HTTP/1.1 GET /" - 200 OK
::ffff:192.168.1.12:46756 - - [18/May/2021 23:51:08] "HTTP/1.1 GET /api/status" - 200 OK
::ffff:192.168.1.12:46754 - - [18/May/2021 23:51:08] "HTTP/1.1 GET /api/log" - 200 OK
::ffff:192.168.1.12:46756 - - [18/May/2021 23:51:09] "HTTP/1.1 GET /api/log" - 200 OK
Reply
#7
Thanks,

I will look into it.

Dan
<p><br></p>
Reply
#8
That is fixed now.

It was an error that should not have been reported (not really an error).
The code has been cleaned up.

Dan
<p><br></p>
Reply
#9
Updated and working fine.
Errors no longer appear when using the 'water level' button.

Thanks again Dan.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)