OpenSprinkler › Forums › Hardware Questions › OpenSprinkler › Controller lockups / crashes with wired Ethernet module › Reply To: Controller lockups / crashes with wired Ethernet module
Water_my_lawn
Perhaps I was reading your instructions too literally.
Here is my update instructions that seem to work and
produce the mainArduino.bin file. I have not tried it
yet.
Ps: I have not had a hang since Aug 1. No change to the
firmware and no change on my network!
—————————————————–
#Get the code.
git clone https://github.com/OpenSprinkler/OpenSprinkler-Firmware.git
#Puts it in ~/OpenSprinkler-Firmware/
#Get the Arduino code.
git clone https://github.com/esp8266/Arduino.git esp8266_2.5.2
#Puts it in ~/esp8266_2.5.2
#Go into esp8266_2.5.2 and get the correct tag.
cd esp8266_2.5.2
git checkout tags/2.5.2
cd tools
python get.py
#Install necessary libraries, including SSD1306, RCSwitch, and UIPEthernet.
#Download and unzip or git clone these into ~/Arduino/libraries folder.
mkdir -p ~/Arduino/libraries
cd ~/Arduino/libraries
git clone https://github.com/ThingPulse/esp8266-oled-ssd1306.git
# The latest version of the OLED code is not compatible, backup to 4.1.0
cd esp8266-oled-ssd1306
git checkout tags/4.1.0
git clone https://github.com/sui77/rc-switch.git
git clone https://github.com/UIPEthernet/UIPEthernet.git
#And this one which is new.
git clone https://github.com/knolleary/pubsubclient.git
cd ~/OpenSprinkler-Firmware
#There is an error in make.lin32:
#Replace this line:
~/Arduino/libraries/SSD1306 \
#with this line:
~/Arduino/libraries/esp8266-oled-ssd1306 \
# Remove tests directory, will not compile.
rm -rf ~/Arduino/libraries/pubsubclient/tests
make -f make.lin32