OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Update to most recent firmware

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23193

    navy2x
    Participant

    Hi,

    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!

    #28437

    Ray
    Keymaster

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

    #28438

    Samer
    Keymaster

    I 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/OSPi
    #28439

    navy2x
    Participant

    Great 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 master

    fetch the new version form GitHub

    git fetch

    reset to the new version

    git reset --hard origin/master

    Reboot the Pi:

    sudo reboot

    Or
    If you are using the init.d script to auto-run the program:
    restart the program with:

    sudo service ospi restart
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Update to most recent firmware