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?
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.
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?
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.
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.
We are currently away till Friday, January 24. Any orders placed during this period will be shipped on Saturday, January 25. Thank you for your understanding! Dismiss