OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) OpenSprinkler Pi demo scripts might need to be edited Re: Re: OpenSprinkler Pi demo scripts might need to be edited

#23395

Ray
Keymaster

/home/pi/demo/gcalendar/ospi_gc.py:120: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(pin_sr_lat, GPIO.OUT)

if you are using the pre-configured SD card image, it’s set to run Dan’s interval_program by default, which is written in Python. Since ospi_gc.py is also a Python program, if you run it without disabling interval_program first, you will get a GPIO conflict as the warning message you see. What you can do is to stop interval_program first. You can check the Wiki page here for instructions:
http://rayshobby.net/mediawiki/index.php?title=Python_Interval_Program_for_OSPi#Check_status.2C_start.2C_stop.2C_and_restart_ospi.py