Lanbon L8 freezes very often #20442
-
I am very happy with the possibilities the Lanbon L8 has with HASPmota. On the console screen there is nothing special to see. It only stops the state update every 300 seconds and is no more responsive. Is this a known problem or do I have a defect system? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
Did you check if the available Heap size is stable, or counting down for some reason. Part of the STATE message at TelePeriod. |
Beta Was this translation helpful? Give feedback.
-
Does the devices has PSRAM? Without you won't get happy using HASPmota |
Beta Was this translation helpful? Give feedback.
-
With your hints I compiled a new built with Gitpod and it looks quite promissing concerning the PSRAM, but is has another fault. 00:00:00.002-225/53 HDW: ESP32-D0WD v1.0 (PSRAM)
00:00:00.240-223/52 UFS: FlashFS mounted with 4204 kB free
00:00:00.259-223/52 CFG: Loaded from File, Count 524
00:00:00.267-223/52 QPC: Count 1
00:00:00.272-222/52 SPI: Hardware using GPIO19(CLK), GPIO23(MOSI) and GPIO25(MISO)
00:00:00.274-222/52 I2C: Bus1 using GPIO00(SCL) and GPIO04(SDA)
00:00:00.456-221/52 BRY: Berry initialized, RAM used 3961 bytes
00:00:00.543-220/52 Project tasmota - Tasmota Version 13.3.0(LVGLFIX)-2_0_14(2024-01-10T16:19:49)
00:00:00.853-220/52 TAP: Loaded Tasmota App 'haspmota_widgets.tapp'
00:00:01.372-220/52 BRY: failed to run compiled code 'syntax_error' - /haspmota_widgets.tapp#/lv_tasmota_log.be:3: 'lv' undeclared (first use in this function)
00:00:01.551-215/50 BRY: failed to run compiled code 'import_error' - module 'haspmota' not found
00:00:02.639-176/39 WIF: Connecting to AP1 xxx Channel 6 BSSId 98:9B:CB:9F:40:02 in mode 11n as lanbon-1-0656...
00:00:03.280-176/39 WIF: Connected
17:37:47.053-171/37 HTP: Web server active on lanbon-1-0656 with IP address 192.168.17.71
17:37:47.866-171/38 MQT: Attempting connection...
17:37:49.845-169/37 MQT: Connected In platformio_tasmota_cenv.ini I used: [env:tasmota32-lvglfix]
extends = env:tasmota32-lvgl
board = esp32-fix
board_build.f_cpu = 240000000L
build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA-LVGLFIX There is somewhere something missing. The screen is only white. |
Beta Was this translation helpful? Give feedback.
-
This should be enough
|
Beta Was this translation helpful? Give feedback.
It likely has PSRAM, but with a rather old ESP32 it needs a build to support this hardware, as indicated in the console messages.
I did not find where in the docs you're supposed to see, but what's needed is a build with board esp32-fix.
As an example, this happens for the webcam build (don't try using that build; no display support).
https://github.com/arendst/Tasmota/blob/development/platformio_tasmota_env32.ini#L42-L50
When it comes to the LVGL build for displays on an ESP32 without working PSRAM, this is in the zone of being bo…