HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32

Home Page:https://www.openhasp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No webpage on sunton-8048s050c

matsekberg opened this issue · comments

Perform all steps below and tick them with [x]

  • Check the related part of the Documentation
  • Update openHASP to the latest version
  • Reproduce the issue and describe all steps

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

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

�[1000D�[0KPrompt > �[1000D�[9C[ 5.165][94196/103004 8][57836/57876 1] HTTP: Started @ http://10.0.1.26
�[1000D�[0KPrompt > �[1000D�[9C[ 5.175][94196/103052 8][57836/57876 1] MDNS: Starting…
�[1000D�[0KPrompt > �[1000D�[9C[ 5.207][86004/95768 10][57836/57876 1] MDNS: Started
�[1000D�[0KPrompt > �[1000D�[9C

Seems to be a duplicate of #592

Duplicate