Problem with the Water Level adjustment - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Report a problem (https://nosack.com/sipforum/forumdisplay.php?fid=9) +--- Thread: Problem with the Water Level adjustment (/showthread.php?tid=243) |
Problem with the Water Level adjustment - numero9 - 2021 May 11 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 RE: Problem with the Water Level adjustment - dan - 2021 May 11 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 Code: python sip.py 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 RE: Problem with the Water Level adjustment - numero9 - 2021 May 17 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: 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. RE: Problem with the Water Level adjustment - dan - 2021 May 18 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 RE: Problem with the Water Level adjustment - dan - 2021 May 18 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 That should eliminate the problem. Dan RE: Problem with the Water Level adjustment - numero9 - 2021 May 18 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 * CHANGE from 'Water Level adjustment' to 'Normal' Code: SIP error: -------------- * CHANGE from 'Normal' to 'Water Level adjustment' Code: SIP error: -------------- * 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]] 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 * CHANGE from 'Normal' to 'Water Level adjustment' Code: SIP error: -------------- * CHANGE from 'Water Level adjustment' to 'Normal' Code: SIP error: -------------- RE: Problem with the Water Level adjustment - dan - 2021 May 19 Thanks, I will look into it. Dan RE: Problem with the Water Level adjustment - dan - 2021 May 19 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 RE: Problem with the Water Level adjustment - numero9 - 2021 May 19 Updated and working fine. Errors no longer appear when using the 'water level' button. Thanks again Dan. |