OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266

Viewing 25 posts - 26 through 50 (of 172 total)
  • Author
    Posts
  • #41840

    fivos
    Participant

    The new branch works like a charm!
    I also had trouble logging into the web server(it didn’t accept the default password). Fixed it by deleting stored data on Mozilla.

    I’m using a relay board for the output which is active low, so I had to reverse the output logic. Posted some changes on github.

    Don’t worry about the time zone I’m also in Europe Greece.
    Thank you for your quick reply!

    #41850

    pbecchi
    Participant

    @fivos

    I am interested:

    -it your breadboard working OK?
    -have you tested most of the OS features?

    Most of the bugs I know have been corrected…. I am waiting for new issues… to try to complete debugging!

    Then I want to start putting new features in the code of OS.

    Paolo

    #41852

    fivos
    Participant

    My breadboard is working and I have tested most of the OS features. Today I also added buttons. I used buttons on ESP GPIOs pins(12,14,16 on a NODEMCU 0.9) they need pull-up resistors to properly work but everything works fine.Tried also the ADC buttons on a DFrobot(freetronics) shield but they didn’t work first try but I didn’t put much effort in it. Do you need me to check any future or specific hardware configuration?

    #41855

    fivos
    Participant

    I can also confirm the flow sensor is working. The only think that doesn’t work as you already mentioned is logging. Getting Error retrieving log data. Please refresh to try again.

    #41856

    pbecchi
    Participant

    AdC buttons worked on my first prototype but control of the unit require double pressing that is not possible with 3 ADC buttons.

    Yesterday I have fixed the logging that wasn’t working….all other OS features seams to work but I have just tested only 2 Hw configurations!

    So please do all the test you want I just let me know if everything is OK!

    Then we can go on and think about improvements :

    -I want to bring the weather routines inside the code so that it could be possible to change the algorithms and take into account local sensors.
    -It should be also feasible to change the display and buttons (Now the local control of the unit is really complex and “unfriendly”):may be a touch screen display…should do the work much better!

    I want also to write a code to run in a remote master unit for control and coordination of several OpenSprinklers!

    If you have time,and wish to participate……….there is a lot to do!

    #41859

    fivos
    Participant

    @pbecchi
    -A remote master unit and several slave units is a great idea. There are many situation where you have sprinklers in different areas of a house and a single interface to handle them all would be really helpful.
    -Local sensors would greatly improve accuracy and flexibility of weather adjustment.
    -As for the local control, I don’t use it very much but some users may benefit of it.

    When you can please upload the logging fix so I can check it. I don’t have much time but I’m interested in this project and I’ll do my best to help.

    I didn’t find any other bugs, only some errors in the schematic you posted.
    -SCL SDA lines are inverted on nodeMCU
    -LCD PCF8574 P1 goes to LCD RW
    -LCD PCF8574 P2 goes to LCD E
    -LCD A1 A2 A3 should go to VCC for the default LCD address
    also you should consider not using pin define that are nodeMCU specific
    e.g. #define SDA_PIN 4 //D2 //:this is standard….it may be changed
    so that the code will be compatible with other esp8266 modules

    #41860

    pbecchi
    Participant

    Fivos

    tanks for your corrections and suggestions!

    I will use GPIO n. in the defines and I will correct the HW drawing then I will upload a commit that include also the logging fix.

    Regarding the future development

    I have started working on the master unit core and in a couple of week I should be able to upload something….

    If you have some time you could start to download the existing weather code available on the github (in pyton and/or in javascript…languages I don’t know) and port it to c++ writing a scketch that can do the same functions:

    I had a look today and I think it will not be a long work than we can go with new sensors and new algorithms(there is a lot of topics on this subject in this forum).

    #41923

    Ray
    Keymaster

    I just had time to check the previous posts in this thread. Seems the I2C issue has been ironed out. Be aware that a lot of the ESP8266 modules out there have incorrectly swapped GPIO 4 and 5 pins. Because these are default I2C pins, they often cause a lot of confusions. So if I2C doesn’t work, just swap GPIO 4 and 5 in software and try again.

    #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

    #42014

    fivos
    Participant

    @pbecchi
    I haven’t had time to check on the project the last two weeks but I have installed the prototype 2 end it’s working flawlessly in the garden since then.
    Sorry but I’m also not familiar with python and/or in javascript. I’m an electrical engineer, so more into the hardware side of things.
    I will try to compile your new version soon and will let you know.


    @ganralf

    At least the previous code was using the memory on the RTC module so it won’t work without it. From what I can see it doesn’t find any I2C devises and that’s
    why it stays in the boot loop.
    Scanning..I2C…..
    No I2C devices found

    As Ray mentioned some ESP8266 modules have incorrectly swapped GPIO 4 and 5 pins (I2C pins). So maybe try to swap the cables and see if it works.

    #42016

    pbecchi
    Participant

    @ganralf
    Some of the available RTC library are NOT compatible with ESP8266 : some do not compile, some compile but dosn’t run.
    You should use the one specified in the readme……
    Regarding your boot loop …Fivos is correct if you are using EEPROM on I2C you need to have the RTC board with the EEPROM cip on it!
    It should show up at boot …but he saying “no I2c devices found!”.
    Otherwise you can specify EEPROM_ESP with a define on pins.h and libsel.h files and the ESP flash will be used as an EEPROM.

    @fivos

    I uploaded yesterday a new release of the code.It Is in the branch modAfterUplaod, I changed the name of the .ino to OpenSprinkler_ESP8266_2_1_6!
    I have also put all the files in the same directory deleting all “../”.
    This code contain several bugs corrections:
    now most of the function I have tested works…
    (regarding logs ..I believe that the code is correct but there is some problem in the java code that run in the server that I cannot asses and correct)
    it may depend on the browser I use….. try and tell me what’s append!
    I am doing little changes right now, since I am working now on the new “OpenSprinkler_Master” code I did to you mention earlier:
    I have now 3 Opensprinkler boards ( proto 1,2 and 3) to monitor and control ….it is coming out …. a little more time …..!

    #42017

    ganralf
    Participant

    @fivos
    Thanks for the advice, I will check my RTC module’s wiring.


    @pbecchi

    Woot, thanks, the EEPROM_ESP flag is what I need. I want to run the module without a RTC attached and have it update the time from a timeserver. One less component to worry about.

    Final plan is to have a module that can attach directly to one or two relays using the onboard GPIO pins for the areas where you don’t need lots of valves.

    Great job so far, will look into it tonight (South Africa here)

    #42022

    pbecchi
    Participant

    @ganralf

    You can try to use it the way you propose , but be aware:
    -RTC may not be used (I haven’t tried…) but time synchronization it is slow…
    -all pins 8+3 need to be declared on pins.h file and ESP8266 has no sufficient GPIO
    -you may try to give the pins you are not using a dummy number but must be an available GPIO.
    -3 pins are necessary for OS buttons.

    Much better to use an expansion cip: or a PCF8574 or a shift register cip.

    Paolo

    #42024

    ganralf
    Participant

    @pbecchi
    Thank you for the advice. I have already added a LCD_NONE flag that removes all LCD logic from the system. Without that the buttons are redundant so I will look into having it just reset the system settings if you hold one button in on bootup.

    As for the GPIO pins, I am going to see if I can add logic to reduce the amount of stations available, perhaps have 8 but hide 4 of them by default or something. For a more complex controller I will definitely add a shift register or a IO expander yes.

    I flashed my nodemcu last night got it connected to the wifi. However on subsequent boots it continually writes the config :/

    It also did not store my wifi password in the password file so is unable to connect to the wifi.

    I will post logs tonight.

    Regards.

    #42026

    ganralf
    Participant

    Ok, I hardcoded my wifi ssid and password into the password file for now.

    Here is the output logs: http://pastebin.com/s1cMfiUQ

    #42091

    Ray
    Keymaster

    @ganralf: the OpenGarage project actually has a decent way to allow users to connect to their own WiFi, without having to hardcode ssid / password. This is probably something you can directly integrate into your work. Basically the way it works is: the controller starts in AP mode, presenting a simple webpage allowing you to select a detected network and put in password. Then it switches to AP+STA mode, trying to connect to your WiFi and report back the IP address. After this, the ssid and password are stored in a file in flash, and the controller restarts in STA mode only. Not the most elegant way (compared to smartconfig), but seems to work fine. In any case, the firmware code is at:
    https://github.com/OpenGarage/OpenGarage-Firmware/tree/master/OpenGarage
    and everything related to AP mode can be found by searching ‘OG_MOD_AP’ in main.cpp.

    #42682

    gmauzy
    Participant

    What did you do exactly to get out of the boot loop? I am having the same problem. No RTC.

    #42731

    Ray
    Keymaster

    I am not sure if I understand this ‘boot loop’. Is it because it’s not finding the I2C device expected, so that it stays in this boot loop?

    Actually for OpenGarage I found some rare boot loops (which I suspect has to do with flash memory corruption and results in firmware crashing). I don’t think is the same issue as the one we are discussing here. But in case there is any relevance, see this page:
    http://opengarage.io

    #42746

    pbecchi
    Participant

    What kind of “boot loop” you are in?

    If you give me more detail a may give you some guidance….. anyhow to run an opensprinkler without a RTC is not advisable!
    In theory NTC should provide right time syncronisation, but since the unit restart very often and syncronisation require more trials……

    By the way , I will upload a new release of ESP8266 OpenSprinkler at the end of the week, it will include several improvements:

    OTA upload capability to upload firmware by TCPIP
    WiFi Manager to select WiFi SSID and password without USB connection
    other minor and bug correction.

    #42903

    gmauzy
    Participant

    This is what I get:

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

    load 0x4010f000, len 1264, room 16
    tail 0
    chksum 0x42
    csum 0x42
    ~ld

    #42984

    pbecchi
    Participant

    Sorry but I need some more data in order to be able to give you some help:
    could you please post (as attachement) the USB output up to the point of Esp reset?

    #43073

    Ray
    Keymaster

    Do you get a stack dump? If so, that means the controller has crashed and the stack dump is supposed to provide debugging information.

    On a possibly related note, I have finally figured out the weird recycle loop issue with some OpenGarage units. Turns out this issue has been reported previously:
    https://github.com/esp8266/Arduino/issues/1054
    and the fix is simply adding a line of code at the beginning of the setup function. For details, check my blog post:
    http://rayshobby.net/esp8266-reboot-cycled-caused-by-flash-memory-corruption-fixed/

    #43233

    gmauzy
    Participant

    I don’t think I’m configuring this correctly. Can you provide the config.h file for me to review?

    #43240

    pbecchi
    Participant

    @gmauzy

    pin.h is the file that need to be modified to fit your hw configuration. You can find few already prepared cases (proto 1 to 6):
    if you need help you can just give me you Hw connections and I can do it for you!

    I am also preparing a short manual (in the github wiki section) that will describe possible Hw configurations and how to prepare the Pins.h file.
    It will be ready in a couple of weeks!

    Paolo

    #43241

    gmauzy
    Participant

    Maybe that’s my problem. I was also editing Config.h. Whatever was changed from a month ago broke me being able to compile. I keep getting errors about EtherCardW5100_o.cpp and EtherCardW5100.h with variables ‘not declared in scope’. All I want to do is test it out without using a RTC, but so far I have had no luck.

    Arduino: 1.6.5 (Windows 8.1), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
    
    Using library EEPROM in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM 
    
    Using library Wire in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire 
    
    Using library ESP8266mDNS in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS (legacy)
    
    Using library SD(esp8266) in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD 
    
    Using library LiquidCrystal in folder: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal (legacy)
    
    Using library SPI in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI 
    
    Using library Ethernet(esp8266) in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet 
    
    Using library ESP8266WiFi in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi 
    
    Using library DNSServer in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer 
    
    Using library ESP8266WebServer in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer 
    
    Using library WiFiManager in folder: C:\Users\Michelle\Documents\Arduino\libraries\WiFiManager 
    
    Using library ArduinoOTA in folder: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA 
    
    C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\Eeprom_ESP.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\Eeprom_ESP.cpp.o 
    
    C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\eeprom_mio.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\eeprom_mio.cpp.o 
    
    C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.cpp.o 
    
    C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2/tools/sdk/include -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\cores\esp8266 -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\variants\nodemcu -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\EEPROM -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Wire -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266mDNS -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD\src -IC:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\LiquidCrystal -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SPI -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\DNSServer\src -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WebServer\src -IC:\Users\Michelle\Documents\Arduino\libraries\WiFiManager -IC:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ArduinoOTA C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp -o C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp.o 
    
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In member function 'void BufferFiller::emit_p(const char*, ...)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:191:36: error: 'eeprom_read_byte' was not declared in this scope
        while ((d = eeprom_read_byte(s++)) != 0)
                                        ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:228:6: error: multiple definition of 'enum tcpstate_t'
     enum tcpstate_t
          ^
    In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:183:6: error: previous definition here
     enum tcpstate_t
          ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:257:37: error: 'WiFiServer EtherCardW5100::w5100server' is not a static member of 'class EtherCardW5100'
     ETHERNES EtherCardW5100::w5100server(80);
                                         ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:258:26: error: 'WiFiClient EtherCardW5100::w5100client' is not a static member of 'class EtherCardW5100'
     ETHERNEC EtherCardW5100::w5100client;
                              ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:259:28: error: 'WiFiUDP EtherCardW5100::w5100udp' is not a static member of 'class EtherCardW5100'
     ETHERNEUDP EtherCardW5100::w5100udp;
                                ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static bool EtherCardW5100::staticSetup(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:289:18: error: no matching function for call to 'EtherCardW5100::WiFiconnect(bool)'
      WiFiconnect(true);
                      ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:289:18: note: candidates are:
    In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: static bool EtherCardW5100::WiFiconnect()
      static  bool WiFiconnect();          // Connect ESP8266 to network and start server
                   ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note:   candidate expects 0 arguments, 1 provided
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)
      static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask);
                  ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note:   candidate expects 4 arguments, 1 provided
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:295:2: error: 'w5100server' was not declared in this scope
      w5100server.begin();
      ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:309:6: error: prototype for 'bool EtherCardW5100::WiFiconnect(bool)' does not match any in class 'EtherCardW5100'
     bool EtherCardW5100::WiFiconnect(bool isStatic)
          ^
    In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: error: candidates are: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)
      static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask);
                  ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: error:                 static bool EtherCardW5100::WiFiconnect()
      static  bool WiFiconnect();          // Connect ESP8266 to network and start server
                   ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static bool EtherCardW5100::dhcpSetup(const char*, bool)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:345:23: error: no matching function for call to 'EtherCardW5100::WiFiconnect(bool)'
      if( WiFiconnect(false)==false)
                           ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:345:23: note: candidates are:
    In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note: static bool EtherCardW5100::WiFiconnect()
      static  bool WiFiconnect();          // Connect ESP8266 to network and start server
                   ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:242:15: note:   candidate expects 0 arguments, 1 provided
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note: static bool EtherCardW5100::WiFiconnect(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)
      static bool WiFiconnect(const uint8_t* my_ip, const uint8_t* gw_ip, const uint8_t* dns_ip, const uint8_t* mask);
                  ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:243:14: note:   candidate expects 4 arguments, 1 provided
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:350:5: error: 'w5100server' was not declared in this scope
         w5100server.begin();
         ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static uint16_t EtherCardW5100::packetLoop(uint16_t)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:414:18: error: 'w5100client' was not declared in this scope
         /*ETHERNEC*/ w5100client = w5100server.available();
                      ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:414:32: error: 'w5100server' was not declared in this scope
         /*ETHERNEC*/ w5100client = w5100server.available();
                                    ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::ntpRequest(uint8_t*, uint8_t)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:458:5: error: 'w5100udp' was not declared in this scope
         w5100udp.begin ( srcport );   // TODO - should this be in begin()?
         ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static unsigned char EtherCardW5100::ntpProcessAnswer(uint32_t*, unsigned char)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:474:22: error: 'w5100udp' was not declared in this scope
         int packetSize = w5100udp.parsePacket();
                          ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: At global scope:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:742:7: error: prototype for 'void EtherCardW5100::httpServerReply(uint16_t)' does not match any in class 'EtherCardW5100'
      void EtherCardW5100::httpServerReply ( uint16_t dlen )
           ^
    In file included from C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:29:0:
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100.h:294:17: error: candidate is: static void EtherCardW5100::httpServerReply(word)
         static void httpServerReply ( word dlen );
                     ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::httpServerReply_with_flags(uint16_t, uint8_t)':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:773:4: error: 'w5100client' was not declared in this scope
        w5100client.print ( ( char* ) bfill.buffer() );
        ^
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp: In static member function 'static void EtherCardW5100::browseUrl(const char*, const char*, const char*, const char*, void (*)(uint8_t, uint16_t, uint16_t))':
    C:\Users\Michelle\AppData\Local\Temp\build1685952031143381766.tmp\EtherCardW5100_o.cpp:869:2: error: 'w5100client' was not declared in this scope
      w5100client.stop();
      ^
    Multiple libraries were found for "SD.h"
    
     Used: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\SD
    
     Not used: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\SD
    
    Multiple libraries were found for "Ethernet.h"
    
     Used: C:\Users\Michelle\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\Ethernet
    
     Not used: C:\Users\Michelle\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\Ethernet
    
    Error compiling.
Viewing 25 posts - 26 through 50 (of 172 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266