OpenSprinkler Forums OpenSprinkler Unified Firmware Firmware update failed – what do I do?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43205

    dumb025
    Participant

    This was working: http://192.168.1.66:8080/#sprinklers

    OpenSprinkler said to to update firmware. Instructions seemed straight forward so, I followed and executed. Everything seemed to work.

    cd OpenSprinklerGen2
    git pull
    sudo ./build.sh ospi
    sudo /etc/init.d/OpenSprinkler.sh restart
    sudo /etc/init.d/OpenSprinkler.sh stop
    sudo rm /etc/init.d/OpenSprinkler.sh
    sudo update-rc.d OpenSprinkler.sh remove
    sudo /etc/init.d/ospi stop
    sudo rm /etc/init.d/ospi
    sudo update-rc.d ospi remove
    sudo /etc/init.d/sprinklers_pi stop
    sudo rm /etc/init.d/sprinklers_pi
    sudo update-rc.d sprinklers_pi remove

    Now when I try URL above (with/without /#sprinklers), in the browser I get “Cannot connect to server”
    I can ssh into 192.168.1.66.

    Any quick fix, or is it completely broken and I need to start over? I am going out of town and my watering day is Sunday!

    #43209

    ShawnHarte
    Participant

    Try httpS I had a similar problem with mine. I cleared the cache for my browser and the used https and it worked. Beyond that I won’t be able to help much as I do not own an OSpi. A quick check of port settings may also be warranted. Does the OSpi, use a different port? Also make sure you are using port forwarding if trying to access OSpi from an external network. Something like using the mobile phone app without the phone being connected to the Wi-Fi can cause a similar issue if you haven’t configured port forwarding yet.

    #43283

    dumb025
    Participant

    Thanks, but HTTPS and clearing the cache didn’t work for me.

    I was upgrading from 2(.?.?) to 2.1.6. (I think it was 2.1.4). I was using the standard interface (not Zimmerman’s).

    These instructions are missing some steps:
    https://opensprinkler.freshdesk.com/support/solutions/articles/5000631599-installing-and-updating-the-unified-firmware

    The missing instructions are (or at least for me, after doing these steps everything works):
    sudo reboot
    wget https://github.com/rszimm/sprinklers_pi/archive/v1.0.7.tar.gz
    tar -xzvf v1.0.7.tar.gz
    cd sprinklers_pi-1.0.7
    make
    cd ~/.
    sudo apt-get install libsqlite3-dev build-essential
    cd sprinklers_pi-1.0.7
    make
    sudo make install
    sudo /etc/init.d/sprinklers_pi start

    This was my first time doing an OpenSprinkler upgrade. So, I didn’t do an export before the upgrade. I have to setup everything again, but this isn’t a big deal.

    #43286

    Samer
    Keymaster

    You are mixing up two different software packages. The “sprinklers_pi” is a 3rd party firmware written by Richard Zimmerman.

    If you follow the instructions on the website you should be able to upgrade without issues.

    #43289

    dumb025
    Participant

    Okay, you are correct. I didn’t read the instructions. I was only supposed to do the steps in section B. I incorrectly applied all three parts: A, B and C. I removed Zimmerman’s script and re-executed the steps in B, rebooted and it works. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Firmware update failed – what do I do?