OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Update to most recent firmware
- This topic is empty.
-
AuthorPosts
-
October 6, 2014 at 1:26 am #23193
navy2xParticipantHi,
I haven’t found much info about this, maybe because its obvious, but is it possible to update an OpenSprinklerPi to the latest OpenSprinkler firmware? Would you do it the same way found on this page: http://rayshobby.net/?page_id=732#upload? I have an OSPi v1.3 with firmware 1.8.3. I would like to update the firmware to 2.0.
Thanks!
October 6, 2014 at 1:34 am #28437
RayKeymasterFor OSPi, the typical way to upgrade is to go to the OSPi/ folder in home directory and run the ‘git pull’ command.
The firmware for the microcontroller-based OpenSprinkler unfortunately cannot run on Pi, because the hardware platforms are different.
October 6, 2014 at 1:39 am #28438
SamerKeymasterI suggest you follow the instructions here for updating OSPi: http://rayshobby.net/mediawiki/index.php?title=Python_Interval_Program_for_OSPi#Updating_the_program.
Git pull won’t work if you are updating from 1.8.3.
You can also just delete the folder and clone a new one (after saving settings or writing them down). The clone command is:
git clone https://github.com/Dan-in-CA/OSPiOctober 6, 2014 at 2:51 pm #28439
navy2xParticipantGreat thanks! I followed the instructions and it worked perfectly! http://rayshobby.net/mediawiki/index.php?title=Python_Interval_Program_for_OSPi#From_an_earlier_version
I copied the steps I used if anyone else is curious on how to update from an OSPi v1.3 board running 1.8.3 firmware.From an earlier version
The recommended way to update to this version from a pre 2.0.0 rev. is to issue the following commands from the program directory (OSPi) :make sure you are on the master branch
git checkout masterfetch the new version form GitHub
git fetchreset to the new version
git reset --hard origin/masterReboot the Pi:
sudo rebootOr
If you are using the init.d script to auto-run the program:
restart the program with:sudo service ospi restart -
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Update to most recent firmware