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