OpenSprinkler Forums OpenSprinkler Unified Firmware Changing Port on Headless Pi Install Reply To: Changing Port on Headless Pi Install

#76746

Ray
Keymaster

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.