OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Error Installing Interval Program
- This topic is empty.
-
AuthorPosts
-
April 20, 2014 at 11:56 pm #22843
karmamanMemberI installed the full-featured sprinkler_pi program and am now wanting to install the interval program. When I use the command “sudo python ospi.py”, I get the “Starting timing loop” message then “http://0.0.0.0:8080”. Next I receive several trackback messages and ultimately I receive “socket.error: No socket could be created”
Does the interval program have to be installed on a clean instance of Raspbian? Do the two programs not co-exist?
Thanks, in advance.
April 21, 2014 at 4:12 pm #26536
Dan in CAParticipantA socket error indicates that another program is already using internet access. Try starting the interval program by itself.
Dan
April 21, 2014 at 4:30 pm #26537
karmamanMemberThanks Dan. If I have sprinkler_pi running on 8080, can interval be config’d to work on a different port?
April 21, 2014 at 4:47 pm #26538
SamerKeymasterThe issue becomes GPIO control. If you run both programs only one will likely be able to control the valves (and typically the first program to start). So not ideal to run both at the same time. However yea you can configure the interval program within the options page.
April 22, 2014 at 2:06 am #26539
karmamanMemberThank you. I don’t intend to run them both – just want to have them both installed to take a close-up look at the settings, options, etc. I’ll likely go with the interval program – particularly if I can get the native mobile app to work. Right now it can’t find it, even though I can find it from my Mac’s browser.
I’m very close – thanks guys!
April 22, 2014 at 4:54 pm #26540
RayKeymasterDid you use the pre-configured SD card image? If so, there is a program called ‘select_program’ in the home folder that you can run to choose which program you want to set as default. You will need to run this in command line. If you didn’t use the pre-configured SD card image, you should check the instructions of each program to see how to uninstall it:
Dan’s interval_program: http://rayshobby.net/mediawiki/index.php?title=Python_Interval_Program_for_OSPi#An_alternate_method:
Rich’s sprinklers_pi program: https://github.com/rszimm/sprinklers_pi/wiki/Installation -
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Error Installing Interval Program