OpenSprinkler Forums OpenSprinkler Unified Firmware Unable to set fixed IP add on ESP32

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

    zenonmb
    Participant

    Colleagues,

    I was happily running opensprinkler on ESP32 until I decided to switch to fixed IP add . Accesed the GUI, under options, uncheck DHCP. It showed existing IP and changed to the one I wanted (fixed) and did save changes .Never came up….

    Since there was not any activity on serial monitor, decided to flash again (the ESP32,using Arduino 1.8.19) . Somehow did no erase completely the flash, since the system is continously rebooting.

    Rebooting…
    ets Jun 8 2016 00:22:57

    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff0030,len:1344
    load:0x40078000,len:13864
    load:0x40080400,len:3608
    entry 0x400805f0
    Scanning i2c for devices…
    No I2C devices found
    Starting to detect expanders
    New IOEXP detected at address: 36
    New IOEXP detected at address: 37
    New IOEXP detected at address: 38
    New IOEXP detected at address: 39
    hw_type = 172 hw_rev = 0
    Clearing all starion
    Starting sensors – INPUT_PULLUP
    Sensor1 PIN: 36
    Sensor2 PIN: 2
    Starting RFTX pins
    RFTX PIN: 255
    Starting LCD
    Init file system
    SPIFFS dir:
    FILE: done.dat
    FILE: sopts.dat
    FILE: 1.txt
    FILE: stns.dat
    FILE: prog.dat
    FILE: 19325.txt
    FILE: iopts.dat
    FILE: nvcon.dat
    Starting network
    [ 5225][E][ESPmDNS.cpp:148] addService(): Failed adding service http.udp.

    Guru Meditation Error: Core 1 panic’ed (LoadProhibited). Exception was unhandled.

    Core 1 register dump:
    PC : 0x400898a2 PS : 0x00060f30 A0 : 0x800ec808 A1 : 0x3ffb2640
    A2 : 0x00000000 A3 : 0x3ffb268c A4 : 0x00000004 A5 : 0x3ffb25df
    A6 : 0x00ff0000 A7 : 0x00000000 A8 : 0x00000001 A9 : 0x3ffb2510
    A10 : 0x00000006 A11 : 0x00000000 A12 : 0x00000006 A13 : 0x3ffd2544
    A14 : 0x00000000 A15 : 0x00000001 SAR : 0x00000015 EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000 LBEG : 0x40089930 LEND : 0x40089946 LCOUNT : 0xffffffff

    Backtrace:0x4008989f:0x3ffb26400x400ec805:0x3ffb2660 0x400d53c9:0x3ffb2680 0x400d7e05:0x3ffb26f0 0x400d858b:0x3ffb2800 0x400ed9ad:0x3ffb2820

    ELF file SHA256: 0000000000000000

    Rebooting…
    ets Jun 8 2016 00:22:57

    So, to recover the esp32, I had to flash it again , but now using esp tool (not arduino)and then is back again , but using DHCP . And if I change the DHCP to fixed, same situation….

    Anyone seeing this behavior?
    Anyone running ESP32 on fixed IP add?

    #74421

    Ray
    Keymaster

    Have you tried using the DHCP reservation feature on your router to set a fixed IP?

    #74427

    zenonmb
    Participant

    No,I have not . But what would change that on the controller? Actually, at home I have all DHCP . Are you saying that the router might be “kicking off” the controller and this casues the reboot? I can see and checked that the IP address is not in use.
    On the field, yes I have some range reserved for DHCP

    #74429

    Ray
    Keymaster

    If your router can do DHCP reservation, then why would you need to set static IP on the controller? You want a fixed IP, and DHCP reservation can achieve that, so you can keep Opensprinkler in DHCP mode. Your problem was due to setting DHCP off, isn’t it? What I was suggesting is a way to get fixed IP without having to set DHCP off.

    #74432

    zenonmb
    Participant

    My mistake. Was not aware of that feature in routers. Actually not sure if available .Will check . I thought you were talking about setting aside a range of IP addresses for dhcp (leaving other ip range for fixed ip), that every router ask when you define dhcp.
    And yes,my problem was on setting DHCP to off.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware Unable to set fixed IP add on ESP32