OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266 Reply To: Opensprinkler on ESP8266

#42013

ganralf
Participant

@pbecchi

Kudos dude for all the hard work porting this project! I have been itching to do the same since December last year (actually got everything except the webserver compiling) but have not been able to take it any further.

I want to get involved with this and help out, but I am struggling to get the project to run. It seems that the RTC library is causing some issues.

I removed all the ../ from the includes and added a visual studio solution to the main opensprinkler project as I could not get the W5100 to compile. Or am I using the wrong approach?

Anyway, I got it compiling and uploaded it and the NodeMCU v3 I use went into a bootloop. Uncommented stuff until I got it “working”, added again until I found the cause. When I include the RTC it bootloops. I will look into that, could be something I am doing wrong on my side.

My real problem is now that it runs (without RTC) it does not seem to store the configuration information. Where does it store the info?

Port closed
Opening port
Port open
128 256 384 512 640 768 896 1024 1152 1280 1408 1536 1664 1792 1920 wiped
nvdata

fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
file written
OptionsWrite OS:216
255
done

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16 
tail 0
chksum 0x42
csum 0x42
~ld
Started...
wire begin
Scanning..I2C.....
No I2C devices found

12
<W>12<W>12<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>13<W>13<W>14<W>12<W>12/stns.dat
b1=1
b2=1
b3=0
OptSetup...
weather.opensprinkler.com
25
255
Reset EEPROM
0 128 256 384 512 640 768 896 1024 1152 1280 1408 1536 1664 1792 1920 wiped
nvdata

fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
fileOpen:/stns.dat
file exist open R/W
0>record written
file written
OptionsWrite OS:216

It always reboots and writes the config. Does the system store to the internal memory or to the flash on the RTC board?

Regards