HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32
https://www.openhasp.com
MIT License
695 stars 179 forks source link

No webpage on sunton-8048s050c #656

Closed matsekberg closed 6 months ago

matsekberg commented 7 months ago

Perform all steps below and tick them with [x]

Describe the bug

I don't get a web page after successfully configured wifi params.

To Reproduce

OpenHASP: v0.7.0-rc11 Environment: sunton-8048s050c_16MB

I have managed to set the SSID via the panel and when I restart I get the log below. I do not get any web page and the log seems to indicate that it fails after MDNS is started.

Expected behavior

After boot a web server should have been present at 10.0.1.26

Screenshots or video

Log from serial port:

Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x128 load:0x403c9700,len:0xb90 load:0x403cc700,len:0x28cc entry 0x403c98b8

    open____ _____ _____ _____
      |  |  |  _  |   __|  _  |
      |     |     |__   |   __|
      |__|__|__|__|_____|__|
    Home Automation Switch Plate
    Open Hardware edition v0.7.0-rc11

[ 0.092][212980/246828 13][ 0/ 0 0] DBUG: Started @ 115200 bps #[ 0.101][212980/246828 13][ 0/ 0 0] DBUG: Environment: sunton-8048s050c_16MB #[ 0.111][212980/246828 13][ 0/ 0 0] UART: Started #[ 0.118][212980/246828 13][ 0/ 0 0] UART: Client login from serial #[ 0.140][212980/246728 13][ 0/ 0 0] CONF: SPI flash FS mounted Prompt > [ 0.163][212980/246728 13][ 0/ 0 0] CONF: Loading /config.json Prompt > [ 0.174][212980/245896 13][ 0/ 0 0] CONF: Loaded /config.json Prompt > [ 0.183][212980/246792 13][ 0/ 0 0] DBUG: Loading debug settings Prompt > [ 0.193][212980/246792 13][ 0/ 0 0] GPIO: Loading GUI settings Prompt > [ 0.203][212980/246792 13][ 0/ 0 0] GUI : First Touch Calibration enabled Prompt > [ 0.213][212980/246792 13][ 0/ 0 0] HASP: Loading HASP settings Prompt > [ 0.223][212980/246792 13][ 0/ 0 0] WIFI: Loading WiFi settings Prompt > [ 0.252][212980/244824 13][ 0/ 0 0] WG : Loading WireGuard settings Prompt > [ 0.263][212980/244824 13][ 0/ 0 0] MQTT: Loading MQTT settings Prompt > [ 0.280][212980/244824 13][ 0/ 0 0] TELN: Loading Telnet settings Prompt > [ 0.290][212980/244824 13][ 0/ 0 0] MDNS: Loading MDNS settings Prompt > [ 0.300][212980/244824 13][ 0/ 0 0] HTTP: Loading HTTP settings Prompt > [ 0.310][212980/244824 13][ 0/ 0 0] GPIO: Loading GPIO settings Prompt > [ 0.319][212980/244824 13][ 0/ 0 0] CONF: Settings loaded Prompt > [ 0.389][204788/215972 5][ 0/ 0 0] WIFI: Connecting to VAJFAJ Prompt > [ 0.400][204788/215924 5][ 0/ 0 0] MSGR: Starting… Prompt > [ 0.408][204788/215924 5][ 0/ 0 0] MSGR: Started Prompt > [ 0.417][204788/215924 5][ 0/ 0 0] TFT : Starting… Prompt > [ 0.426][204788/215608 5][ 0/ 0 0] TFT : Starting… Prompt > [ 0.457][204788/212676 3][ 0/ 0 0] TFT : Started Prompt > [ 0.498][204788/212676 3][ 0/ 0 0] TFT : Started Prompt > [ 0.593][204788/212676 3][ 0/ 0 0] LVGL: Starting… Prompt > [ 0.606][126964/135660 6][62608/62832 1] LVGL: LV_FS_PC ready Prompt > [ 0.617][102388/110488 7][61908/61956 1] GUI : Initialize Cursor Prompt > [ 1.794][98292/109720 10][61816/61840 1] DRVR: GT911 Started (800x480) Prompt > [ 1.809][98292/109720 10][61816/61840 1] DRVR: * Found device 0x5d Prompt > [ 1.822][98292/109620 10][61576/61592 1] LVGL: Started Prompt > [ 1.838][98292/109620 10][59116/59756 2] HASP: Custom theme loaded Prompt > [ 1.861][98292/109620 10][58564/58568 1] HASP: Loading /pages.jsonl Prompt > [ 1.887][98292/109620 10][58448/58452 1] HASP: Loaded /pages.jsonl Prompt > [ 1.897][98292/109620 10][58448/58452 1] HASP: Changing page to 1 Prompt > [ 1.906][98292/109620 10][58288/58292 1] GPIO: Starting… Prompt > [ 1.915][98292/109620 10][58288/58292 1] GPIO: Reboot counter 0 Prompt > [ 1.924][98292/109620 10][58288/58292 1] GPIO: Started Prompt > [ 1.934][94196/104988 10][58288/58292 1] HTTP: Started Prompt > [ 1.943][94196/104444 9][58288/58292 1] TELN: Telnet console started Prompt > [ 1.953][94196/104444 9][58288/58292 1] FTP : Starting… Prompt > [ 1.962][94196/104444 9][58288/58292 1] FTP : Disabled Prompt > [ 1.992][94196/104444 9][58288/58292 1] MSGR: File not found: L:/boot.cmd Prompt > [ 2.004][94196/103496 8][58288/58292 1] MQTT: hasp/plate/LWT Prompt > [ 2.013][94196/103448 8][58288/58292 1] MQTT: hasp/plate/LWT Prompt > [ 2.022][94196/103592 9][58288/58292 1] MQTT: Broker not configured Prompt > [ 2.476][94196/103236 8][57644/58448 2] WIFI: assoc failed Prompt > [ 3.544][94196/103180 8][57644/58448 2] WIFI: Connected to VAJFAJ, requesting IP… Prompt > [ 3.570][94196/103128 8][57644/58448 2] WIFI: Received IP address 10.0.1.26 Prompt > [ 5.083][94196/103484 8][57644/58448 2] MSGR: Loading L:/online.cmd Prompt > [ 5.105][86004/97392 11][57644/58448 2] MSGR: jsonl={”page”:0,”id”:239,”obj”:”msgbox”,”text”:”%ip%”,”auto_close”:20000} Prompt > [ 5.153][90100/102412 12][57836/57876 1] MSGR: Loaded L:/online.cmd Prompt > [ 5.163][94196/103012 8][57836/57876 1] HTTP: Started @ http://10.0.1.26 Prompt > [ 5.173][94196/103060 8][57836/57876 1] MDNS: Starting… Prompt > [ 5.205][86004/95764 10][57836/57876 1] MDNS: Started Prompt > 

---- Here I did a reset on the reset button on the panel, only the last lines are shown ----

Prompt > [ 5.165][94196/103004 8][57836/57876 1] HTTP: Started @ http://10.0.1.26 Prompt > [ 5.175][94196/103052 8][57836/57876 1] MDNS: Starting… Prompt > [ 5.207][86004/95768 10][57836/57876 1] MDNS: Started Prompt > 

fvanroie commented 7 months ago

Seems to be a duplicate of #592

fvanroie commented 6 months ago

Duplicate