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 105 online users.
» 1 Member(s) | 103 Guest(s)
Bing, mrbeezer@gmail.com

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: 93
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

 
  Best method to postpone program
Posted by: johan456 - 2020 Jun 04, 05:45 PM - Forum: Writing plugins - Replies (3)

Hi!

I have just installed SIP and sold the old Hunter controller. We live by a small river not far from the sea. Depending on the current in the river and the wind at sea we sometimes have fresh water and sometimes saltwater in the river. 

As our well for the irrigation is not giving enough water I decided to take water for the irrigation from the river. But using saltwater for irrigation is not good at all, don’t ask me how I know... Therefore I bought an electrical conductivity meter and I have written a plugin for SIP to check the salinity level of the water in the river. 

The plugin acts more or less as a rain sensor for now. It’s stops the running programs and reports rain sensed to the main SIP program. This is not optimal as what I really want to do is to postpone the program 24 hours and try to run the next night. Is there a way to do this? Optimally I would just let the programs to run every third night, postponing if salt is detected. 

My second question is about getting information about the next scheduled programs start time. To prolong the life of this expensive probe the plugin is only checking the salinity level 15 minutes before the program starts and goes to sleep when the program is finished. This is right now hard coded into the plugin, which is not a very elegant solution. Is there a way to get information about the start time of the next program before it starts? The sensor needs some time to calibrate itself before getting correct readings. Also I don’t want salt water in the system if possible.

Thank you for any input!

Print this item

  New combine_stations plugin
Posted by: dan - 2020 May 30, 08:47 PM - Forum: Announcements - Replies (13)

A new plugin named combine_stations has been added.

It allows multiple stations to be combined and run at the same time (concurrently) while SIP is in sequential mode.

Print this item

  Maximum Number of Zones
Posted by: HereComesTheRain - 2020 May 28, 03:01 PM - Forum: Installation and set up questions - Replies (82)

Hi

What is the maximum number of zones available?

I would like to go beyond 16.

Was hoping to go with OSPi but after numerous failed attempts to make contact with OpenSprinkler I am now looking for other options for my back yard project.

Thanks

Print this item

  MQTT control
Posted by: takezo - 2020 May 12, 08:18 PM - Forum: Feature requests - No Replies

I think it would be a good idea to integrate this project to be able to control the relays using mqtt from other platforms as a home assistant.

do you expect to integrate at least mqtt?

Print this item

  MQTT plugin control
Posted by: takezo - 2020 May 12, 07:07 PM - Forum: Plugin questions - Replies (3)

Hi,

is there any way to control two system SIP's with MQTT slave plugin installed without having a SIP master?
I'm trying to find the way to integrate SIP into my home assistant and manage the zones with directly MQTT?


thanks!

Print this item

  OpenSprinkler iPhone App
Posted by: dschweer - 2020 May 11, 08:07 PM - Forum: Installation and set up questions - Replies (1)

Anyone else having issue with OpenSprinkler iPhone app to control SIP?

It used to work fine but now it will not connect up to my TAIO Sprinkler Pi relay board using a PiZeroW.

I can still use a web browser on the phone to control, so its not a major issue, just liked the convenience that the app gave.

Print this item

  Concurrent/Sequential
Posted by: dschweer - 2020 May 11, 08:03 PM - Forum: Feature requests - Replies (7)

Would be nice to be able to have a single program handle sequential and concurrent sprinkler zones.

For example, I would like to be able to run zones 1-5 sequentially, then run zones 6 and 7 concurrently, etc.  The only way I see to do that is to not have sequential zones checked off and then create individual programs for each zone with start times and durations.  So, Program 1 (zone 1) would start at 00:00.  Program 2 (zone 2) would then start at 02:00 for 2 hours, etc thru Zone 5 for the sequential zones.  Then Program 6 (zone 6) would come on at let say 08:00 for 30 mins.  Program 7 (zone 7) would also come on at 08:00 for 30 mins.

So, I create several programs to handle this scenario.  It would be convenient if, within a single program, one could link 2 or more zones together as one while the others are sequential.  Makes editing programs much easier and also easier to perform a "run now" to run all my zones in the way I need to.

I have a few flower bed zones running mostly drippers that I need to link together.  If I run them individually, the pump is putting out quite a bit of pressure and getting close to blowing seals.  I can also put a jumper between two zones on my TIAO Sprinkler Pi board, but was wondering if its possible to do this in software.

Print this item

  issues activing plugings
Posted by: takezo - 2020 May 10, 10:10 AM - Forum: Report a problem - Replies (4)

I have the following plug-ins activated:


mqtt
mqtt schedule
mqtt slave
mqtt zone broadcaster
weather_level_ad

when I activate the last plug-in, all the other plug-ins seem to stop working. here log with error:




Code:
user@server-sip:~/SIP$ sudo python sip.py
Ignoring exception while loading the mqtt_zones plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_zones.py, line 8)
MQTT publish UP
Ignoring exception while loading the mqtt_schedule plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_schedule.py, line 8)
Ignoring exception while loading the mqtt_slave plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_slave.py, line 8)
plugins loaded:
  mobile_app
  mqtt
  plugin_manager
  relay_board
  system_update
  weather_level_adj
Starting timing loop

Checking weather status...
http://:::80/
HTTP Error 400: Bad Request Retrying.
Weather-based water level encountered error:
Traceback (most recent call last):
  File "/home/user/SIP/plugins/weather_level_adj.py", line 123, in run
    today = today_info(self, options)
  File "/home/user/SIP/plugins/weather_level_adj.py", line 602, in today_info
    data = get_data(name, request, u"weather", options)
  File "/home/user/SIP/plugins/weather_level_adj.py", line 490, in get_data
    req = urlopen(url + u"&appid=" + options[u"apikey"])
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

into pluging weather_level_ad i have added location with this format:

lat=30.535105_lon1.1101715

and i got this error:

Code:
Weather-based water level encountered error:
Traceback (most recent call last):
  File "/home/user/SIP/plugins/weather_level_adj.py", line 123, in run
    today = today_info(self, options)
  File "/home/user/SIP/plugins/weather_level_adj.py", line 602, in today_info
    data = get_data(name, request, u"weather", options)
  File "/home/user/SIP/plugins/weather_level_adj.py", line 490, in get_data
    req = urlopen(url + u"&appid=" + options[u"apikey"])
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request


any idea?


thnaks for the support!

Print this item

  ssd1306 plugin problem
Posted by: Darek - 2020 Apr 28, 09:40 PM - Forum: Plugin questions - Replies (4)

On raspberry display work good (RASPBERRY PI 4, Relay board-16, SSD1306 OLED Display, SIP version: 4.027).
but plugin don,t (no message at all). Any help ? 
command: i2cdetect -y 1
shows following sreen:

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Print this item

  MQTT plugin errors
Posted by: takezo - 2020 Apr 27, 06:37 PM - Forum: Plugin questions - Replies (5)

Hi,

im trying to use the mqtt plugins but seems that I'm having issues starting the service:

Code:
Ignoring exception while loading the mqtt_zones plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_zones.py, line 8)
Ignoring exception while loading the mqtt_slave plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_slave.py, line 8)
MQTT publish UP
Ignoring exception while loading the mqtt_schedule plug-in.
from __future__ imports must occur at the beginning of the file (mqtt_schedule.py, line 8)
plugins loaded:
  mobile_app
  mqtt
  plugin_manager
  relay_board
  system_update
Starting timing loop

http://:::80/



i have running version version: 4.0.27.

Any help?, thanks1

Print this item