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 116 online users.
» 0 Member(s) | 116 Guest(s)

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

 
  understanding programs
Posted by: OldSurferDude - 2023 Apr 06, 12:33 AM - Forum: Installation and set up questions - No Replies

I think I'm not getting something

I have a number of stations (19) and a whole lot of different days and times to turn them on and off.  This is because I have 5 microclimates confounded by nine elevations of my gravity fed system (different pressures so different on times for the same water). My thinking was one giant program, but my thinking does not match reality.

It appears that I'll have to have one program for each valve.  Is this correct?  I suppose that's not so bad, but I was hoping for something a little more elegant.

Print this item

  Turning off log messages
Posted by: RandyBryant - 2023 Mar 12, 02:11 AM - Forum: Plugin questions - Replies (1)

/var/log/syslog gets lots of these messages:

Mar 11 14:59:02 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65234 - - [11/Mar/2023 14:59:02] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60636 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/programStatus" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65232 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65233 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/programStatus" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65232 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:09 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:09] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:09 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60636 - - [11/Mar/2023 14:59:09] "HTTP/1.1 GET /api/programStatus" - 200 OK

Is there a way to turn them off?

Print this item

  Pi GPIO Documentation
Posted by: dunkyboy - 2023 Jan 16, 04:50 AM - Forum: Installation and set up questions - No Replies

I'm doing a new setup on a Pi3 using a basic 8 channel relay.

There doesn't seem to be anything in the wiki about the GPIO pins.

Can someone please please point me towards any documentation on which pins connect to a relay board?

I looked at the file gpio_pins.py, but it doesn't have enough coding comments to be easily understood.

Thanks in advance.


In answer to my own question. I have discovered the relay_board addon. https://github.com/KanyonKris/relay_board/wiki



Quote:Relay - P1
1 - 11
2 - 12
3 - 13
4 - 15
5 - 16
6 - 18
7 - 22
8 - 7
9 - 3
10 - 5
11 - 24
12 - 26
Step 2 Connect GND of the relay board(s) to Ground of the Raspberry Pi (pins 6, 9, 14, 20 or 25).

Step 3 Connect VCC (power in) of the relay board(s) to the 5 Volt output (pins 2 and 3) of the Raspberry Pi.

Print this item

  Submitting a new plugin
Posted by: RandyBryant - 2023 Jan 09, 11:24 PM - Forum: Plugin questions - Replies (14)

I want to submit a new plugin (ssd1305) based on ssd1306 but it handles the adafruit SD1305 4567 132x64 (4 row oled display).
I also want to submit some changes/fixes to the SSD1306 plugin and a few changes to sip.py and a few other modules.

I haven't used git in a while but I think I know how to submit a request for a pull.
But there appears to be a different sequence for submitting plugins.

Print this item

  ssd1306 maybe out of date
Posted by: RandyBryant - 2023 Jan 07, 12:45 AM - Forum: Plugin questions - Replies (1)

I just discovered that ssd1306.py plugin uses gv.pon to determine if a run once or manual program is running.  It expects pon to be 98 for run_once_program, and 99 for manual_program.  Is it possible that those program numbers are no longed used for that purpose.  If so, what is the accepted method for determining if a run once or manual program is running.

Print this item

  Mobil App Plugin
Posted by: RandyBryant - 2022 Dec 29, 10:44 PM - Forum: Plugin questions - Replies (2)

What does the Mobile App Plugin do?

Print this item

  SIP up here/Adding a status to the WEB UI
Posted by: RandyBryant - 2022 Dec 14, 12:49 AM - Forum: User installations - Replies (4)

Didn't take much time at all.  Since these pictures (attached) I have connected all 8 zones to the Pi and have an interval program running.  Using a v1 Pi Zero W.

I want to add a rain detected status on the home screen (I don't think it currently exists).  I am not finding the related code for changing the WEB UI.  Just need nudge in the right direction.  Or a short doc on the WEB interface design/modification path.

Retired Software Engineer playing with RPis!



Attached Files Thumbnail(s)
       
Print this item

  Need Help adding an interval program
Posted by: RandyBryant - 2022 Dec 13, 07:15 PM - Forum: Report a problem - Replies (2)

I must be dense, but why is there a duration for an interval program (or for that matter, any program)?  Seems like it would start at the start time, and run until all zones have watered for their individual program times?  Plus the duration is MM:SS, I must be missing something.  I will start looking at the code to see if I can find the logic.

Print this item

  SIP_GET command /co issue
Posted by: tutqiunnh - 2022 Oct 26, 09:25 PM - Forum: Report a problem - Replies (6)

Hi has anyone seen the following issue with SIP_GET command to change options

http://xx.xx.xx.xx:9580/co?pw=xxxxxxx&loc=12345
returns "method not allowed" message on the web page us to send the command to server
same seems to be true for /co options as well
I have ! in my password but /si, /cv functions seem to work.
I was looking at using o23 option to change the water level in the system.
I guess the monthly adj plugin may be the only work around

Thanks,

Print this item

  Details for how Rain Sensor works
Posted by: tutqiunnh - 2022 Oct 25, 09:25 PM - Forum: Installation and set up questions - Replies (9)

I have a Hunter C300 Pro system that I have done a bypass on using a relay board and SIP as the control. I have turned the Hunter box to off and tied the wires from the relay board into the Hunter breakout section. Everything is working fine, but I don't have a GPIO port on the computer that is running SIP.  I do have Weewx weather station setup that gives me rain totals and current rain rate every 5 minutes. Is there a way to change SIP to use the station data  to replace the Rain sensor input?

As to how the sensor works. Does SIP just stop the irrigation if the rain sensor is triggered and then allow it to run after the rain, kind of like the rain delay function described in the user guide, or does it skip irrigation for the day that the rain sensor is triggered? I dug around the docs and code as best I could but could not understand how it worked. I'm pretty good at bash scripting but not the best at python as yet.

Thanks for the help

Print this item