Giter Club home page Giter Club logo

esp32-tuya_device's People

Contributors

s60sc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zorrobyte

esp32-tuya_device's Issues

First installation bootlooping "Starting web server on port: 80"

I followed the instructions and flashed my esp-c3f using Arduino IDE and it doesn't show up the WiFi. The serial output shows it crashing/looping as follows. (note, I added memory logging to see if it would help - it did not)

It crashes after Starting web server on port: 80

16:49:11.950 -> ESP-ROM:esp32c3-api1-20210207
16:49:11.950 -> Build:Feb  7 2021
16:49:11.996 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
16:49:11.996 -> Saved PC:0x4038203e
16:49:11.996 -> SPIWP:0xee
16:49:11.996 -> mode:DIO, clock div:1
16:49:11.996 -> load:0x3fcd5810,len:0x438
16:49:11.996 -> load:0x403cc710,len:0x918
16:49:11.996 -> load:0x403ce710,len:0x25f4
16:49:11.996 -> entry 0x403cc710
16:49:12.228 -> 
16:49:12.228 -> [00:03:40.322 ramLogClear] Setup RAM based log
16:49:12.352 -> [00:03:40.324 listFolder] Sketch size 1320kB
16:49:12.352 -> [00:03:40.458 listFolder] LittleFS: Total bytes 131072, Used bytes 16384
16:49:12.352 -> startStorage > Free: heap 244164, block: 225268, pSRAM 0
16:49:12.570 -> [00:03:40.669 loadConfig] Load config
16:49:12.570 -> [00:03:40.670 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt 
16:49:12.570 -> [00:03:40.672 WARN retrieveConfigVal] Key hostName not set 
16:49:12.570 -> [00:03:40.682 WARN retrieveConfigVal] Key AP_SSID not set 
16:49:12.695 -> [00:03:40.832 setWifiSTA] Wifi Station IP from DHCP
16:49:12.741 -> setWifiSTA > Free: heap 203508, block: 180212, pSRAM 0
16:49:12.912 -> [00:03:41.039 onWiFiEvent] Wifi AP stopped: ESP-TuyaDevice_18AA0333E864
16:49:12.912 -> [00:03:41.040 onWiFiEvent] Wifi AP SSID: ESP-TuyaDevice_18AA0333E864 started, use 'http://192.168.4.1' to connect
16:49:12.959 -> setWifiAP > Free: heap 201396, block: 180212, pSRAM 0
16:49:13.143 -> [00:03:41.250 WARN startWifi] SSID  not available, use AP 
16:49:19.776 -> [00:03:47.884 startPing] Started ping monitoring
16:49:19.776 -> startPing > Free: heap 191564, block: 172020, pSRAM 0
16:49:19.950 -> [00:03:48.086 startWebServer] Starting web server on port: 80
16:49:19.996 -> startWebserver > Free: heap 182296, block: 163828, pSRAM 0
16:49:20.758 -> ESP-ROM:esp32c3-api1-20210207
16:49:20.758 -> Build:Feb  7 2021
16:49:20.802 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
16:49:20.802 -> Saved PC:0x4038203e
16:49:20.802 -> SPIWP:0xee
16:49:20.802 -> mode:DIO, clock div:1
16:49:20.802 -> load:0x3fcd5810,len:0x438
16:49:20.802 -> load:0x403cc710,len:0x918
16:49:20.802 -> load:0x403ce710,len:0x25f4
16:49:20.802 -> entry 0x403cc710
16:49:21.036 -> 
16:49:21.036 -> [00:03:49.134 ramLogClear] Setup RAM based log
16:49:21.161 -> [00:03:49.135 listFolder] Sketch size 1320kB
16:49:21.161 -> [00:03:49.269 listFolder] LittleFS: Total bytes 131072, Used bytes 16384
16:49:21.161 -> startStorage > Free: heap 244164, block: 225268, pSRAM 0
16:49:21.377 -> [00:03:49.481 loadConfig] Load config
16:49:21.377 -> [00:03:49.482 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt 
16:49:21.377 -> [00:03:49.483 WARN retrieveConfigVal] Key hostName not set 
16:49:21.377 -> [00:03:49.494 WARN retrieveConfigVal] Key AP_SSID not set 
16:49:21.502 -> [00:03:49.644 setWifiSTA] Wifi Station IP from DHCP
16:49:21.549 -> setWifiSTA > Free: heap 203508, block: 180212, pSRAM 0
16:49:21.753 -> [00:03:49.851 onWiFiEvent] Wifi AP stopped: ESP-TuyaDevice_18AA0333E864
16:49:21.753 -> [00:03:49.852 onWiFiEvent] Wifi AP SSID: ESP-TuyaDevice_18AA0333E864 started, use 'http://192.168.4.1' to connect
16:49:21.753 -> setWifiAP > Free: heap 201396, block: 180212, pSRAM 0
16:49:21.925 -> [00:03:50.063 WARN startWifi] SSID  not available, use AP 
16:49:28.401 -> [00:03:56.499 startPing] Started ping monitoring
16:49:28.401 -> startPing > Free: heap 190936, block: 172020, pSRAM 0
16:49:28.572 -> [00:03:56.702 startWebServer] Starting web server on port: 80
16:49:28.572 -> startWebserver > Free: heap 182296, block: 163828, pSRAM 0
16:49:29.382 -> ESP-ROM:esp32c3-api1-20210207
16:49:29.382 -> Build:Feb  7 2021

Any suggestions would help! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.