Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 762
» Latest member: johnsonfe
» Forum threads: 298
» Forum posts: 1,683

Full Statistics

Online Users
There are currently 242 online users.
» 0 Member(s) | 242 Guest(s)

Latest Threads
SIP Stopped Working After...
Forum: Report a problem
Last Post: dan
2024 Dec 16, 04:19 PM
» Replies: 6
» Views: 221
Master keeps resetting to...
Forum: Report a problem
Last Post: DavidCNZ
2024 Dec 04, 08:57 PM
» Replies: 12
» Views: 252
installation fails
Forum: Installation and set up questions
Last Post: dan
2024 Nov 20, 06:52 PM
» Replies: 4
» Views: 92
Allow plugins ability to ...
Forum: Feature requests
Last Post: jonathan
2024 Aug 11, 10:56 PM
» Replies: 11
» Views: 489
Tank Fill Function
Forum: Feature requests
Last Post: dan
2024 Jul 12, 03:07 PM
» Replies: 3
» Views: 267
Curl Method Menu
Forum: Installation and set up questions
Last Post: astrogerard
2024 Jun 22, 03:15 PM
» Replies: 4
» Views: 334
Module i2c relay.
Forum: Feature requests
Last Post: litronas
2024 Jun 22, 12:45 PM
» Replies: 5
» Views: 390
problem after upgrade to ...
Forum: Installation and set up questions
Last Post: Darek
2024 May 19, 08:54 PM
» Replies: 2
» Views: 257
Monthly Adjust per Statio...
Forum: Writing plugins
Last Post: cdesouza
2024 Apr 18, 06:33 AM
» Replies: 17
» Views: 874
MQTT Plugin initialised b...
Forum: Report a problem
Last Post: cdesouza
2024 Mar 25, 03:56 PM
» Replies: 2
» Views: 236

 
  Pi4 compatibility
Posted by: JTup - 2020 Apr 20, 02:12 PM - Forum: Installation and set up questions - Replies (1)

Hello All, 

Quick Question, does the board support pi4 currently? I can see items hardcoded in the SIP code for up to version 3. My understanding is that the GPIO board should be the same for Pi3 & pi4. Is that correct?

Any help much appreciated, 

J

Print this item

  Stop all running stations gone?
Posted by: astrogerard - 2020 Apr 16, 03:47 PM - Forum: Report a problem - Replies (4)

Maybe I'm totally wrong but I thought there was a button to stop all running stations. 
Running 4.0.24 I can't find it anymore. Is this option removed or am I looking in the wrong place?

--Gerard


Ah, I see it is only available in Auto mode and not in Manual. Feature request? :-)

Print this item

  Posible change in weather_level_adj about historical data.
Posted by: numero9 - 2020 Apr 14, 04:33 PM - Forum: Plugin suggestions - No Replies

I'm using SIP since 3 month ago, and I'm charmed.

I like to do things with a raspberry and when I met SIP I removed my irrigation programmer and mounted a raspberry.

Best of all is this weather_level_adj plugin.



With my little knowledge of python, I have been browsing the code to know how to do the calculations and I really liked the way to estimate the amount of irrigation needed.



I was also looking at openweathermap, how to get current data and forecast. Then I saw that there is a new API called 'One Call API' that provides free historical data for the last 5 days, as well as the forecast.



I don't know if it would be possible to use this API, and thus reduce the use of the SD card. I think it would not be necessary to save as much information and as often as with the other APIs.



Thank you very much to the authors for all the work you are doing.

___
sorry, i forgot include the info.

https://openweathermap.org/api/one-call-api

Current and forecasts weather data (hourly (48 hours) and daily (7 days) forecast)

Code:
https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={lon}&appid={YOUR API KEY}


Historical weather data (for the 5 previous days)
Code:
https://api.openweathermap.org/data/2.5/onecall/timemachine?lat={lat}&lon={lon}&dt={time}&appid={YOUR API KEY}

Print this item

  Browse Plugin Issue
Posted by: danny_aka_rudy - 2020 Apr 14, 03:17 AM - Forum: Report a problem - Replies (2)

When I click Browse More Plugins I get the following

internal server error

Currently running 4.0.24

Print this item

  Error During Upgrade
Posted by: WVUTampaAlum - 2020 Apr 13, 06:19 PM - Forum: Installation and set up questions - Replies (4)

I did the upgrade through the UI and it never responded.  I rebooted my pi and saw that SIP was not running after reboot when it normally is.  I ssh'd into the pi and went to SIP dir and try to manually run it below cmd and getting error.

sudo python sip.py
Traceback (most recent call last):
  File "sip.py", line 22, in <module>
    import gv
  File "/home/pi/SIP/gv.py", line 117, in <module>
    pd = load_programs()  # Load program data from file
  File "/home/pi/SIP/helpers.py", line 558, in load_programs
    import convert_progs
  File "/home/pi/SIP/convert_progs.py", line 5
    import json
        ^
SyntaxError: invalid syntax

Print this item

  api trouble
Posted by: danny_aka_rudy - 2020 Apr 08, 03:02 AM - Forum: Installation and set up questions - Replies (4)

Trying to gather information with the following and it does not seem to be functioning.

http://127.0.0.1/sn?pw=opendoor

This does not work.  It just brings up the login screen.

Once logged in 

http://127.0.0.1/sn

does display the expected result

syslog before logging in.

Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /sn" - 303 See Other
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /login" - 200 OK
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-3.3.7/css/bootstrap.min.css" - 304 Not Modifi$
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-timepicker/css/bootstrap-timepicker.min.css" $
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/themes/basic/base.css" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/jquery-3.4.1.min.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39760 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-3.3.7/js/bootstrap.min.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39766 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/behaviors.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39768 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/schedule.js" - 304 Not Modified
Apr  7 19:56:35 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/bootstrap-timepicker/js/bootstrap-timepicker.js" - 304 $
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:35] "HTTP/1.1 GET /static/scripts/intervalSelect.js" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39764 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/themes/basic/logo.png" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39762 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/themes/basic/grass.jpg" - 304 Not Modified
Apr  7 19:56:41 piutility sip[5099]: 127.0.0.1:39772 - - [07/Apr/2020 19:56:36] "HTTP/1.1 GET /static/images/manifest.json" - 304 Not Modified

Syslog after logging in
---
Apr  7 19:58:29 piutility sip[5099]: someone logged in
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 POST /login" - 303 See Other
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /" - 200 OK
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39774 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /static/themes/basic/home.png" - 304 Not Modified
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39778 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /static/themes/basic/on.png" - 304 Not Modified
Apr  7 19:58:29 piutility sip[5099]: 127.0.0.1:39778 - - [07/Apr/2020 19:58:29] "HTTP/1.1 GET /api/status" - 200 OK
Apr  7 19:58:31 piutility sip[5099]: 192.168.1.202:54072 - - [07/Apr/2020 19:58:31] "HTTP/1.1 GET /api/log" - 200 OK
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /sn" - 200 OK
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /favicon.ico" - 303 See Other
Apr  7 19:58:52 piutility sip[5099]: 127.0.0.1:39780 - - [07/Apr/2020 19:58:52] "HTTP/1.1 GET /" - 200 OK

Print this item

  Possible SIP bug when used with OpenSprinkler App
Posted by: jgmtfia - 2020 Mar 21, 07:22 PM - Forum: Report a problem - Replies (4)

Hello.  I have a open sprinkler system with an expander board.  I upgraded to Debian 10.3 and the latest git image of sip.  When I try to connect manually from the OpenSprinkler android app I see the following on the python console:

Code:
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /jp"- 303 See Other
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /login" - 200 OK
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /jp"- 303 See Other
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /login" - 200 OK
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /jp"- 303 See Other
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /login" - 200 OK
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:22] "HTTP/1.1 GET /jp" - 303 See Other
::ffff:192.168.5.157:43186 - - [19/Mar/2020 18:20:23] "HTTP/1.1 GET /login" - 200 OK


But get an unable to connect on the latest version of the app.

When I scan for a site from the app, it finds the right IP, but shows the firmware version of the site as 0.0.NaN

I am using version 4.0.23 of the SIP software from Git dated 2020-03-09 and the Feb 3, 2020 of the Android OpenSprinkler App.

Print this item

  Issuing shell cmd's
Posted by: kraftor80 - 2020 Feb 05, 02:40 AM - Forum: Installation and set up questions - Replies (6)

I see that SIP can also issue Linux shell commands when a station is turned on or of. How is this done?

I tried to install the cli_control plugin. With it enabled, none of the existing station programming worked. I did not try any shell commands and had to disable the plugin to get normal programmed station control working again.

Dale

Print this item

  Schedule "handles" and time slipping
Posted by: kraftor80 - 2020 Jan 21, 03:52 AM - Forum: Installation and set up questions - Replies (8)

This may be an understanding problem on my part.
1. on the main page, what are the little right and left arrow over the scheduled times for each hour? 
2. Do the arrows in the above question have anything to do with the scheduled time being in solid green and then there being some time of hashed green after it?
3. I have a program set to start at 18:00 for 1 hour (end at 19:00) and it seems to start a half hour late and runs longer than the one hour. Today it looks like it ran from 18:30 to 20:00.

Help is appreciated, I have run a previous version of SIP for a sprinkler and pool controller for years now, but It would not load any plugins and I needed the one to run shell scripts so I updated. Also this version seems not to work with the android app, is that by design?

Dale

Print this item

  Issues with Weather-Based Water Level
Posted by: danny_aka_rudy - 2020 Jan 19, 11:34 PM - Forum: Report a problem - Replies (7)

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.

Print this item