OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Possible to run a second Web Server on an OSPi?

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #52725

    kdeuler
    Participant

    Hi. I’m wondering if it is possible to set up a separate web server (using the LAMP stack) on the same Pi that OSPi is installed on. If so, how would this be done so that both the independent web server and the OSPi Admin can be separately accessed. Thx?

    #52797

    Ray
    Keymaster

    Yes, certainly. OSPi firmware only occupies port 8080 by default. You can change that port, or use a different port to set up a separate server. The reason it uses 8080 by default is to free up port 80 so if you want to launch apache web server etc. that won’t conflict with the port.

    #69086

    D N
    Participant

    Hi Ray,

    Thank you for confirming this is possible. I’m a new user, so how can I change the port? Is there a way to configure the port using a variable or do I have to modify the code before building it?

    Thank you in advance!

    #69092

    Ray
    Keymaster

    The firmware already allows you to change the HTTP port. Go to Edit Options -> Advanced -> HTTP port. You will have to restart RPi or restart the OpenSprinkler process after this, for the port to be effective.

    #69098

    D N
    Participant

    Thanks Ray,

    I already have something running on the port so was looking to configure OpenSprinkler before using it!

    I’ll stop the other service and try OpenSprinkler on it’s own so I can see the option you’re talking about.

    Thank you

    #69142

    sprinklemedaisy
    Participant

    I was about to post a similar question and just wanted to get a clarification. I was wondering something similar with more modern raspberrypi pis like the 4 assuming the port is free i assume ospi doesnt really use much resource.

    I was thinking i can have my home-assistant ( no GPIO requirements ) and opensprinkler on the setup on the same device.

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) Possible to run a second Web Server on an OSPi?