OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Error Installing Interval Program

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22843

    karmaman
    Member

    I 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.

    #26536

    Dan in CA
    Participant

    A socket error indicates that another program is already using internet access. Try starting the interval program by itself.

    Dan

    #26537

    karmaman
    Member

    Thanks Dan. If I have sprinkler_pi running on 8080, can interval be config’d to work on a different port?

    #26538

    Samer
    Keymaster

    The 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.

    #26539

    karmaman
    Member

    Thank 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!

    #26540

    Ray
    Keymaster

    Did 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Error Installing Interval Program