- This topic has 5 replies, 2 voices, and was last updated 3 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Changing Port on Headless Pi Install
HI all, I am running this on an openhab pi headless. openahb runs on 8080 and i would rather not change that. how can i change the port for ops without going to the web app? i am just going to use the openhab binding to control it.
Is there any reason you don’t want to go to the web app to make setting changes? You don’t need a display or keyboard, all you need is a browser that can access the OSPi, then go to Edit Options -> Advanced, and change the HTTP port there.
Yeah, i cannot get to it. openhab is running on port 8080. is there a config file i can change it in?
OK, if I understand correctly, you mean you have openhab and OpenSprinkler firmware both running on the same Pi? You can edit the default port number in the OpenSprinkler.cpp file:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L332
then recompile the firmware. You need to delete done.dat in the firmware folder so it triggers a factory reset and applies the default port number.
Thanks Ray. I followed the directions and changed it to another port. Still wont connect. I moved openhab to another port so thought I would do a clean install of OS. I cannot find directions on how to uninstall on rpi. Just delete that folder? or is there a command.
thanks!
Instructions can all be found at:
https://support.opensprinkler.com
for example, OSPi firmware instructions are here:
https://openthings.freshdesk.com/support/solutions/articles/5000631599
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Changing Port on Headless Pi Install