OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Firmware update failed – what do I do?
- This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago by dumb025.
-
AuthorPosts
-
June 25, 2016 at 5:19 pm #43205
dumb025ParticipantThis 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 removeNow 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!
June 25, 2016 at 10:29 pm #43209
ShawnHarteParticipantTry 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.
July 1, 2016 at 10:49 am #43283
dumb025ParticipantThanks, 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 startThis 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.
July 1, 2016 at 11:05 am #43286
SamerKeymasterYou 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.
July 1, 2016 at 11:39 am #43289
dumb025ParticipantOkay, 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!
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Firmware update failed – what do I do?