Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blasphemy: Switch to HA Integration instead of Blueprint? #1983

Open
Bascht74 opened this issue Mar 25, 2024 · 55 comments
Open

blasphemy: Switch to HA Integration instead of Blueprint? #1983

Bascht74 opened this issue Mar 25, 2024 · 55 comments
Labels
Enhancement For suggestions that add new features or improve existing functionalities.

Comments

@Bascht74
Copy link

Bascht74 commented Mar 25, 2024

Enhancement Summary

With your own integration, you could break out of the corset of the one (!) blueprint and realize some things that are difficult now more easily and flexibly.

Detailed Description

E.G. https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager is using its own integration (in the background it is using blueprints as well!) to do some fance UI stuff. This would streamline the users experiance and would enable the possibility to add features that are right now not possible:

  1. Cut the blueprint to smaller peaces per device
  2. Enable blueprint-variations, e.g. 6 Button pages with bigger Buttons (e.g. for older people or people with less motoric control)
  3. Enable navigation buttons (to see everything on the first page without the need to know that swiping is needed)
  4. To cut the options in smaller peaces, e.g. show the button page as a screenshot an you can click on a button to do the configuration
  5. Add more options for the buttons, e.g. to control the behavior of short / long press (which would make the the blueprint much longer if you would add it).

I know this stepp would be more of a radical one, but maybe it could set you guys free of all mayer limitations of blueprints.

Additional Context

Another way/alternative to control the length of the blueprint would be to add sections or the possibilty to hide stuff in the blueprint itself.

These are the people working on the editor of the blueprints itself:
https://github.com/home-assistant/frontend/commits/dev/src/panels/config/blueprint
And this is a pull request that could fire the whole project in an new area:
home-assistant/frontend#19946
home-assistant/core#110513

... and if they would add an option to hide input fields based on others afterwards that would make everything easy and smooth...

@Bascht74 Bascht74 added the Enhancement For suggestions that add new features or improve existing functionalities. label Mar 25, 2024
@edwardtfn
Copy link
Collaborator

I thought about that a couple of times. It will definitely open new options and make the whole process simpler, as the way Blueprints work requires more communication between the panel and the blueprint, which could be minimized with this approach.
But it's important to be clear that the limitations on the Nextion display in use is the biggest blocker. The ESPHome memory is also an issue, but I still with hope for someone finding a way to access it's PSRAM some day to alleviate this.

And, the biggest blocker to this is my lack of time to invest on it. 😞

But it's nice to see those PRs you shared. That will certainly improve the user interface on the Blueprint side, which is also limiting us sometimes.

@Bascht74
Copy link
Author

Bascht74 commented Mar 25, 2024

Yeah, time is always an issue...

As for PSRAM:
I found this: https://esphome.io/components/psram.html
(yaml config awailable since 2023.08: esphome/esphome#5312 )

...It is automatically loaded and enabled by components that require it.

It seems to be used, e.g. by:
esphome/esphome#5872

You could add a sensor to get the free space:

platform: template
name: Free psram
lambda: return ESP.getFreePsram();
icon: "mdi:memory"
entity_category: diagnostic
state_class: measurement
unit_of_measurement: "b"
update_interval: 60s

or:

https://esphome.io/components/debug.html

sensor:
  - platform: debug
    free:
      id: heap_free
      name: "Heap Free"
    block:
      name: "Max Block Free"
    loop_time:
      name: "Loop Time"
    psram:
      name: "PSRAM Free"

e.g. esphome/esphome#5872
seems to be using PSRAM as well as:
https://github.com/esphome/esphome/tree/dev/esphome/components/esp32_camera

The chip on the NSPanel seems to be a ESP32-D0WD-V3 (revision 3) that doesn't have PSRAM-bugs the the revisions befor had:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/external-ram.html
https://www.espressif.com/sites/default/files/documentation/ESP32_ECO_V3_User_Guide__EN.pdf

According to https://blakadder.com/nspanel-teardown/ it has a 4MB Winbond flash (W25Q32JVSSIQ with 4 Mbyte) and a 16MB PSRAM chip (from https://pallavaggarwal.in/2022/12/23/teardown-sonoff-nspanel-wifi-tft/ you can see that it is a ESP PSRAM16H, so it is 16MBit so 2 MByte PSRAM)

Custom GPIO Layout for the PSRAM
GPIO05 - PSRAM SCLK
GPIO18 - PSRAM /CE
GPIO09 - PSRAM SIO[3]

@Bascht74
Copy link
Author

Bascht74 commented Mar 25, 2024

I don't know how to set these pins via ESPHOME.
you can do it here:
https://www.esp32.com/viewtopic.php?t=17394

ahhh. maybe I found it:
https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-reference/kconfig.html

CONFIG_D0WD_PSRAM_CLK_IO
PSRAM CLK IO number

Found in: Component config > ESP32-specific > CONFIG_SPIRAM_SUPPORT > SPI RAM config > PSRAM clock and cs IO for ESP32-DOWD

The PSRAM CLOCK IO can be any unused GPIO, user can config it based on hardware design. If user use 1.8V flash and 1.8V psram, this value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.

CONFIG_D0WD_PSRAM_CS_IO
PSRAM CS IO number

Found in: Component config > ESP32-specific > CONFIG_SPIRAM_SUPPORT > SPI RAM config > PSRAM clock and cs IO for ESP32-DOWD

The PSRAM CS IO can be any unused GPIO, user can config it based on hardware design. If user use 1.8V flash and 1.8V psram, this value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.

That is maybe interesting as well:

CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST
BT/BLE will first malloc the memory from the PSRAM

Found in: Component config > Bluetooth > CONFIG_BLUEDROID_ENABLED

This select can save the internal RAM if there have the PSRAM

So accordingly to https://blakadder.com/nspanel-teardown/ :
GPIO05 - PSRAM SCLK
GPIO18 - PSRAM /CE
GPIO09 - PSRAM SIO[3]

the compile options should then (maybe) add something like:
CONFIG_D0WD_PSRAM_CLK_IO=5 // GPIO05 - PSRAM SCLK
CONFIG_D0WD_PSRAM_CS_IO=18 // GPIO18 - PSRAM /CE

image
image
image

default values: https://docs.espressif.com/projects/esp-idf/en/release-v4.2/esp32/api-guides/external-ram.html
PSRAM /CE (pin 1) > ESP32 GPIO 16 ---> NSPANEL GPIO 18
PSRAM SCLK (pin 6) > ESP32 GPIO 17 ---> NSPANEL GPIO 5
PSRAM SIO[3] (pin 7) > flash HOLD ---> NSPANEL GPIO 9

PSRAM Vcc (pin 8) > ESP32 VCC_SDIO
PSRAM SO (pin 2) > flash DO
PSRAM SIO[2] (pin 3) > flash WP
PSRAM SI (pin 5) > flash DI

@Bascht74
Copy link
Author

Bascht74 commented Mar 26, 2024

By the way, I just found this:
esphome/feature-requests#2369

As you can see, somebody tried the same and it seems to work with that configuration.
Too bad, that I didn't find it before...

He set:

CONFIG_D0WD_PSRAM_CLK_IO=5
CONFIG_D0WD_PSRAM_CS_IO=18

I will try tomorrow with:

esphome:
  platformio_options:
    board_build.flash_mode: dio # can maybe removed?
    build_flags:
      - -Wno-missing-field-initializers

esp32:
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_D0WD_PSRAM_CLK_IO: "5"
      CONFIG_D0WD_PSRAM_CS_IO: "18"

psram:
#  mode: quad
  speed: 80MHz

debug:
  update_interval: 5s

text_sensor:
  - platform: debug
    device:
      name: "Device Info"
    reset_reason:
      name: "Reset Reason"

sensor:
  - platform: debug
    free:
      id: heap_free
      name: "Heap Free"
    block:
      name: "Max Block Free"
    loop_time:
      name: "Loop Time"
    psram:
      name: "PSRAM Free"

@edwardtfn
Copy link
Collaborator

Wow, I've looked for enabling this PSRAM many times and got to most of those things you mentioned, but never to that esphome/feature-requests#2369 from @olicooper which looks to be in the right direction:

[08:48:08][C][psram:020]: PSRAM:
[08:48:08][C][psram:021]:   Available: YES
[08:48:08][C][psram:024]:   Size: 2047 KB

I still have to play a bit more to find a way to map all the 16Mb, but anyhow, 2Mb is very welcome if that works with no issue.

Thanks a lot for your support!!

edwardtfn added a commit that referenced this issue Mar 26, 2024
Please see the following discussions:
- #1983
- #1946
- #1815
@MichaelHeimann
Copy link
Contributor

I still have to play a bit more to find a way to map all the 16Mb, but anyhow, 2Mb is very welcome if that works with no issue.

16Mbit = 2Mbyte, so all fine?

@edwardtfn
Copy link
Collaborator

edwardtfn commented Mar 26, 2024

You are right. From the teardown (form long time ago) I understood it was 16MBytes, but just opened my panel to double check the PSRAM chip and it is indeed 16 Mbit: ESP PSRAM16H

@edwardtfn
Copy link
Collaborator

So, the downside of this is breaking the Arduino compatibility: https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/runs/8436027984

But this is expected to some moment anyways.

@olicooper
Copy link

Ah yes, the reason I was looking in to the PSRAM of the NSPanel is because I am developing a native ESPHome component for the NSPanel (seen here) but as you have noticed, the various assets required to give it all the required features makes it difficult to manage without this additional memory!

I came across the same issue with Ardunio not supporting updates to the required defines without rebuilding the Arduino binary (making it not feasible for most people). I am planning to move over to esp-idf as a result. This will have the added benefit of improving performance and reducing space requirements. I'm not sure if you can do the same?

@MichaelHeimann
Copy link
Contributor

@olicooper this is the way :)
See #1891

@edwardtfn
Copy link
Collaborator

I have no questions about ESP-IDF. I'm using this myself since a while and it is rock solid. The Nextion component on ESPHome is now fully compatible (including the upload TFT engine) with ESP-IDF.
Basically, ESP-IDF enabled the use of BLE (proxy, tracker, etc.), however we still have memory (heap) issues when uploading TFT. I certainly can work to improve that component. It's easy to find places to fix this, however the additional PSRAM is very welcome (and I will use for other optimizations also, so thanks for that).
The problem now looks to be on the Flash side. PSRAM takes a bit, and as our project + BLE was already in the limit, it is failing now and I believe it is on Flash (to be confirmed).
With Arduino it wasn't possible to even use BLE, so no question about ESP-IDF, but we still having users with Arduino and I will try to make their life easier, when possible.

But before I forget, thanks a lot for giving the directions to PSRAM. 😃

@Bascht74
Copy link
Author

Couple of thoughts:

For ESP-IDF with BLE and upload TFT:
Could somebody try this if it solving the memory (heap) issues?

CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST

BT/BLE will first malloc the memory from the PSRAM

Found in: Component config > Bluetooth > CONFIG_BLUEDROID_ENABLED

This select can save the internal RAM if there have the PSRAM

and:

So, the downside of this is breaking the Arduino compatibility: https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/runs/8436027984

But this is expected to some moment anyways.

Could be the solution to split the basic package e.g. like this:

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome_esp_idf.yaml # Basic package, using ESP-IDF with PSRAM
      # - nspanel_esphome_arduino.yaml # Basic package, using arduino without PSRAM
      # Optional advanced and add-on configurations
      # - esphome/nspanel_esphome_advanced.yaml
      # - nspanel_esphome_addon_climate_cool.yaml
      # - nspanel_esphome_addon_climate_heat.yaml
      # - nspanel_esphome_addon_climate_dual.yaml
    refresh: 300s

or maybe like this

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Basic package
      - nspanel_esp_idf.yaml # use ESP-IDF with PSRAM --> this contains the matching `esp32` component
      # - nspanel_arduino.yaml # use ardunio without PSRAM --> this contains the matching `esp32` component
      # Optional advanced and add-on configurations
      # - esphome/nspanel_esphome_advanced.yaml
      # - nspanel_esphome_addon_climate_cool.yaml
      # - nspanel_esphome_addon_climate_heat.yaml
      # - nspanel_esphome_addon_climate_dual.yaml
    refresh: 300s

@edwardtfn
Copy link
Collaborator

About splitting the files, I thought that also, but it will require all the arduino users to change they yaml.

It isn't the end of the world, but will require good communication...

@edwardtfn
Copy link
Collaborator

I will try this with CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST later...

@Bascht74
Copy link
Author

Very excited about it. Maybe it changes something.

I cannot try myself right now (still in Frankfurt - football game yesterday…)

@edwardtfn
Copy link
Collaborator

I've tried, but unfortunately still the same issues. 😞

@edwardtfn
Copy link
Collaborator

Everyone using arduino have this on their panel's yaml to specify the framework:

esp32:
  framework:
    type: arduino

They just have to change to this:

esp32:
  framework:
    type: arduino
    sdkconfig_options: !remove

I wish we could have something like #if (from c++) on the ESPHome yaml.

@X-Ryl669
Copy link
Contributor

X-Ryl669 commented Apr 4, 2024

Related configuration defines that might be needed for SPI RAM usage:

  • CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY Tried in ESPHome, will crash 100% of the time somewhere later, there are components that use IRAM flag for some of their code and this crash when it's called from interrupt with SPI disabled. So stack for task currently doesn't work well in PSRAM on ESPHome. Code need to be changes to use xTaskCreateWithCaps instead of xTaskCreate
  • CONFIG_SPIRAM required
  • CONFIG_SPIRAM_USE_MALLOC probably what you are looking for. This adds a heap pool in PSRAM. However, this requires changing some of the more memory hungry component to select this pool first when allocating, else, they'll simply exhaust the DRAM pool first.
  • CONFIG_SPIRAM_USE shouldn't be used anymore, since it caused lots of cache errors.

So far, I'm not 100% confident it's working in ESPHome, had many crashes with my ESP32 when these were enabled in ESP-ADF, and it's very hard to debug post mortem with ESPHome.

@edwardtfn
Copy link
Collaborator

edwardtfn commented Apr 4, 2024

I'm using the following since a while with no noticeable issues:

    sdkconfig_options:
      CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST: "y"
      CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY: "y"
      CONFIG_D0WD_PSRAM_CLK_IO: "5"
      CONFIG_D0WD_PSRAM_CS_IO: "18"
      CONFIG_ESP32_REV_MIN_3: "y"

I've also tried those, but then I have issues when uploading TFT from a remote https server (GitHub):

#      CONFIG_LWIP_MAX_SOCKETS: "5"
#      CONFIG_MBEDTLS_DYNAMIC_BUFFER: "y"
#      CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT: "y"
#      CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA: "y"
#      CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC: "y"
#      CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH: "y"
#      CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y"

I don't know exactly which one(s) was causing the issue. I will try more later to map the impact of each one of those.

Additionally, I've tried those, but I haven't noticed any impact (neither positive or negative), so I've removed:

      #BOARD_HAS_PSRAM: "y"
      #CONFIG_D0WD_PSRAM_MISO_PIN: "19"
      #CONFIG_D0WD_PSRAM_MOSI_PIN: "23"
      #CONFIG_SPIRAM_CACHE_WORKAROUND: "y"
      #CONFIG_SPIRAM_SUPPORT: "y"

I've also tried different modes and speeds on the PSRAM component, with no noticeable impact.

2024-04-05 Edit:
This is the one causing issues on the Update TFT engine: CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH: "y"

[16:20:19][D][esp-idf:000]: E (46776) esp-tls-mbedtls: read error :-0x7100:
[16:20:19][D][esp-idf:000]: E (46778) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success
[16:20:19][D][esp-idf:000]: E (46783) esp-tls-mbedtls: read error :-0x7100:
[16:20:19][D][esp-idf:000]: E (46785) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success
[16:20:19][D][esp-idf:000]: E (46790) esp-tls-mbedtls: read error :-0x7100:
[16:20:19][D][esp-idf:000]: E (46792) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success
[16:20:19][D][esp-idf:000]: E (46796) esp-tls-mbedtls: read error :-0x7100:
[16:20:19][D][esp-idf:000]: E (46797) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success
[16:20:19][D][esp-idf:000]: E (46800) esp-tls-mbedtls: read error :-0x7100:
[16:20:19][D][esp-idf:000]: E (46803) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success
[16:20:19][E][nextion.upload.idf:079]: Failed to read full package, received only 0 of 4096 bytes
[16:20:19][E][nextion.upload.idf:294]: Error uploading TFT to Nextion!

@edwardtfn
Copy link
Collaborator

Some of the keys are already added by the PSRAM component:

async def to_code(config):
    if CORE.using_arduino:
        cg.add_build_flag("-DBOARD_HAS_PSRAM")

    if CORE.using_esp_idf:
        add_idf_sdkconfig_option(
            f"CONFIG_{get_esp32_variant().upper()}_SPIRAM_SUPPORT", True
        )
        add_idf_sdkconfig_option("CONFIG_SPIRAM", True)
        add_idf_sdkconfig_option("CONFIG_SPIRAM_USE", True)
        add_idf_sdkconfig_option("CONFIG_SPIRAM_USE_CAPS_ALLOC", True)
        add_idf_sdkconfig_option("CONFIG_SPIRAM_IGNORE_NOTFOUND", True)

        if CONF_MODE in config:
            add_idf_sdkconfig_option(f"{SPIRAM_MODES[config[CONF_MODE]]}", True)
        if CONF_SPEED in config:
            add_idf_sdkconfig_option(f"{SPIRAM_SPEEDS[config[CONF_SPEED]]}", True)

    var = cg.new_Pvariable(config[CONF_ID])
    await cg.register_component(var, config)

@edwardtfn
Copy link
Collaborator

  • CONFIG_SPIRAM_USE shouldn't be used anymore, since it caused lots of cache errors.

This is added by default by ESPHome PSRAM component. 👀

@edwardtfn
Copy link
Collaborator

edwardtfn commented Apr 4, 2024

@olicooper, this might be useful for you, as I've successfully enabled PSRAM with Arduino by using this:

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  platformio_options:
    build_flags:
      - -Wno-macro-redefined
      - -Wno-missing-field-initializers
      - -DBT_ALLOCATION_FROM_SPIRAM_FIRST
      - -DBT_BLE_DYNAMIC_ENV_MEMORY
      - -DCONFIG_ESP32_REV_MIN_3
      - -DCONFIG_D0WD_PSRAM_CLK_IO=5
      - -DCONFIG_D0WD_PSRAM_CS_IO=18

psram:

I got lots of warnings when compiling, which -Wno-missing-field-initializers was supposed to omit, but looks like that is not the right flag. Anyhow, it looks to be working with Arduino.

I haven't tested exhaustively, but ESPHome is reporting that additional memory as available. 😉

edwardtfn added a commit that referenced this issue Apr 4, 2024
Supports #1983
Supports #1946
Supports #1815

Could support esphome/feature-requests#2369
@edwardtfn
Copy link
Collaborator

edwardtfn commented Apr 4, 2024

Everyone using arduino have this on their panel's yaml to specify the framework:

esp32:
  framework:
    type: arduino

They just have to change to this:

esp32:
  framework:
    type: arduino
    sdkconfig_options: !remove

I wish we could have something like #if (from c++) on the ESPHome yaml.

Solved! 😃
I've used the code generator in the __init__.py to add the flags accordingly to the framework used.

Still some warnings for the ones using Arduino, but I think we can leave with this (unless someone have a tip to remove those warnings related to macro redefined).

@X-Ryl669
Copy link
Contributor

X-Ryl669 commented Apr 5, 2024

This is added by default by ESPHome PSRAM component. 👀

See red section in this page.

@edwardtfn
Copy link
Collaborator

Mmmm
Good point.
I will try removing this from PSRAM component and monitor the results.

@olicooper
Copy link

@edwardtfn So you got psram working with custom pins in Arduino? A long time ago I tried CONFIG_D0WD_PSRAM_* options and they never worked. I wonder if Arduino changed how they handle the defines now? I will try again, thanks 👍

Unfortunately I can't use @coroutine_with_priority(1.0) like you have in __innit__.py because it fails to compile due to my custom component being dependant on other components. Calling add_idf_sdkconfig_option functions don't work without a higher (lower) priority so it is catch 22! Just thought it is worth noting if you run in to the same issues. I am not sure of the solution yet though.

Also, in my __init__.py I used autoload to avoid having to include the psram: configuration entry.. It may be useful for you later?

@edwardtfn
Copy link
Collaborator

@edwardtfn So you got psram working with custom pins in Arduino? A long time ago I tried CONFIG_D0WD_PSRAM_* options and they never worked. I wonder if Arduino changed how they handle the defines now? I will try again, thanks 👍

To be honest, I'm not sure how much this is really true. It is working pretty solid in 2 of my 3 panels, but the one panel where it was serial flashed using Arduino, it doesn't detect the PSRAM unless I flash it (OTA) with IDF, then I can flash OTA back to Arduino and the PSRAM will be there.
In the other 2 panels where I flashed with IDF serial, then it detects the PSRAM regardless if OTA is Arduino or ESP-IDF.
Perhaps there is something with the bootloader or partitions which requires deeper investigation. Or it is just ESPHome not cleaning thing properly when building the new firmware.
Anyhow, It your device cannot find PSRAM, try flashing ESP-IDF and then flashing Arduino (both OTA) and it should work.

Unfortunately I can't use @coroutine_with_priority(1.0) like you have in __innit__.py because it fails to compile due to my custom component being dependant on other components. Calling add_idf_sdkconfig_option functions don't work without a higher (lower) priority so it is catch 22! Just thought it is worth noting if you run in to the same issues. I am not sure of the solution yet though.

Well, I've used __innit__.py just to keep it transparent for users with Arduino. We are using ESP-IDF as the default framework, but as this change was quite recent, we still having quite a lot of users with Arduino and I don't wanna force them to migrate.
If you have only Arduino, you can add this in your yaml like this:

esphome:
  platformio_options:
    build_flags:
      - -DDCONFIG_D0WD_PSRAM_CLK_IO=5
      - -DDCONFIG_D0WD_PSRAM_CS_IO=18

It works just like when adding to the component (same warnings when compiling, same everything).

Also, in my __init__.py I used autoload to avoid having to include the psram: configuration entry.. It may be useful for you later?

That's a good idea. I still considering this PSRAM as "experimental", so I won't move to the component yet. It's much easier to ask users to add a psram: !remove to their yaml than trying to speed-up a new release. 😉

@Bascht74
Copy link
Author

Bascht74 commented Apr 16, 2024

Looking forward to the new 4.4.x version that will use PSRAM for the TFT-Update.

If you wanna give it a try, add this to your panel's yaml:

external_components:
  - source:
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: nextion-23
    components:
      - nextion
      - psram
    refresh: 1s

Please let me know your results.

I tried, but no success:

[21:27:39][D][main:334]: Attempting to upload TFT
[21:27:39][D][addon_upload_tft.script.report_upload_progress:148]: Attempt #3 at 115200 bps
[21:27:39][D][addon_upload_tft.script.nextion_upload:108]: Waiting for empty UART and Nextion queues
[21:27:40][D][esp32.preferences:114]: Saving 1 preferences to flash...
[21:27:40][D][esp32.preferences:143]: Saving 1 preferences to flash: 1 cached, 0 written, 0 failed
[21:27:41][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[21:27:41][D][nextion.upload.idf:148]: Nextion TFT upload requested
[21:27:41][D][nextion.upload.idf:149]: Exit reparse: YES
[21:27:41][D][nextion.upload.idf:150]: URL: http://homeassistant.local:8123/local/nspanel_us.tft
[21:27:41][D][nextion.upload.idf:171]: Baud rate: 115200
[21:27:41][D][nextion.upload.idf:174]: Exiting Nextion reparse mode
[21:27:41][D][nextion.upload.idf:227]: TFT file size: 7502136 bytes
[21:27:41][D][nextion.upload.idf:240]: Uploading Nextion
[21:27:42][D][nextion.upload.idf:278]: Upgrade response is [05] - 1 byte(s)
[21:27:42][D][nextion.upload.idf:299]: Uploading TFT to Nextion:
[21:27:42][D][nextion.upload.idf:300]:   URL: http://homeassistant.local:8123/local/nspanel_us.tft
[21:27:42][D][nextion.upload.idf:301]:   File size: 7502136 bytes
[21:27:42][D][nextion.upload.idf:302]:   Free heap: 2046631
[21:27:42][D][nextion.upload.idf:026]: Range start: 0
[21:27:48][D][nextion.upload.idf:104]: Uploaded 0.05%, remaining 7498040 bytes, free heap: 53308 (DRAM) + 2000159 (PSRAM) bytes
[21:27:48][D][nextion.upload.idf:112]: recv_string [08.00.00.62.00 (5)]
[21:27:48][I][nextion.upload.idf:118]: Nextion reported new range 6422528
[21:27:48][D][nextion.upload.idf:026]: Range start: 6422528
[21:27:48][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075512 bytes, free heap: 53300 (DRAM) + 1993395 (PSRAM) bytes
[21:27:48][D][nextion.upload.idf:104]: Uploaded 85.72%, remaining 1071416 bytes, free heap: 52100 (DRAM) + 1995087 (PSRAM) bytes
[21:27:49][D][nextion.upload.idf:104]: Uploaded 85.77%, remaining 1067320 bytes, free heap: 50000 (DRAM) + 1995087 (PSRAM) bytes
[21:27:49][D][nextion.upload.idf:104]: Uploaded 85.83%, remaining 1063224 bytes, free heap: 49100 (DRAM) + 1995087 (PSRAM) bytes
[21:27:50][D][nextion.upload.idf:104]: Uploaded 85.88%, remaining 1059128 bytes, free heap: 47300 (DRAM) + 1995071 (PSRAM) bytes
[21:27:51][D][nextion.upload.idf:104]: Uploaded 85.94%, remaining 1055032 bytes, free heap: 46100 (DRAM) + 1995079 (PSRAM) bytes
[21:27:51][D][nextion.upload.idf:104]: Uploaded 85.99%, remaining 1050936 bytes, free heap: 44900 (DRAM) + 1996903 (PSRAM) bytes
[21:27:52][D][nextion.upload.idf:104]: Uploaded 86.05%, remaining 1046840 bytes, free heap: 43400 (DRAM) + 1993383 (PSRAM) bytes
[21:27:52][D][nextion.upload.idf:104]: Uploaded 86.10%, remaining 1042744 bytes, free heap: 41600 (DRAM) + 1995087 (PSRAM) bytes
[21:27:53][D][nextion.upload.idf:104]: Uploaded 86.16%, remaining 1038648 bytes, free heap: 41300 (DRAM) + 1993391 (PSRAM) bytes
[21:27:53][D][nextion.upload.idf:104]: Uploaded 86.21%, remaining 1034552 bytes, free heap: 40400 (DRAM) + 1995083 (PSRAM) bytes
[21:27:54][D][nextion.upload.idf:104]: Uploaded 86.26%, remaining 1030456 bytes, free heap: 37240 (DRAM) + 1993355 (PSRAM) bytes
[21:27:54][D][nextion.upload.idf:104]: Uploaded 86.32%, remaining 1026360 bytes, free heap: 36500 (DRAM) + 1993391 (PSRAM) bytes
[21:27:54][D][nextion.upload.idf:104]: Uploaded 86.37%, remaining 1022264 bytes, free heap: 35900 (DRAM) + 1993487 (PSRAM) bytes
[21:27:55][D][nextion.upload.idf:104]: Uploaded 86.43%, remaining 1018168 bytes, free heap: 34400 (DRAM) + 1993475 (PSRAM) bytes
[21:27:55][D][nextion.upload.idf:104]: Uploaded 86.48%, remaining 1014072 bytes, free heap: 34100 (DRAM) + 1995087 (PSRAM) bytes
[21:27:57][D][nextion.upload.idf:104]: Uploaded 86.54%, remaining 1009976 bytes, free heap: 29000 (DRAM) + 1995075 (PSRAM) bytes
WARNING panel-eg-wohnzimmer @ 192.168.175.145: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for panel-eg-wohnzimmer @ 192.168.175.145
WARNING Disconnected from API
INFO Successfully connected to panel-eg-wohnzimmer @ 192.168.175.145 in 0.007s
INFO Successful handshake with panel-eg-wohnzimmer @ 192.168.175.145 in 0.288s

configuration:

substitutions:
  # Settings - Editable values
  device_name: "panel-eg-wohnzimmer"
  friendly_name: "Panel EG Wohnzimmer"
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"  # Optional

  ##### addon-configuration #####
  ## addon_climate ##
  heater_relay: "1"
  #temp_units: "°F"      # Temperatures in Fahrenheit
  temp_min: "15"        # Min supported temperature is 40°F
  temp_max: "25"        # Max supported temperature is 80°F
  temp_step: "0.5"        # Temperature granularity is 1°F
  heat_deadband: "0.3"  # Temperature delta before engaging heat
  heat_overrun: "0.2"   # Temperature delta before disengaging heat
  min_off_time: "30"
  min_run_time: "60"
  min_idle_time: "5"
  mac_temp: "A4:C1:38:A8:E4:99"
  cover_entity: "cover.rollo_eg_wohnzimmer_terrasse_cover_1"

# Customization area
##### My customization - Start #####
debug:
  update_interval: 5s

text_sensor:
  - platform: debug
    device:
      name: "Device Info"
    reset_reason:
      name: "Reset Reason"

binary_sensor:
  # Left button custom action: Push button / Momentary switch - Relay 1
  - id: !extend left_button
    on_click:
      then:
    on_press:
      then:
        - homeassistant.service:
            service: script.cover_stop_open
            data:
              cover_entity: '$cover_entity'

  # Right button custom action: Push button / Momentary switch - Relay 2
  - id: !extend right_button
    on_click:
      then:
    on_press:
      then:
        - homeassistant.service:
            service: script.cover_stop_close
            data:
              cover_entity: '$cover_entity'

wifi:
  power_save_mode: LIGHT

esphome:
  platformio_options:
    board_build.flash_mode: dio # can maybe removed?
    build_flags:
      - -Wno-missing-field-initializers

esp32:
  framework:
    type: esp-idf

api:
  encryption: 
    key: !secret encryption_key
  reboot_timeout: 15min

ota:
  password: !secret ota_password

time:
  - id: !extend time_provider
    on_time:
      - seconds: 00
        minutes: 00
        hours: 00
        then:
          - if:
              condition:
                lambda: 'return id(thermostat_embedded).preset != CLIMATE_PRESET_AWAY;'
              then:
                - climate.control:
                    id: thermostat_embedded
                    target_temperature: 23
      - seconds: 00
        minutes: 00
        hours: 07
        then:
          - if:
              condition:
                lambda: 'return id(thermostat_embedded).preset != CLIMATE_PRESET_AWAY;'
              then:             
                - climate.control:
                    id: thermostat_embedded
                    target_temperature: 23

climate:
  - id: !extend thermostat_embedded
    sensor: combined_temperature
#    humidity_sensor: ext_humidity
    preset:
      - name: "home"
        default_target_temperature_low: 21
      - name: "away"
        default_target_temperature_low: 17   
    default_preset: home

esp32_ble_tracker:
  id: ble_tracker
  scan_parameters:
    continuous: true
    interval: 320ms
    window: 60ms
    active: false

sensor:
  - id: combined_temperature
    platform: template
    lambda: |-
      if (wifi_component->is_connected() and api_server->is_connected()) {
        return ext_temperature->state;
      } else {
        return temp_nspanel->state;
      }
  - platform: pvvx_mithermometer
    mac_address: $mac_temp
    temperature:
      name: "Temperatur"
      id: ext_temperature
      device_class: temperature
      filters:
        - throttle_average: 120s
    humidity:
      name: "Luftfeuchtigkeit"
      id: ext_humidity
      device_class: humidity
      filters:
        - throttle_average: 120s
    battery_level:
      name: "Batterieladestand"
      id: ext_battery_level
      entity_category: diagnostic
      filters:
        - throttle_average: 3600s
    battery_voltage:
      name: "Batteriespannung"
      id: ext_battery_voltage
      entity_category: diagnostic
      filters:
        - throttle_average: 3600s
    signal_strength:
      name: "Signalstärke"
      id: ext_signal_strength
      entity_category: diagnostic
      filters:
        - throttle_average: 3600s
##### My customization - End #####

# Core and optional configurations
packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Basic package
      # Optional advanced and add-on configurations
      # - esphome/nspanel_esphome_advanced.yaml
      - nspanel_esphome_addon_climate_heat.yaml
    refresh: 300s
########

external_components:
  - source:
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: nextion-23
    components:
      - nextion
      - psram
    refresh: 1s

@Bascht74
Copy link
Author

Ok, some more results:

Because there is a different response depending to the baud rate chosen, I think that there is another cause that the upload doesn't work and there is a different "fast" drain of heap memory.

So I thought this might be because of BT. I tried to add:
https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#ble-tracker

# Modify upload tft engine to stop BLE tracker while uploading
script:
  - id: !extend upload_tft
    then:
      - lambda: |-
          static const char *const TAG = "CUSTOM.script.upload_tft";
          ble_tracker->dump_config();
          ESP_LOGI(TAG, "Stopping BLE Tracker scan...");
          ble_tracker->stop_scan();
          ESP_LOGI(TAG, "Disabling BLE Tracker scan...");
          ble_tracker->set_scan_active(false);

... but same result. Still not working.
So I thought maybe "extent" will add it to the bottom and not to the top.

So I tried to remove the script and add everything the right way (by copying the complete script and adding the ble code to the top):

script:
  - id: !remove upload_tft
  - id: upload_tft
    mode: single
    parameters:
      url: string
    then:
      - lambda: |-
          static const char *const TAG = "CUSTOM.script.upload_tft";
          ble_tracker->dump_config();
          ESP_LOGI(TAG, "Stopping BLE Tracker scan...");
          ble_tracker->stop_scan();
          ESP_LOGI(TAG, "Disabling BLE Tracker scan...");
          ble_tracker->set_scan_active(false);
      # Make sure the screen is ON
      - if:
          condition:
            - switch.is_off: screen_power
          then:
          ....

This time the upload worked with a lot of heap memory and stable remaining memory:

[22:26:18][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[22:26:18][D][nextion.upload.idf:148]: Nextion TFT upload requested
[22:26:18][D][nextion.upload.idf:149]: Exit reparse: NO
[22:26:18][D][nextion.upload.idf:150]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_us.tft
[22:26:18][D][nextion.upload.idf:171]: Baud rate: 115200
[22:26:19][D][nextion.upload.idf:227]: TFT file size: 7502196 bytes
[22:26:19][D][nextion.upload.idf:240]: Uploading Nextion
[22:26:20][D][nextion.upload.idf:278]: Upgrade response is [05] - 1 byte(s)
[22:26:20][D][nextion.upload.idf:299]: Uploading TFT to Nextion:
[22:26:20][D][nextion.upload.idf:300]:   URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_us.tft
[22:26:20][D][nextion.upload.idf:301]:   File size: 7502196 bytes
[22:26:20][D][nextion.upload.idf:302]:   Free heap: 2039051
[22:26:20][D][nextion.upload.idf:026]: Range start: 0
[22:26:26][D][nextion.upload.idf:104]: Uploaded 0.05%, remaining 7498100 bytes, free heap: 75620 (DRAM) + 1992803 (PSRAM) bytes
[22:26:26][D][nextion.upload.idf:112]: recv_string [08.00.00.62.00 (5)]
[22:26:26][I][nextion.upload.idf:118]: Nextion reported new range 6422528
[22:26:26][D][nextion.upload.idf:026]: Range start: 6422528
[22:26:26][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075572 bytes, free heap: 75620 (DRAM) + 1983563 (PSRAM) bytes
[22:26:26][D][nextion.upload.idf:104]: Uploaded 85.72%, remaining 1071476 bytes, free heap: 75620 (DRAM) + 1982795 (PSRAM) bytes
[22:26:27][D][nextion.upload.idf:104]: Uploaded 85.77%, remaining 1067380 bytes, free heap: 75620 (DRAM) + 1983591 (PSRAM) bytes
[22:26:28][D][nextion.upload.idf:104]: Uploaded 85.83%, remaining 1063284 bytes, free heap: 75620 (DRAM) + 1968571 (PSRAM) bytes
[22:26:28][D][nextion.upload.idf:104]: Uploaded 85.88%, remaining 1059188 bytes, free heap: 75620 (DRAM) + 1968571 (PSRAM) bytes
[22:26:28][D][nextion.upload.idf:104]: Uploaded 85.94%, remaining 1055092 bytes, free heap: 75620 (DRAM) + 1968571 (PSRAM) bytes
[22:26:29][D][nextion.upload.idf:104]: Uploaded 85.99%, remaining 1050996 bytes, free heap: 75620 (DRAM) + 1968571 (PSRAM) bytes
[22:26:29][D][nextion.upload.idf:104]: Uploaded 86.05%, remaining 1046900 bytes, free heap: 75620 (DRAM) + 1968579 (PSRAM) bytes
[22:26:30][D][nextion.upload.idf:104]: Uploaded 86.10%, remaining 1042804 bytes, free heap: 75620 (DRAM) + 1968319 (PSRAM) bytes
[22:26:30][D][nextion.upload.idf:104]: Uploaded 86.15%, remaining 1038708 bytes, free heap: 75620 (DRAM) + 1968319 (PSRAM) bytes
[22:26:30][D][nextion.upload.idf:104]: Uploaded 86.21%, remaining 1034612 bytes, free heap: 75620 (DRAM) + 1968319 (PSRAM) bytes
[22:26:31][D][nextion.upload.idf:104]: Uploaded 86.26%, remaining 1030516 bytes, free heap: 75620 (DRAM) + 1968579 (PSRAM) bytes
[22:26:31][D][nextion.upload.idf:104]: Uploaded 86.32%, remaining 1026420 bytes, free heap: 75620 (DRAM) + 1966851 (PSRAM) bytes
[22:26:32][D][nextion.upload.idf:104]: Uploaded 86.37%, remaining 1022324 bytes, free heap: 75620 (DRAM) + 1966851 (PSRAM) bytes
[22:26:32][D][nextion.upload.idf:104]: Uploaded 86.43%, remaining 1018228 bytes, free heap: 75620 (DRAM) + 1966851 (PSRAM) bytes
[22:26:33][D][nextion.upload.idf:104]: Uploaded 86.48%, remaining 1014132 bytes, free heap: 75620 (DRAM) + 1968159 (PSRAM) bytes
[22:26:33][D][nextion.upload.idf:104]: Uploaded 86.54%, remaining 1010036 bytes, free heap: 75620 (DRAM) + 1968159 (PSRAM) bytes
[22:26:33][D][nextion.upload.idf:104]: Uploaded 86.59%, remaining 1005940 bytes, free heap: 75620 (DRAM) + 1968163 (PSRAM) bytes
[22:26:34][D][nextion.upload.idf:104]: Uploaded 86.65%, remaining 1001844 bytes, free heap: 75620 (DRAM) + 1968163 (PSRAM) bytes
[22:26:34][D][nextion.upload.idf:104]: Uploaded 86.70%, remaining 997748 bytes, free heap: 75620 (DRAM) + 1967995 (PSRAM) bytes
[22:26:35][D][nextion.upload.idf:104]: Uploaded 86.76%, remaining 993652 bytes, free heap: 75620 (DRAM) + 1967995 (PSRAM) bytes
[22:26:35][D][nextion.upload.idf:104]: Uploaded 86.81%, remaining 989556 bytes, free heap: 75620 (DRAM) + 1967995 (PSRAM) bytes
[22:26:35][D][nextion.upload.idf:104]: Uploaded 86.86%, remaining 985460 bytes, free heap: 75620 (DRAM) + 1967995 (PSRAM) bytes
[22:26:36][D][nextion.upload.idf:104]: Uploaded 86.92%, remaining 981364 bytes, free heap: 75620 (DRAM) + 1967831 (PSRAM) bytes
[22:26:36][D][nextion.upload.idf:104]: Uploaded 86.97%, remaining 977268 bytes, free heap: 75496 (DRAM) + 1967831 (PSRAM) bytes
[22:26:37][D][nextion.upload.idf:104]: Uploaded 87.03%, remaining 973172 bytes, free heap: 75620 (DRAM) + 1967831 (PSRAM) bytes
[22:26:37][D][nextion.upload.idf:104]: Uploaded 87.08%, remaining 969076 bytes, free heap: 75620 (DRAM) + 1967831 (PSRAM) bytes
[22:26:38][D][nextion.upload.idf:104]: Uploaded 87.14%, remaining 964980 bytes, free heap: 75620 (DRAM) + 1967671 (PSRAM) bytes
[22:26:38][D][nextion.upload.idf:104]: Uploaded 87.19%, remaining 960884 bytes, free heap: 75620 (DRAM) + 1967671 (PSRAM) bytes
[22:26:38][D][nextion.upload.idf:104]: Uploaded 87.25%, remaining 956788 bytes, free heap: 75620 (DRAM) + 1967671 (PSRAM) bytes
[22:26:39][D][nextion.upload.idf:104]: Uploaded 87.30%, remaining 952692 bytes, free heap: 75620 (DRAM) + 1967671 (PSRAM) bytes
[22:26:39][D][nextion.upload.idf:104]: Uploaded 87.36%, remaining 948596 bytes, free heap: 75620 (DRAM) + 1968315 (PSRAM) bytes
[22:26:40][D][nextion.upload.idf:104]: Uploaded 87.41%, remaining 944500 bytes, free heap: 75620 (DRAM) + 1968315 (PSRAM) bytes
[22:26:40][D][nextion.upload.idf:104]: Uploaded 87.46%, remaining 940404 bytes, free heap: 75620 (DRAM) + 1968315 (PSRAM) bytes
[22:26:40][D][nextion.upload.idf:104]: Uploaded 87.52%, remaining 936308 bytes, free heap: 75620 (DRAM) + 1968315 (PSRAM) bytes
[22:26:41][D][nextion.upload.idf:104]: Uploaded 87.57%, remaining 932212 bytes, free heap: 75620 (DRAM) + 1968559 (PSRAM) bytes
[22:26:41][D][nextion.upload.idf:104]: Uploaded 87.63%, remaining 928116 bytes, free heap: 75620 (DRAM) + 1968559 (PSRAM) bytes
[22:26:42][D][nextion.upload.idf:104]: Uploaded 87.68%, remaining 924020 bytes, free heap: 75496 (DRAM) + 1968559 (PSRAM) bytes
[22:26:42][D][nextion.upload.idf:104]: Uploaded 87.74%, remaining 919924 bytes, free heap: 75620 (DRAM) + 1968559 (PSRAM) bytes
[22:26:43][D][nextion.upload.idf:104]: Uploaded 87.79%, remaining 915828 bytes, free heap: 75620 (DRAM) + 1968827 (PSRAM) bytes
[22:26:43][D][nextion.upload.idf:104]: Uploaded 87.85%, remaining 911732 bytes, free heap: 75620 (DRAM) + 1968115 (PSRAM) bytes
[22:26:43][D][nextion.upload.idf:104]: Uploaded 87.90%, remaining 907636 bytes, free heap: 75496 (DRAM) + 1968115 (PSRAM) bytes
[22:26:44][D][nextion.upload.idf:104]: Uploaded 87.96%, remaining 903540 bytes, free heap: 75620 (DRAM) + 1968115 (PSRAM) bytes
[22:26:44][D][nextion.upload.idf:104]: Uploaded 88.01%, remaining 899444 bytes, free heap: 75620 (DRAM) + 1967699 (PSRAM) bytes
[22:26:45][D][nextion.upload.idf:104]: Uploaded 88.07%, remaining 895348 bytes, free heap: 75620 (DRAM) + 1967699 (PSRAM) bytes
[22:26:45][D][nextion.upload.idf:104]: Uploaded 88.12%, remaining 891252 bytes, free heap: 75620 (DRAM) + 1967699 (PSRAM) bytes
[22:26:45][D][nextion.upload.idf:104]: Uploaded 88.17%, remaining 887156 bytes, free heap: 75620 (DRAM) + 1967699 (PSRAM) bytes
[22:26:46][D][nextion.upload.idf:104]: Uploaded 88.23%, remaining 883060 bytes, free heap: 75620 (DRAM) + 1967535 (PSRAM) bytes
[22:26:46][D][nextion.upload.idf:104]: Uploaded 88.28%, remaining 878964 bytes, free heap: 75620 (DRAM) + 1965835 (PSRAM) bytes
[22:26:47][D][nextion.upload.idf:104]: Uploaded 88.34%, remaining 874868 bytes, free heap: 75620 (DRAM) + 1967535 (PSRAM) bytes
[22:26:47][D][nextion.upload.idf:104]: Uploaded 88.39%, remaining 870772 bytes, free heap: 75620 (DRAM) + 1967535 (PSRAM) bytes
[22:26:48][D][nextion.upload.idf:104]: Uploaded 88.45%, remaining 866676 bytes, free heap: 75620 (DRAM) + 1968299 (PSRAM) bytes
[22:26:48][D][nextion.upload.idf:104]: Uploaded 88.50%, remaining 862580 bytes, free heap: 75620 (DRAM) + 1967383 (PSRAM) bytes
[22:26:48][D][nextion.upload.idf:104]: Uploaded 88.56%, remaining 858484 bytes, free heap: 75620 (DRAM) + 1967383 (PSRAM) bytes
[22:26:49][D][nextion.upload.idf:104]: Uploaded 88.61%, remaining 854388 bytes, free heap: 75620 (DRAM) + 1967383 (PSRAM) bytes
[22:26:49][D][nextion.upload.idf:104]: Uploaded 88.67%, remaining 850292 bytes, free heap: 75620 (DRAM) + 1967207 (PSRAM) bytes
[22:26:50][D][nextion.upload.idf:104]: Uploaded 88.72%, remaining 846196 bytes, free heap: 75620 (DRAM) + 1967207 (PSRAM) bytes
[22:26:50][D][nextion.upload.idf:104]: Uploaded 88.78%, remaining 842100 bytes, free heap: 75620 (DRAM) + 1967207 (PSRAM) bytes
[22:26:50][D][nextion.upload.idf:104]: Uploaded 88.83%, remaining 838004 bytes, free heap: 75620 (DRAM) + 1967207 (PSRAM) bytes
[22:26:51][D][nextion.upload.idf:104]: Uploaded 88.88%, remaining 833908 bytes, free heap: 75620 (DRAM) + 1968023 (PSRAM) bytes
[22:26:51][D][nextion.upload.idf:104]: Uploaded 88.94%, remaining 829812 bytes, free heap: 75620 (DRAM) + 1968023 (PSRAM) bytes
[22:26:52][D][nextion.upload.idf:104]: Uploaded 88.99%, remaining 825716 bytes, free heap: 75620 (DRAM) + 1968023 (PSRAM) bytes
[22:26:52][D][nextion.upload.idf:104]: Uploaded 89.05%, remaining 821620 bytes, free heap: 75620 (DRAM) + 1968023 (PSRAM) bytes
[22:26:53][D][nextion.upload.idf:104]: Uploaded 89.10%, remaining 817524 bytes, free heap: 75620 (DRAM) + 1968039 (PSRAM) bytes
[22:26:53][D][nextion.upload.idf:104]: Uploaded 89.16%, remaining 813428 bytes, free heap: 75620 (DRAM) + 1968039 (PSRAM) bytes
[22:26:53][D][nextion.upload.idf:104]: Uploaded 89.21%, remaining 809332 bytes, free heap: 75620 (DRAM) + 1968039 (PSRAM) bytes
[22:26:54][D][nextion.upload.idf:104]: Uploaded 89.27%, remaining 805236 bytes, free heap: 75620 (DRAM) + 1968039 (PSRAM) bytes
[22:26:54][D][nextion.upload.idf:104]: Uploaded 89.32%, remaining 801140 bytes, free heap: 75496 (DRAM) + 1968047 (PSRAM) bytes
[22:26:55][D][nextion.upload.idf:104]: Uploaded 89.38%, remaining 797044 bytes, free heap: 75620 (DRAM) + 1968047 (PSRAM) bytes
[22:26:55][D][nextion.upload.idf:104]: Uploaded 89.43%, remaining 792948 bytes, free heap: 75620 (DRAM) + 1968047 (PSRAM) bytes
[22:26:55][D][nextion.upload.idf:104]: Uploaded 89.49%, remaining 788852 bytes, free heap: 75620 (DRAM) + 1968047 (PSRAM) bytes
[22:26:57][D][nextion.upload.idf:104]: Uploaded 89.54%, remaining 784756 bytes, free heap: 75620 (DRAM) + 1967539 (PSRAM) bytes
[22:26:57][D][nextion.upload.idf:104]: Uploaded 89.59%, remaining 780660 bytes, free heap: 75620 (DRAM) + 1967539 (PSRAM) bytes
[22:26:57][D][nextion.upload.idf:104]: Uploaded 89.65%, remaining 776564 bytes, free heap: 75620 (DRAM) + 1967539 (PSRAM) bytes
[22:26:58][D][nextion.upload.idf:104]: Uploaded 89.70%, remaining 772468 bytes, free heap: 75620 (DRAM) + 1967539 (PSRAM) bytes
[22:26:58][D][nextion.upload.idf:104]: Uploaded 89.76%, remaining 768372 bytes, free heap: 75620 (DRAM) + 1968291 (PSRAM) bytes
[22:26:59][D][nextion.upload.idf:104]: Uploaded 89.81%, remaining 764276 bytes, free heap: 75620 (DRAM) + 1968291 (PSRAM) bytes
[22:26:59][D][nextion.upload.idf:104]: Uploaded 89.87%, remaining 760180 bytes, free heap: 75620 (DRAM) + 1968291 (PSRAM) bytes
[22:26:59][D][nextion.upload.idf:104]: Uploaded 89.92%, remaining 756084 bytes, free heap: 75620 (DRAM) + 1968291 (PSRAM) bytes
[22:27:00][D][nextion.upload.idf:104]: Uploaded 89.98%, remaining 751988 bytes, free heap: 75620 (DRAM) + 1968543 (PSRAM) bytes
[22:27:00][D][nextion.upload.idf:104]: Uploaded 90.03%, remaining 747892 bytes, free heap: 75620 (DRAM) + 1967455 (PSRAM) bytes
[22:27:01][D][nextion.upload.idf:104]: Uploaded 90.09%, remaining 743796 bytes, free heap: 75620 (DRAM) + 1967455 (PSRAM) bytes
[22:27:01][D][nextion.upload.idf:104]: Uploaded 90.14%, remaining 739700 bytes, free heap: 75620 (DRAM) + 1967455 (PSRAM) bytes
[22:27:02][D][nextion.upload.idf:104]: Uploaded 90.19%, remaining 735604 bytes, free heap: 75620 (DRAM) + 1968439 (PSRAM) bytes
[22:27:02][D][nextion.upload.idf:104]: Uploaded 90.25%, remaining 731508 bytes, free heap: 75620 (DRAM) + 1968299 (PSRAM) bytes
[22:27:03][D][nextion.upload.idf:104]: Uploaded 90.30%, remaining 727412 bytes, free heap: 75620 (DRAM) + 1968299 (PSRAM) bytes
[22:27:03][D][nextion.upload.idf:104]: Uploaded 90.36%, remaining 723316 bytes, free heap: 75620 (DRAM) + 1968023 (PSRAM) bytes
[22:27:04][D][nextion.upload.idf:104]: Uploaded 90.41%, remaining 719220 bytes, free heap: 75620 (DRAM) + 1967039 (PSRAM) bytes
[22:27:04][D][nextion.upload.idf:104]: Uploaded 90.47%, remaining 715124 bytes, free heap: 75620 (DRAM) + 1967039 (PSRAM) bytes
[22:27:04][D][nextion.upload.idf:104]: Uploaded 90.52%, remaining 711028 bytes, free heap: 75620 (DRAM) + 1967047 (PSRAM) bytes
[22:27:05][D][nextion.upload.idf:104]: Uploaded 90.58%, remaining 706932 bytes, free heap: 75620 (DRAM) + 1967047 (PSRAM) bytes
[22:27:05][D][nextion.upload.idf:104]: Uploaded 90.63%, remaining 702836 bytes, free heap: 75620 (DRAM) + 1966095 (PSRAM) bytes
[22:27:06][D][nextion.upload.idf:104]: Uploaded 90.69%, remaining 698740 bytes, free heap: 75620 (DRAM) + 1967663 (PSRAM) bytes
[22:27:06][D][nextion.upload.idf:104]: Uploaded 90.74%, remaining 694644 bytes, free heap: 75620 (DRAM) + 1967663 (PSRAM) bytes
[22:27:06][D][nextion.upload.idf:104]: Uploaded 90.80%, remaining 690548 bytes, free heap: 75620 (DRAM) + 1967663 (PSRAM) bytes
[22:27:07][D][nextion.upload.idf:104]: Uploaded 90.85%, remaining 686452 bytes, free heap: 75620 (DRAM) + 1968275 (PSRAM) bytes
[22:27:07][D][nextion.upload.idf:104]: Uploaded 90.90%, remaining 682356 bytes, free heap: 75620 (DRAM) + 1967479 (PSRAM) bytes
[22:27:08][D][nextion.upload.idf:104]: Uploaded 90.96%, remaining 678260 bytes, free heap: 75620 (DRAM) + 1967499 (PSRAM) bytes
[22:27:08][D][nextion.upload.idf:104]: Uploaded 91.01%, remaining 674164 bytes, free heap: 75620 (DRAM) + 1967499 (PSRAM) bytes
[22:27:09][D][nextion.upload.idf:104]: Uploaded 91.07%, remaining 670068 bytes, free heap: 75620 (DRAM) + 1967747 (PSRAM) bytes
[22:27:09][D][nextion.upload.idf:104]: Uploaded 91.12%, remaining 665972 bytes, free heap: 75620 (DRAM) + 1967747 (PSRAM) bytes
[22:27:09][D][nextion.upload.idf:104]: Uploaded 91.18%, remaining 661876 bytes, free heap: 75620 (DRAM) + 1967755 (PSRAM) bytes
[22:27:10][D][nextion.upload.idf:104]: Uploaded 91.23%, remaining 657780 bytes, free heap: 75620 (DRAM) + 1967755 (PSRAM) bytes
[22:27:10][D][nextion.upload.idf:104]: Uploaded 91.29%, remaining 653684 bytes, free heap: 75620 (DRAM) + 1967179 (PSRAM) bytes
[22:27:11][D][nextion.upload.idf:104]: Uploaded 91.34%, remaining 649588 bytes, free heap: 75620 (DRAM) + 1967179 (PSRAM) bytes
[22:27:11][D][nextion.upload.idf:104]: Uploaded 91.40%, remaining 645492 bytes, free heap: 75620 (DRAM) + 1967179 (PSRAM) bytes
[22:27:11][D][nextion.upload.idf:104]: Uploaded 91.45%, remaining 641396 bytes, free heap: 75620 (DRAM) + 1967179 (PSRAM) bytes
[22:27:12][D][nextion.upload.idf:104]: Uploaded 91.51%, remaining 637300 bytes, free heap: 75620 (DRAM) + 1967723 (PSRAM) bytes
[22:27:12][D][nextion.upload.idf:104]: Uploaded 91.56%, remaining 633204 bytes, free heap: 75620 (DRAM) + 1967723 (PSRAM) bytes
[22:27:13][D][nextion.upload.idf:104]: Uploaded 91.61%, remaining 629108 bytes, free heap: 75620 (DRAM) + 1967723 (PSRAM) bytes
[22:27:13][D][nextion.upload.idf:104]: Uploaded 91.67%, remaining 625012 bytes, free heap: 75620 (DRAM) + 1967723 (PSRAM) bytes
[22:27:14][D][nextion.upload.idf:104]: Uploaded 91.72%, remaining 620916 bytes, free heap: 75620 (DRAM) + 1968019 (PSRAM) bytes
[22:27:14][D][nextion.upload.idf:104]: Uploaded 91.78%, remaining 616820 bytes, free heap: 75620 (DRAM) + 1967759 (PSRAM) bytes
[22:27:14][D][nextion.upload.idf:104]: Uploaded 91.83%, remaining 612724 bytes, free heap: 75620 (DRAM) + 1967767 (PSRAM) bytes
[22:27:15][D][nextion.upload.idf:104]: Uploaded 91.89%, remaining 608628 bytes, free heap: 75620 (DRAM) + 1967767 (PSRAM) bytes
[22:27:15][D][nextion.upload.idf:104]: Uploaded 91.94%, remaining 604532 bytes, free heap: 75620 (DRAM) + 1968279 (PSRAM) bytes
[22:27:16][D][nextion.upload.idf:104]: Uploaded 92.00%, remaining 600436 bytes, free heap: 75620 (DRAM) + 1968015 (PSRAM) bytes
[22:27:16][D][nextion.upload.idf:104]: Uploaded 92.05%, remaining 596340 bytes, free heap: 75620 (DRAM) + 1968015 (PSRAM) bytes
[22:27:16][D][nextion.upload.idf:104]: Uploaded 92.11%, remaining 592244 bytes, free heap: 75620 (DRAM) + 1968015 (PSRAM) bytes
[22:27:17][D][nextion.upload.idf:104]: Uploaded 92.16%, remaining 588148 bytes, free heap: 75620 (DRAM) + 1967235 (PSRAM) bytes
[22:27:17][D][nextion.upload.idf:104]: Uploaded 92.21%, remaining 584052 bytes, free heap: 75620 (DRAM) + 1967235 (PSRAM) bytes
[22:27:18][D][nextion.upload.idf:104]: Uploaded 92.27%, remaining 579956 bytes, free heap: 75620 (DRAM) + 1967235 (PSRAM) bytes
[22:27:18][D][nextion.upload.idf:104]: Uploaded 92.32%, remaining 575860 bytes, free heap: 75620 (DRAM) + 1967235 (PSRAM) bytes
[22:27:19][D][nextion.upload.idf:104]: Uploaded 92.38%, remaining 571764 bytes, free heap: 75620 (DRAM) + 1968019 (PSRAM) bytes
[22:27:19][D][nextion.upload.idf:104]: Uploaded 92.43%, remaining 567668 bytes, free heap: 75620 (DRAM) + 1967063 (PSRAM) bytes
[22:27:19][D][nextion.upload.idf:104]: Uploaded 92.49%, remaining 563572 bytes, free heap: 75620 (DRAM) + 1967063 (PSRAM) bytes
[22:27:20][D][nextion.upload.idf:104]: Uploaded 92.54%, remaining 559476 bytes, free heap: 75620 (DRAM) + 1967063 (PSRAM) bytes
[22:27:20][D][nextion.upload.idf:104]: Uploaded 92.60%, remaining 555380 bytes, free heap: 75620 (DRAM) + 1966915 (PSRAM) bytes
[22:27:21][D][nextion.upload.idf:104]: Uploaded 92.65%, remaining 551284 bytes, free heap: 75620 (DRAM) + 1966915 (PSRAM) bytes
[22:27:21][D][nextion.upload.idf:104]: Uploaded 92.71%, remaining 547188 bytes, free heap: 75620 (DRAM) + 1966915 (PSRAM) bytes
[22:27:21][D][nextion.upload.idf:104]: Uploaded 92.76%, remaining 543092 bytes, free heap: 75620 (DRAM) + 1966915 (PSRAM) bytes
[22:27:22][D][nextion.upload.idf:104]: Uploaded 92.82%, remaining 538996 bytes, free heap: 75620 (DRAM) + 1968011 (PSRAM) bytes
[22:27:22][D][nextion.upload.idf:104]: Uploaded 92.87%, remaining 534900 bytes, free heap: 75620 (DRAM) + 1968011 (PSRAM) bytes
[22:27:23][D][nextion.upload.idf:104]: Uploaded 92.92%, remaining 530804 bytes, free heap: 75620 (DRAM) + 1968011 (PSRAM) bytes
[22:27:23][D][nextion.upload.idf:104]: Uploaded 92.98%, remaining 526708 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:24][D][nextion.upload.idf:104]: Uploaded 93.03%, remaining 522612 bytes, free heap: 75620 (DRAM) + 1967523 (PSRAM) bytes
[22:27:24][D][nextion.upload.idf:104]: Uploaded 93.09%, remaining 518516 bytes, free heap: 75620 (DRAM) + 1967523 (PSRAM) bytes
[22:27:25][D][nextion.upload.idf:104]: Uploaded 93.14%, remaining 514420 bytes, free heap: 75620 (DRAM) + 1967523 (PSRAM) bytes
[22:27:25][D][nextion.upload.idf:104]: Uploaded 93.20%, remaining 510324 bytes, free heap: 75620 (DRAM) + 1967523 (PSRAM) bytes
[22:27:25][D][nextion.upload.idf:104]: Uploaded 93.25%, remaining 506228 bytes, free heap: 75620 (DRAM) + 1967751 (PSRAM) bytes
[22:27:26][D][nextion.upload.idf:104]: Uploaded 93.31%, remaining 502132 bytes, free heap: 75620 (DRAM) + 1967115 (PSRAM) bytes
[22:27:26][D][nextion.upload.idf:104]: Uploaded 93.36%, remaining 498036 bytes, free heap: 75620 (DRAM) + 1967115 (PSRAM) bytes
[22:27:27][D][nextion.upload.idf:104]: Uploaded 93.42%, remaining 493940 bytes, free heap: 75620 (DRAM) + 1967115 (PSRAM) bytes
[22:27:27][D][nextion.upload.idf:104]: Uploaded 93.47%, remaining 489844 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:28][D][nextion.upload.idf:104]: Uploaded 93.53%, remaining 485748 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:28][D][nextion.upload.idf:104]: Uploaded 93.58%, remaining 481652 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:28][D][nextion.upload.idf:104]: Uploaded 93.63%, remaining 477556 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:29][D][nextion.upload.idf:104]: Uploaded 93.69%, remaining 473460 bytes, free heap: 75620 (DRAM) + 1966799 (PSRAM) bytes
[22:27:29][D][nextion.upload.idf:104]: Uploaded 93.74%, remaining 469364 bytes, free heap: 75620 (DRAM) + 1966799 (PSRAM) bytes
[22:27:30][D][nextion.upload.idf:104]: Uploaded 93.80%, remaining 465268 bytes, free heap: 75620 (DRAM) + 1966799 (PSRAM) bytes
[22:27:30][D][nextion.upload.idf:104]: Uploaded 93.85%, remaining 461172 bytes, free heap: 75620 (DRAM) + 1966799 (PSRAM) bytes
[22:27:31][D][nextion.upload.idf:104]: Uploaded 93.91%, remaining 457076 bytes, free heap: 75620 (DRAM) + 1967995 (PSRAM) bytes
[22:27:31][D][nextion.upload.idf:104]: Uploaded 93.96%, remaining 452980 bytes, free heap: 75620 (DRAM) + 1966875 (PSRAM) bytes
[22:27:31][D][nextion.upload.idf:104]: Uploaded 94.02%, remaining 448884 bytes, free heap: 75620 (DRAM) + 1966883 (PSRAM) bytes
[22:27:32][D][nextion.upload.idf:104]: Uploaded 94.07%, remaining 444788 bytes, free heap: 75620 (DRAM) + 1966883 (PSRAM) bytes
[22:27:32][D][nextion.upload.idf:104]: Uploaded 94.13%, remaining 440692 bytes, free heap: 75620 (DRAM) + 1967747 (PSRAM) bytes
[22:27:33][D][nextion.upload.idf:104]: Uploaded 94.18%, remaining 436596 bytes, free heap: 75620 (DRAM) + 1967487 (PSRAM) bytes
[22:27:33][D][nextion.upload.idf:104]: Uploaded 94.24%, remaining 432500 bytes, free heap: 75620 (DRAM) + 1967487 (PSRAM) bytes
[22:27:33][D][nextion.upload.idf:104]: Uploaded 94.29%, remaining 428404 bytes, free heap: 75620 (DRAM) + 1967487 (PSRAM) bytes
[22:27:34][D][nextion.upload.idf:104]: Uploaded 94.34%, remaining 424308 bytes, free heap: 75620 (DRAM) + 1967275 (PSRAM) bytes
[22:27:34][D][nextion.upload.idf:104]: Uploaded 94.40%, remaining 420212 bytes, free heap: 75620 (DRAM) + 1967275 (PSRAM) bytes
[22:27:35][D][nextion.upload.idf:104]: Uploaded 94.45%, remaining 416116 bytes, free heap: 75496 (DRAM) + 1967275 (PSRAM) bytes
[22:27:35][D][nextion.upload.idf:104]: Uploaded 94.51%, remaining 412020 bytes, free heap: 75620 (DRAM) + 1967275 (PSRAM) bytes
[22:27:36][D][nextion.upload.idf:104]: Uploaded 94.56%, remaining 407924 bytes, free heap: 75620 (DRAM) + 1967739 (PSRAM) bytes
[22:27:36][D][nextion.upload.idf:104]: Uploaded 94.62%, remaining 403828 bytes, free heap: 75620 (DRAM) + 1967739 (PSRAM) bytes
[22:27:37][D][nextion.upload.idf:104]: Uploaded 94.67%, remaining 399732 bytes, free heap: 75620 (DRAM) + 1967739 (PSRAM) bytes
[22:27:37][D][nextion.upload.idf:104]: Uploaded 94.73%, remaining 395636 bytes, free heap: 75528 (DRAM) + 1966011 (PSRAM) bytes
[22:27:37][D][nextion.upload.idf:104]: Uploaded 94.78%, remaining 391540 bytes, free heap: 75620 (DRAM) + 1968003 (PSRAM) bytes
[22:27:38][D][nextion.upload.idf:104]: Uploaded 94.84%, remaining 387444 bytes, free heap: 75620 (DRAM) + 1967183 (PSRAM) bytes
[22:27:38][D][nextion.upload.idf:104]: Uploaded 94.89%, remaining 383348 bytes, free heap: 75620 (DRAM) + 1967183 (PSRAM) bytes
[22:27:39][D][nextion.upload.idf:104]: Uploaded 94.94%, remaining 379252 bytes, free heap: 75620 (DRAM) + 1967183 (PSRAM) bytes
[22:27:39][D][nextion.upload.idf:104]: Uploaded 95.00%, remaining 375156 bytes, free heap: 75496 (DRAM) + 1966775 (PSRAM) bytes
[22:27:40][D][nextion.upload.idf:104]: Uploaded 95.05%, remaining 371060 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:27:40][D][nextion.upload.idf:104]: Uploaded 95.11%, remaining 366964 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:27:40][D][nextion.upload.idf:104]: Uploaded 95.16%, remaining 362868 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:27:41][D][nextion.upload.idf:104]: Uploaded 95.22%, remaining 358772 bytes, free heap: 75620 (DRAM) + 1967731 (PSRAM) bytes
[22:27:41][D][nextion.upload.idf:104]: Uploaded 95.27%, remaining 354676 bytes, free heap: 75620 (DRAM) + 1967731 (PSRAM) bytes
[22:27:42][D][nextion.upload.idf:104]: Uploaded 95.33%, remaining 350580 bytes, free heap: 75620 (DRAM) + 1967731 (PSRAM) bytes
[22:27:42][D][nextion.upload.idf:104]: Uploaded 95.38%, remaining 346484 bytes, free heap: 75620 (DRAM) + 1967731 (PSRAM) bytes
[22:27:42][D][nextion.upload.idf:104]: Uploaded 95.44%, remaining 342388 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:43][D][nextion.upload.idf:104]: Uploaded 95.49%, remaining 338292 bytes, free heap: 75620 (DRAM) + 1967735 (PSRAM) bytes
[22:27:43][D][nextion.upload.idf:104]: Uploaded 95.55%, remaining 334196 bytes, free heap: 75620 (DRAM) + 1967459 (PSRAM) bytes
[22:27:44][D][nextion.upload.idf:104]: Uploaded 95.60%, remaining 330100 bytes, free heap: 75620 (DRAM) + 1967459 (PSRAM) bytes
[22:27:44][D][nextion.upload.idf:104]: Uploaded 95.65%, remaining 326004 bytes, free heap: 75620 (DRAM) + 1966979 (PSRAM) bytes
[22:27:44][D][nextion.upload.idf:104]: Uploaded 95.71%, remaining 321908 bytes, free heap: 75620 (DRAM) + 1966979 (PSRAM) bytes
[22:27:45][D][nextion.upload.idf:104]: Uploaded 95.76%, remaining 317812 bytes, free heap: 75620 (DRAM) + 1966979 (PSRAM) bytes
[22:27:45][D][nextion.upload.idf:104]: Uploaded 95.82%, remaining 313716 bytes, free heap: 75620 (DRAM) + 1966979 (PSRAM) bytes
[22:27:46][D][nextion.upload.idf:104]: Uploaded 95.87%, remaining 309620 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:46][D][nextion.upload.idf:104]: Uploaded 95.93%, remaining 305524 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:47][D][nextion.upload.idf:104]: Uploaded 95.98%, remaining 301428 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:47][D][nextion.upload.idf:104]: Uploaded 96.04%, remaining 297332 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:49][D][nextion.upload.idf:104]: Uploaded 96.09%, remaining 293236 bytes, free heap: 75620 (DRAM) + 1966643 (PSRAM) bytes
[22:27:49][D][nextion.upload.idf:104]: Uploaded 96.15%, remaining 289140 bytes, free heap: 75620 (DRAM) + 1966643 (PSRAM) bytes
[22:27:49][D][nextion.upload.idf:104]: Uploaded 96.20%, remaining 285044 bytes, free heap: 75620 (DRAM) + 1966651 (PSRAM) bytes
[22:27:50][D][nextion.upload.idf:104]: Uploaded 96.26%, remaining 280948 bytes, free heap: 75620 (DRAM) + 1966651 (PSRAM) bytes
[22:27:50][D][nextion.upload.idf:104]: Uploaded 96.31%, remaining 276852 bytes, free heap: 75620 (DRAM) + 1967727 (PSRAM) bytes
[22:27:51][D][nextion.upload.idf:104]: Uploaded 96.36%, remaining 272756 bytes, free heap: 75620 (DRAM) + 1966751 (PSRAM) bytes
[22:27:51][D][nextion.upload.idf:104]: Uploaded 96.42%, remaining 268660 bytes, free heap: 75620 (DRAM) + 1966751 (PSRAM) bytes
[22:27:51][D][nextion.upload.idf:104]: Uploaded 96.47%, remaining 264564 bytes, free heap: 75620 (DRAM) + 1966751 (PSRAM) bytes
[22:27:52][D][nextion.upload.idf:104]: Uploaded 96.53%, remaining 260468 bytes, free heap: 75620 (DRAM) + 1967727 (PSRAM) bytes
[22:27:52][D][nextion.upload.idf:104]: Uploaded 96.58%, remaining 256372 bytes, free heap: 75620 (DRAM) + 1966587 (PSRAM) bytes
[22:27:53][D][nextion.upload.idf:104]: Uploaded 96.64%, remaining 252276 bytes, free heap: 75620 (DRAM) + 1966587 (PSRAM) bytes
[22:27:53][D][nextion.upload.idf:104]: Uploaded 96.69%, remaining 248180 bytes, free heap: 75620 (DRAM) + 1966587 (PSRAM) bytes
[22:27:54][D][nextion.upload.idf:104]: Uploaded 96.75%, remaining 244084 bytes, free heap: 75620 (DRAM) + 1967203 (PSRAM) bytes
[22:27:54][D][nextion.upload.idf:104]: Uploaded 96.80%, remaining 239988 bytes, free heap: 75620 (DRAM) + 1967203 (PSRAM) bytes
[22:27:54][D][nextion.upload.idf:104]: Uploaded 96.86%, remaining 235892 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:55][D][nextion.upload.idf:104]: Uploaded 96.91%, remaining 231796 bytes, free heap: 75620 (DRAM) + 1967211 (PSRAM) bytes
[22:27:56][D][nextion.upload.idf:104]: Uploaded 96.96%, remaining 227700 bytes, free heap: 75620 (DRAM) + 1967223 (PSRAM) bytes
[22:27:57][D][nextion.upload.idf:104]: Uploaded 97.02%, remaining 223604 bytes, free heap: 75620 (DRAM) + 1967223 (PSRAM) bytes
[22:27:57][D][nextion.upload.idf:104]: Uploaded 97.07%, remaining 219508 bytes, free heap: 75620 (DRAM) + 1967223 (PSRAM) bytes
[22:27:57][D][nextion.upload.idf:104]: Uploaded 97.13%, remaining 215412 bytes, free heap: 75620 (DRAM) + 1967223 (PSRAM) bytes
[22:27:58][D][nextion.upload.idf:104]: Uploaded 97.18%, remaining 211316 bytes, free heap: 75620 (DRAM) + 1967723 (PSRAM) bytes
[22:27:58][D][nextion.upload.idf:104]: Uploaded 97.24%, remaining 207220 bytes, free heap: 75620 (DRAM) + 1967059 (PSRAM) bytes
[22:27:59][D][nextion.upload.idf:104]: Uploaded 97.29%, remaining 203124 bytes, free heap: 75620 (DRAM) + 1967059 (PSRAM) bytes
[22:27:59][D][nextion.upload.idf:104]: Uploaded 97.35%, remaining 199028 bytes, free heap: 75620 (DRAM) + 1967059 (PSRAM) bytes
[22:28:00][D][nextion.upload.idf:104]: Uploaded 97.40%, remaining 194932 bytes, free heap: 75620 (DRAM) + 1966887 (PSRAM) bytes
[22:28:00][D][nextion.upload.idf:104]: Uploaded 97.46%, remaining 190836 bytes, free heap: 75620 (DRAM) + 1966887 (PSRAM) bytes
[22:28:00][D][nextion.upload.idf:104]: Uploaded 97.51%, remaining 186740 bytes, free heap: 75620 (DRAM) + 1966895 (PSRAM) bytes
[22:28:01][D][nextion.upload.idf:104]: Uploaded 97.57%, remaining 182644 bytes, free heap: 75620 (DRAM) + 1966895 (PSRAM) bytes
[22:28:01][D][nextion.upload.idf:104]: Uploaded 97.62%, remaining 178548 bytes, free heap: 75620 (DRAM) + 1966735 (PSRAM) bytes
[22:28:02][D][nextion.upload.idf:104]: Uploaded 97.67%, remaining 174452 bytes, free heap: 75620 (DRAM) + 1966735 (PSRAM) bytes
[22:28:02][D][nextion.upload.idf:104]: Uploaded 97.73%, remaining 170356 bytes, free heap: 75620 (DRAM) + 1966735 (PSRAM) bytes
[22:28:02][D][nextion.upload.idf:104]: Uploaded 97.78%, remaining 166260 bytes, free heap: 75620 (DRAM) + 1966735 (PSRAM) bytes
[22:28:03][D][nextion.upload.idf:104]: Uploaded 97.84%, remaining 162164 bytes, free heap: 75620 (DRAM) + 1966051 (PSRAM) bytes
[22:28:03][D][nextion.upload.idf:104]: Uploaded 97.89%, remaining 158068 bytes, free heap: 75620 (DRAM) + 1966051 (PSRAM) bytes
[22:28:04][D][nextion.upload.idf:104]: Uploaded 97.95%, remaining 153972 bytes, free heap: 75620 (DRAM) + 1966051 (PSRAM) bytes
[22:28:04][D][nextion.upload.idf:104]: Uploaded 98.00%, remaining 149876 bytes, free heap: 75620 (DRAM) + 1966051 (PSRAM) bytes
[22:28:05][D][nextion.upload.idf:104]: Uploaded 98.06%, remaining 145780 bytes, free heap: 75620 (DRAM) + 1967199 (PSRAM) bytes
[22:28:05][D][nextion.upload.idf:104]: Uploaded 98.11%, remaining 141684 bytes, free heap: 75620 (DRAM) + 1966939 (PSRAM) bytes
[22:28:06][D][nextion.upload.idf:104]: Uploaded 98.17%, remaining 137588 bytes, free heap: 75620 (DRAM) + 1966939 (PSRAM) bytes
[22:28:06][D][nextion.upload.idf:104]: Uploaded 98.22%, remaining 133492 bytes, free heap: 75620 (DRAM) + 1966939 (PSRAM) bytes
[22:28:06][D][nextion.upload.idf:104]: Uploaded 98.28%, remaining 129396 bytes, free heap: 75620 (DRAM) + 1967191 (PSRAM) bytes
[22:28:07][D][nextion.upload.idf:104]: Uploaded 98.33%, remaining 125300 bytes, free heap: 75428 (DRAM) + 1967191 (PSRAM) bytes
[22:28:07][D][nextion.upload.idf:104]: Uploaded 98.38%, remaining 121204 bytes, free heap: 75620 (DRAM) + 1967191 (PSRAM) bytes
[22:28:08][D][nextion.upload.idf:104]: Uploaded 98.44%, remaining 117108 bytes, free heap: 75620 (DRAM) + 1967191 (PSRAM) bytes
[22:28:08][D][nextion.upload.idf:104]: Uploaded 98.49%, remaining 113012 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:28:08][D][nextion.upload.idf:104]: Uploaded 98.55%, remaining 108916 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:28:09][D][nextion.upload.idf:104]: Uploaded 98.60%, remaining 104820 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:28:09][D][nextion.upload.idf:104]: Uploaded 98.66%, remaining 100724 bytes, free heap: 75620 (DRAM) + 1966775 (PSRAM) bytes
[22:28:10][D][nextion.upload.idf:104]: Uploaded 98.71%, remaining 96628 bytes, free heap: 75620 (DRAM) + 1966359 (PSRAM) bytes
[22:28:10][D][nextion.upload.idf:104]: Uploaded 98.77%, remaining 92532 bytes, free heap: 75620 (DRAM) + 1966359 (PSRAM) bytes
[22:28:11][D][nextion.upload.idf:104]: Uploaded 98.82%, remaining 88436 bytes, free heap: 75620 (DRAM) + 1966359 (PSRAM) bytes
[22:28:11][D][nextion.upload.idf:104]: Uploaded 98.88%, remaining 84340 bytes, free heap: 75620 (DRAM) + 1966359 (PSRAM) bytes
[22:28:12][D][nextion.upload.idf:104]: Uploaded 98.93%, remaining 80244 bytes, free heap: 75620 (DRAM) + 1967199 (PSRAM) bytes
[22:28:12][D][nextion.upload.idf:104]: Uploaded 98.98%, remaining 76148 bytes, free heap: 75620 (DRAM) + 1966203 (PSRAM) bytes
[22:28:12][D][nextion.upload.idf:104]: Uploaded 99.04%, remaining 72052 bytes, free heap: 75620 (DRAM) + 1966203 (PSRAM) bytes
[22:28:13][D][nextion.upload.idf:104]: Uploaded 99.09%, remaining 67956 bytes, free heap: 75620 (DRAM) + 1966203 (PSRAM) bytes
[22:28:13][D][nextion.upload.idf:104]: Uploaded 99.15%, remaining 63860 bytes, free heap: 75508 (DRAM) + 1965443 (PSRAM) bytes
[22:28:14][D][nextion.upload.idf:104]: Uploaded 99.20%, remaining 59764 bytes, free heap: 75508 (DRAM) + 1965443 (PSRAM) bytes
[22:28:14][D][nextion.upload.idf:104]: Uploaded 99.26%, remaining 55668 bytes, free heap: 75508 (DRAM) + 1965443 (PSRAM) bytes
[22:28:14][D][nextion.upload.idf:104]: Uploaded 99.31%, remaining 51572 bytes, free heap: 75508 (DRAM) + 1965443 (PSRAM) bytes
[22:28:15][D][nextion.upload.idf:104]: Uploaded 99.37%, remaining 47476 bytes, free heap: 75508 (DRAM) + 1966595 (PSRAM) bytes
[22:28:15][D][nextion.upload.idf:104]: Uploaded 99.42%, remaining 43380 bytes, free heap: 75508 (DRAM) + 1966595 (PSRAM) bytes
[22:28:16][D][nextion.upload.idf:104]: Uploaded 99.48%, remaining 39284 bytes, free heap: 75508 (DRAM) + 1966595 (PSRAM) bytes
[22:28:16][D][nextion.upload.idf:104]: Uploaded 99.53%, remaining 35188 bytes, free heap: 75508 (DRAM) + 1966595 (PSRAM) bytes
[22:28:16][D][nextion.upload.idf:104]: Uploaded 99.59%, remaining 31092 bytes, free heap: 75508 (DRAM) + 1966571 (PSRAM) bytes
[22:28:17][D][nextion.upload.idf:104]: Uploaded 99.64%, remaining 26996 bytes, free heap: 75508 (DRAM) + 1966067 (PSRAM) bytes
[22:28:17][D][nextion.upload.idf:104]: Uploaded 99.69%, remaining 22900 bytes, free heap: 75508 (DRAM) + 1966067 (PSRAM) bytes
[22:28:18][D][nextion.upload.idf:104]: Uploaded 99.75%, remaining 18804 bytes, free heap: 75508 (DRAM) + 1966067 (PSRAM) bytes
[22:28:18][D][nextion.upload.idf:104]: Uploaded 99.80%, remaining 14708 bytes, free heap: 75508 (DRAM) + 1974791 (PSRAM) bytes
[22:28:18][D][nextion.upload.idf:104]: Uploaded 99.86%, remaining 10612 bytes, free heap: 75508 (DRAM) + 1974763 (PSRAM) bytes
[22:28:19][D][nextion.upload.idf:104]: Uploaded 99.91%, remaining 6516 bytes, free heap: 75508 (DRAM) + 1974791 (PSRAM) bytes
[22:28:19][D][nextion.upload.idf:104]: Uploaded 99.97%, remaining 2420 bytes, free heap: 75508 (DRAM) + 1974791 (PSRAM) bytes
[22:28:19][D][nextion.upload.idf:104]: Uploaded 100.00%, remaining 0 bytes, free heap: 75508 (DRAM) + 1990831 (PSRAM) bytes
[22:28:19][D][nextion.upload.idf:323]: Successfully uploaded TFT to Nextion!
[22:28:19][D][nextion.upload.idf:325]: Close HTTP connection
[22:28:19][D][nextion.upload:104]: Nextion TFT upload finished: Upload successful

@Bascht74
Copy link
Author

Bascht74 commented Apr 16, 2024

Conclusion:

  1. the BT-Code still uses heap memory and it is draining fast during TFT-Upload! If you use high baud rates it uploads a little more than with low boad rates, but it stops sooner or later. Why is that? Does the upload block the BT processing so everything is queued?
    Could a simple non blocking delay-command help preventing the heap memory "drain", e.g. a delay of 60 ms via vTaskDelay() after uploading each chunk, so that other code could be executed and data processed?

  2. the code to stop BT won't be added at the beginning. If you cannot "genericly" add those stop commands, maybe a better strategy could be to use another script that will be called at the beginning of the TFT-Upload. This script could be empty (just delay 1ms). So I you are using BT than you can !extend this script, that part would be executed first.

@edwardtfn
Copy link
Collaborator

Wow, this is a great find.
I can use that to modify the main code.

Thanks a lot!

edwardtfn added a commit that referenced this issue Apr 17, 2024
Helps with the following:
- #1983
- #1946
- #1815
edwardtfn added a commit that referenced this issue Apr 17, 2024
@edwardtfn
Copy link
Collaborator

It is part of dev now

@MichaelHeimann
Copy link
Contributor

Nice! Works here as it should.

[17:35:58][D][script.set_baud_rate:2800]: Current baud rate: 921600 bps
[17:35:58][W][component:232]: Component script took a long time for an operation (56 ms).
[17:35:58][W][component:233]: Components should block for at most 30 ms.
[17:35:58][E][nextion:285]: Nextion queue is empty!
[17:36:00][D][main:334]: Attempting to upload TFT
[17:36:00][D][addon_upload_tft.script.report_upload_progress:148]: Attempt #1 at 921600 bps
[17:36:00][D][sensor:094]: 'ntc_source': Sending state 1.54950 V with 2 decimals of accuracy
[17:36:00][D][resistance:039]: 'resistance_sensor' - Resistance 9914.0Ω
[17:36:00][D][sensor:094]: 'resistance_sensor': Sending state 9913.96777 Ω with 1 decimals of accuracy
[17:36:00][D][ntc:026]: 'Temperature' - Temperature: 25.2°C
[17:36:00][D][sensor:094]: 'Temperature': Sending state 25.19457 °C with 1 decimals of accuracy
[17:36:00][D][climate:396]: 'Thermostat' - Sending state:
[17:36:00][D][climate:399]:   Mode: OFF
[17:36:00][D][climate:401]:   Action: OFF
[17:36:00][D][climate:419]:   Current Temperature: 25.19°C
[17:36:00][D][climate:425]:   Target Temperature: 18.00°C
[17:36:00][W][component:232]: Component adc.sensor took a long time for an operation (51 ms).
[17:36:00][W][component:233]: Components should block for at most 30 ms.
[17:36:01][D][addon_upload_tft.script.nextion_upload:108]: Waiting for empty UART and Nextion queues
[17:36:03][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[17:36:03][D][nextion.upload.idf:128]: Nextion TFT upload requested
[17:36:03][D][nextion.upload.idf:129]: Exit reparse: NO
[17:36:03][D][nextion.upload.idf:130]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_eu.tft
[17:36:03][D][nextion.upload.idf:151]: Baud rate: 921600
[17:36:04][D][nextion.upload.idf:207]: TFT file size: 7497604 bytes
[17:36:04][D][nextion.upload.idf:220]: Uploading Nextion
[17:36:05][D][nextion.upload.idf:258]: Upgrade response is [05] - 1 byte(s)
[17:36:05][D][nextion.upload.idf:281]: Uploading TFT to Nextion:
[17:36:05][D][nextion.upload.idf:282]:   URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_eu.tft
[17:36:05][D][nextion.upload.idf:283]:   File size: 7497604 bytes
[17:36:05][D][nextion.upload.idf:284]:   Free heap: 2047407
[17:36:05][D][nextion.upload.idf:026]: Range start: 0
[17:36:10][D][nextion.upload.idf:091]: Uploaded 0.05 %, remaining 7493508 bytes, free heap: 2050783 bytes
[17:36:10][D][nextion.upload.idf:095]: recv_string [08.00.00.62.00 (5)]
[17:36:10][I][nextion.upload.idf:101]: Nextion reported new range 6422528
[17:36:10][D][nextion.upload.idf:026]: Range start: 6422528
[17:36:10][D][nextion.upload.idf:091]: Uploaded 85.72 %, remaining 1070980 bytes, free heap: 2027259 bytes
[17:36:10][D][nextion.upload.idf:091]: Uploaded 85.77 %, remaining 1066884 bytes, free heap: 2027259 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 85.82 %, remaining 1062788 bytes, free heap: 2027259 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 85.88 %, remaining 1058692 bytes, free heap: 2043987 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 85.93 %, remaining 1054596 bytes, free heap: 2028951 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 85.99 %, remaining 1050500 bytes, free heap: 2028951 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 86.04 %, remaining 1046404 bytes, free heap: 2028951 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 86.10 %, remaining 1042308 bytes, free heap: 2045679 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 86.15 %, remaining 1038212 bytes, free heap: 2026955 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 86.21 %, remaining 1034116 bytes, free heap: 2027271 bytes
[17:36:11][D][nextion.upload.idf:091]: Uploaded 86.26 %, remaining 1030020 bytes, free heap: 2027271 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.32 %, remaining 1025924 bytes, free heap: 2042423 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.37 %, remaining 1021828 bytes, free heap: 2028843 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.43 %, remaining 1017732 bytes, free heap: 2028843 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.48 %, remaining 1013636 bytes, free heap: 2027279 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.54 %, remaining 1009540 bytes, free heap: 2044007 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.59 %, remaining 1005444 bytes, free heap: 2028827 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.64 %, remaining 1001348 bytes, free heap: 2027387 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.70 %, remaining 997252 bytes, free heap: 2027387 bytes
[17:36:12][D][nextion.upload.idf:091]: Uploaded 86.75 %, remaining 993156 bytes, free heap: 2045679 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 86.81 %, remaining 989060 bytes, free heap: 2026943 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 86.86 %, remaining 984964 bytes, free heap: 2025695 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 86.92 %, remaining 980868 bytes, free heap: 2025695 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 86.97 %, remaining 976772 bytes, free heap: 2043999 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 87.03 %, remaining 972676 bytes, free heap: 2028971 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 87.08 %, remaining 968580 bytes, free heap: 2027203 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 87.14 %, remaining 964484 bytes, free heap: 2028971 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 87.19 %, remaining 960388 bytes, free heap: 2044115 bytes
[17:36:13][D][nextion.upload.idf:091]: Uploaded 87.25 %, remaining 956292 bytes, free heap: 2027275 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.30 %, remaining 952196 bytes, free heap: 2025587 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.35 %, remaining 948100 bytes, free heap: 2027083 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.41 %, remaining 944004 bytes, free heap: 2042439 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.46 %, remaining 939908 bytes, free heap: 2027259 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.52 %, remaining 935812 bytes, free heap: 2025695 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.57 %, remaining 931716 bytes, free heap: 2027259 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.63 %, remaining 927620 bytes, free heap: 2042423 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.68 %, remaining 923524 bytes, free heap: 2028951 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.74 %, remaining 919428 bytes, free heap: 2027387 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.79 %, remaining 915332 bytes, free heap: 2027367 bytes
[17:36:14][D][nextion.upload.idf:091]: Uploaded 87.85 %, remaining 911236 bytes, free heap: 2044115 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 87.90 %, remaining 907140 bytes, free heap: 2028843 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 87.96 %, remaining 903044 bytes, free heap: 2027279 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.01 %, remaining 898948 bytes, free heap: 2027279 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.06 %, remaining 894852 bytes, free heap: 2043831 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.12 %, remaining 890756 bytes, free heap: 2027039 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.17 %, remaining 886660 bytes, free heap: 2025695 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.23 %, remaining 882564 bytes, free heap: 2025703 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.28 %, remaining 878468 bytes, free heap: 2043995 bytes
[17:36:15][D][nextion.upload.idf:091]: Uploaded 88.34 %, remaining 874372 bytes, free heap: 2028719 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.39 %, remaining 870276 bytes, free heap: 2027279 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.45 %, remaining 866180 bytes, free heap: 2027279 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.50 %, remaining 862084 bytes, free heap: 2045571 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.56 %, remaining 857988 bytes, free heap: 2028835 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.61 %, remaining 853892 bytes, free heap: 2027271 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.67 %, remaining 849796 bytes, free heap: 2028835 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.72 %, remaining 845700 bytes, free heap: 2043999 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.78 %, remaining 841604 bytes, free heap: 2028951 bytes
[17:36:16][D][nextion.upload.idf:091]: Uploaded 88.83 %, remaining 837508 bytes, free heap: 2027379 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 88.88 %, remaining 833412 bytes, free heap: 2028951 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 88.94 %, remaining 829316 bytes, free heap: 2044107 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 88.99 %, remaining 825220 bytes, free heap: 2027143 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.05 %, remaining 821124 bytes, free heap: 2027175 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.10 %, remaining 817028 bytes, free heap: 2027279 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.16 %, remaining 812932 bytes, free heap: 2044007 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.21 %, remaining 808836 bytes, free heap: 2028959 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.27 %, remaining 804740 bytes, free heap: 2027395 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.32 %, remaining 800644 bytes, free heap: 2027395 bytes
[17:36:17][D][nextion.upload.idf:091]: Uploaded 89.38 %, remaining 796548 bytes, free heap: 2043951 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.43 %, remaining 792452 bytes, free heap: 2028851 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.49 %, remaining 788356 bytes, free heap: 2027287 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.54 %, remaining 784260 bytes, free heap: 2027287 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.59 %, remaining 780164 bytes, free heap: 2045591 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.65 %, remaining 776068 bytes, free heap: 2028971 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.70 %, remaining 771972 bytes, free heap: 2027379 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.76 %, remaining 767876 bytes, free heap: 2028971 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.81 %, remaining 763780 bytes, free heap: 2044115 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.87 %, remaining 759684 bytes, free heap: 2028971 bytes
[17:36:18][D][nextion.upload.idf:091]: Uploaded 89.92 %, remaining 755588 bytes, free heap: 2027395 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 89.98 %, remaining 751492 bytes, free heap: 2027407 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.03 %, remaining 747396 bytes, free heap: 2044123 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.09 %, remaining 743300 bytes, free heap: 2027167 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.14 %, remaining 739204 bytes, free heap: 2025603 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.20 %, remaining 735108 bytes, free heap: 2025603 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.25 %, remaining 731012 bytes, free heap: 2041583 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.30 %, remaining 726916 bytes, free heap: 2028967 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.36 %, remaining 722820 bytes, free heap: 2027403 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.41 %, remaining 718724 bytes, free heap: 2027403 bytes
[17:36:19][D][nextion.upload.idf:091]: Uploaded 90.47 %, remaining 714628 bytes, free heap: 2044019 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.52 %, remaining 710532 bytes, free heap: 2028863 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.58 %, remaining 706436 bytes, free heap: 2027147 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.63 %, remaining 702340 bytes, free heap: 2028863 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.69 %, remaining 698244 bytes, free heap: 2044015 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.74 %, remaining 694148 bytes, free heap: 2028951 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.80 %, remaining 690052 bytes, free heap: 2027387 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.85 %, remaining 685956 bytes, free heap: 2028951 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.91 %, remaining 681860 bytes, free heap: 2044115 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 90.96 %, remaining 677764 bytes, free heap: 2028959 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 91.01 %, remaining 673668 bytes, free heap: 2027395 bytes
[17:36:20][D][nextion.upload.idf:091]: Uploaded 91.07 %, remaining 669572 bytes, free heap: 2027395 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.12 %, remaining 665476 bytes, free heap: 2045543 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.18 %, remaining 661380 bytes, free heap: 2028843 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.23 %, remaining 657284 bytes, free heap: 2027279 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.29 %, remaining 653188 bytes, free heap: 2027279 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.34 %, remaining 649092 bytes, free heap: 2045571 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.40 %, remaining 644996 bytes, free heap: 2028951 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.45 %, remaining 640900 bytes, free heap: 2027195 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.51 %, remaining 636804 bytes, free heap: 2028951 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.56 %, remaining 632708 bytes, free heap: 2044115 bytes
[17:36:21][D][nextion.upload.idf:091]: Uploaded 91.62 %, remaining 628612 bytes, free heap: 2028843 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.67 %, remaining 624516 bytes, free heap: 2027279 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.73 %, remaining 620420 bytes, free heap: 2028651 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.78 %, remaining 616324 bytes, free heap: 2044007 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.83 %, remaining 612228 bytes, free heap: 2028951 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.89 %, remaining 608132 bytes, free heap: 2027387 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 91.94 %, remaining 604036 bytes, free heap: 2027387 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 92.00 %, remaining 599940 bytes, free heap: 2043979 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 92.05 %, remaining 595844 bytes, free heap: 2026927 bytes
[17:36:22][D][nextion.upload.idf:091]: Uploaded 92.11 %, remaining 591748 bytes, free heap: 2025695 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.16 %, remaining 587652 bytes, free heap: 2025695 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.22 %, remaining 583556 bytes, free heap: 2043987 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.27 %, remaining 579460 bytes, free heap: 2027223 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.33 %, remaining 575364 bytes, free heap: 2027387 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.38 %, remaining 571268 bytes, free heap: 2027387 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.44 %, remaining 567172 bytes, free heap: 2045679 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.49 %, remaining 563076 bytes, free heap: 2028951 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.54 %, remaining 558980 bytes, free heap: 2027387 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.60 %, remaining 554884 bytes, free heap: 2027387 bytes
[17:36:23][D][nextion.upload.idf:091]: Uploaded 92.65 %, remaining 550788 bytes, free heap: 2045679 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.71 %, remaining 546692 bytes, free heap: 2027243 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.76 %, remaining 542596 bytes, free heap: 2025695 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.82 %, remaining 538500 bytes, free heap: 2025695 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.87 %, remaining 534404 bytes, free heap: 2043987 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.93 %, remaining 530308 bytes, free heap: 2028959 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 92.98 %, remaining 526212 bytes, free heap: 2027395 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 93.04 %, remaining 522116 bytes, free heap: 2028959 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 93.09 %, remaining 518020 bytes, free heap: 2044123 bytes
[17:36:24][D][nextion.upload.idf:091]: Uploaded 93.15 %, remaining 513924 bytes, free heap: 2028827 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.20 %, remaining 509828 bytes, free heap: 2027279 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.25 %, remaining 505732 bytes, free heap: 2027279 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.31 %, remaining 501636 bytes, free heap: 2045571 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.36 %, remaining 497540 bytes, free heap: 2028743 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.42 %, remaining 493444 bytes, free heap: 2027387 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.47 %, remaining 489348 bytes, free heap: 2027387 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.53 %, remaining 485252 bytes, free heap: 2045679 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.58 %, remaining 481156 bytes, free heap: 2028667 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.64 %, remaining 477060 bytes, free heap: 2027103 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.69 %, remaining 472964 bytes, free heap: 2028283 bytes
[17:36:25][D][nextion.upload.idf:091]: Uploaded 93.75 %, remaining 468868 bytes, free heap: 2043831 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 93.80 %, remaining 464772 bytes, free heap: 2028667 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 93.86 %, remaining 460676 bytes, free heap: 2026963 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 93.91 %, remaining 456580 bytes, free heap: 2028675 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 93.96 %, remaining 452484 bytes, free heap: 2043831 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 94.02 %, remaining 448388 bytes, free heap: 2028683 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 94.07 %, remaining 444292 bytes, free heap: 2026927 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 94.13 %, remaining 440196 bytes, free heap: 2028683 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 94.18 %, remaining 436100 bytes, free heap: 2043847 bytes
[17:36:26][D][nextion.upload.idf:091]: Uploaded 94.24 %, remaining 432004 bytes, free heap: 2028639 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.29 %, remaining 427908 bytes, free heap: 2027075 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.35 %, remaining 423812 bytes, free heap: 2027075 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.40 %, remaining 419716 bytes, free heap: 2045175 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.46 %, remaining 415620 bytes, free heap: 2030375 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.51 %, remaining 411524 bytes, free heap: 2028507 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.57 %, remaining 407428 bytes, free heap: 2028675 bytes
[17:36:27][D][nextion.upload.idf:091]: Uploaded 94.62 %, remaining 403332 bytes, free heap: 2045403 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.68 %, remaining 399236 bytes, free heap: 2028567 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.73 %, remaining 395140 bytes, free heap: 2028567 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.78 %, remaining 391044 bytes, free heap: 2028567 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.84 %, remaining 386948 bytes, free heap: 2045295 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.89 %, remaining 382852 bytes, free heap: 2026991 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 94.95 %, remaining 378756 bytes, free heap: 2026975 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 95.00 %, remaining 374660 bytes, free heap: 2026991 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 95.06 %, remaining 370564 bytes, free heap: 2043719 bytes
[17:36:28][D][nextion.upload.idf:091]: Uploaded 95.11 %, remaining 366468 bytes, free heap: 2028683 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.17 %, remaining 362372 bytes, free heap: 2028451 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.22 %, remaining 358276 bytes, free heap: 2027119 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.28 %, remaining 354180 bytes, free heap: 2045411 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.33 %, remaining 350084 bytes, free heap: 2028683 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.39 %, remaining 345988 bytes, free heap: 2028683 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.44 %, remaining 341892 bytes, free heap: 2028683 bytes
[17:36:29][D][nextion.upload.idf:091]: Uploaded 95.49 %, remaining 337796 bytes, free heap: 2045411 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.55 %, remaining 333700 bytes, free heap: 2028683 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.60 %, remaining 329604 bytes, free heap: 2026675 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.66 %, remaining 325508 bytes, free heap: 2028491 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.71 %, remaining 321412 bytes, free heap: 2045411 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.77 %, remaining 317316 bytes, free heap: 2026859 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.82 %, remaining 313220 bytes, free heap: 2026983 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.88 %, remaining 309124 bytes, free heap: 2026983 bytes
[17:36:30][D][nextion.upload.idf:091]: Uploaded 95.93 %, remaining 305028 bytes, free heap: 2043711 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 95.99 %, remaining 300932 bytes, free heap: 2028675 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.04 %, remaining 296836 bytes, free heap: 2028675 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.10 %, remaining 292740 bytes, free heap: 2028675 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.15 %, remaining 288644 bytes, free heap: 2045403 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.20 %, remaining 284548 bytes, free heap: 2028675 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.26 %, remaining 280452 bytes, free heap: 2028483 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.31 %, remaining 276356 bytes, free heap: 2028675 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.37 %, remaining 272260 bytes, free heap: 2045403 bytes
[17:36:31][D][nextion.upload.idf:091]: Uploaded 96.42 %, remaining 268164 bytes, free heap: 2028567 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.48 %, remaining 264068 bytes, free heap: 2027003 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.53 %, remaining 259972 bytes, free heap: 2027003 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.59 %, remaining 255876 bytes, free heap: 2043731 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.64 %, remaining 251780 bytes, free heap: 2028675 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.70 %, remaining 247684 bytes, free heap: 2027111 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.75 %, remaining 243588 bytes, free heap: 2026559 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.81 %, remaining 239492 bytes, free heap: 2045147 bytes
[17:36:32][D][nextion.upload.idf:091]: Uploaded 96.86 %, remaining 235396 bytes, free heap: 2028383 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 96.92 %, remaining 231300 bytes, free heap: 2026819 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 96.97 %, remaining 227204 bytes, free heap: 2028383 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.02 %, remaining 223108 bytes, free heap: 2043547 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.08 %, remaining 219012 bytes, free heap: 2028323 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.13 %, remaining 214916 bytes, free heap: 2026759 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.19 %, remaining 210820 bytes, free heap: 2025195 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.24 %, remaining 206724 bytes, free heap: 2045055 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.30 %, remaining 202628 bytes, free heap: 2028243 bytes
[17:36:33][D][nextion.upload.idf:091]: Uploaded 97.35 %, remaining 198532 bytes, free heap: 2026871 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.41 %, remaining 194436 bytes, free heap: 2028435 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.46 %, remaining 190340 bytes, free heap: 2043599 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.52 %, remaining 186244 bytes, free heap: 2026399 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.57 %, remaining 182148 bytes, free heap: 2025027 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.63 %, remaining 178052 bytes, free heap: 2025015 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.68 %, remaining 173956 bytes, free heap: 2043319 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.73 %, remaining 169860 bytes, free heap: 2028431 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.79 %, remaining 165764 bytes, free heap: 2026855 bytes
[17:36:34][D][nextion.upload.idf:091]: Uploaded 97.84 %, remaining 161668 bytes, free heap: 2026867 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 97.90 %, remaining 157572 bytes, free heap: 2045159 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 97.95 %, remaining 153476 bytes, free heap: 2028327 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.01 %, remaining 149380 bytes, free heap: 2026763 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.06 %, remaining 145284 bytes, free heap: 2026763 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.12 %, remaining 141188 bytes, free heap: 2044863 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.17 %, remaining 137092 bytes, free heap: 2028435 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.23 %, remaining 132996 bytes, free heap: 2026871 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.28 %, remaining 128900 bytes, free heap: 2028435 bytes
[17:36:35][D][nextion.upload.idf:091]: Uploaded 98.34 %, remaining 124804 bytes, free heap: 2043591 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.39 %, remaining 120708 bytes, free heap: 2026699 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.44 %, remaining 116612 bytes, free heap: 2025135 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.50 %, remaining 112516 bytes, free heap: 2025135 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.55 %, remaining 108420 bytes, free heap: 2043427 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.61 %, remaining 104324 bytes, free heap: 2028419 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.66 %, remaining 100228 bytes, free heap: 2026855 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.72 %, remaining 96132 bytes, free heap: 2026855 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.77 %, remaining 92036 bytes, free heap: 2045147 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.83 %, remaining 87940 bytes, free heap: 2028419 bytes
[17:36:36][D][nextion.upload.idf:091]: Uploaded 98.88 %, remaining 83844 bytes, free heap: 2026855 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 98.94 %, remaining 79748 bytes, free heap: 2026855 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 98.99 %, remaining 75652 bytes, free heap: 2045147 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.05 %, remaining 71556 bytes, free heap: 2026627 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.10 %, remaining 67460 bytes, free heap: 2025055 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.15 %, remaining 63364 bytes, free heap: 2025063 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.21 %, remaining 59268 bytes, free heap: 2043355 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.26 %, remaining 55172 bytes, free heap: 2028435 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.32 %, remaining 51076 bytes, free heap: 2026871 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.37 %, remaining 46980 bytes, free heap: 2026871 bytes
[17:36:37][D][nextion.upload.idf:091]: Uploaded 99.43 %, remaining 42884 bytes, free heap: 2044963 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.48 %, remaining 38788 bytes, free heap: 2028435 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.54 %, remaining 34692 bytes, free heap: 2026871 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.59 %, remaining 30596 bytes, free heap: 2028435 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.65 %, remaining 26500 bytes, free heap: 2043591 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.70 %, remaining 22404 bytes, free heap: 2028435 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.76 %, remaining 18308 bytes, free heap: 2026679 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.81 %, remaining 14212 bytes, free heap: 2028311 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.87 %, remaining 10116 bytes, free heap: 2041587 bytes
[17:36:38][D][nextion.upload.idf:091]: Uploaded 99.92 %, remaining 6020 bytes, free heap: 2039783 bytes
[17:36:39][D][nextion.upload.idf:091]: Uploaded 99.97 %, remaining 1924 bytes, free heap: 2039783 bytes
[17:36:39][D][nextion.upload.idf:091]: Uploaded 100.00 %, remaining 0 bytes, free heap: 2050851 bytes
[17:36:39][D][nextion.upload.idf:305]: Successfully uploaded TFT to Nextion!
[17:36:39][D][nextion.upload.idf:307]: Close HTTP connection
[17:36:39][D][nextion.upload.idf:315]: Nextion TFT upload finished: Upload successful
[17:36:39][D][nextion.upload.idf:326]: Restarting ESPHome
WARNING nspanel-1d3e54 @ 10.250.11.38: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for nspanel-1d3e54 @ 10.250.11.38
WARNING Disconnected from API

@edwardtfn
Copy link
Collaborator

And you are not using psram... Have you added some code to remove that?

@MichaelHeimann
Copy link
Contributor

MichaelHeimann commented Apr 17, 2024

no, that was on the prebuilt test nspanel. I assumed psram was now default ...
I just noticed that the prebuilt firmware in dev is some days old, maybe not the best platform to test with.

Although - why did it not use more ram then, if the firmware is older than the change that should fix it.

image

@edwardtfn
Copy link
Collaborator

Mmmm... It should build with every commit. I will take a look.

@Bascht74
Copy link
Author

Bascht74 commented Apr 17, 2024

I compiled with the new dev version and removed a lot of my additions. Results:

This is my new (much smaler) configuration:

substitutions:
  # Settings - Editable values
  device_name: "panel-eg-wohnzimmer"
  friendly_name: "Panel EG Wohnzimmer"
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"  # Optional

  ##### addon-configuration #####
  ## addon_climate ##
  heater_relay: "1"
  #temp_units: "°F"      # Temperatures in Fahrenheit
  temp_min: "15"        # Min supported temperature is 40°F
  temp_max: "25"        # Max supported temperature is 80°F
  temp_step: "0.5"        # Temperature granularity is 1°F
  heat_deadband: "0.3"  # Temperature delta before engaging heat
  heat_overrun: "0.2"   # Temperature delta before disengaging heat
  min_off_time: "30"
  min_run_time: "60"
  min_idle_time: "5"
  mac_temp: "A4:C1:38:A8:E4:99"
  cover_entity: "cover.rollo_eg_wohnzimmer_terrasse_cover_1"

# Customization area
##### My customization - Start #####
debug:
  update_interval: 5s

binary_sensor:
  # Left button custom action: Push button / Momentary switch - Relay 1
  - id: !extend left_button
    on_click:
      then:
    on_press:
      then:
        - homeassistant.service:
            service: script.cover_stop_open
            data:
              cover_entity: '$cover_entity'

  # Right button custom action: Push button / Momentary switch - Relay 2
  - id: !extend right_button
    on_click:
      then:
    on_press:
      then:
        - homeassistant.service:
            service: script.cover_stop_close
            data:
              cover_entity: '$cover_entity'

wifi:
  power_save_mode: LIGHT

api:
  encryption: 
    key: !secret encryption_key
  reboot_timeout: 15min

ota:
  password: !secret ota_password

time:
  - id: !extend time_provider
    on_time:
      - seconds: 00
        minutes: 00
        hours: 00,07
        then:
          - if:
              condition:
                lambda: 'return id(thermostat_embedded).preset != CLIMATE_PRESET_AWAY;'
              then:
                - climate.control:
                    id: thermostat_embedded
                    target_temperature: 23

climate:
  - id: !extend thermostat_embedded
    sensor: combined_temperature
#    humidity_sensor: ext_humidity
    preset:
      - name: "home"
        default_target_temperature_low: 21
      - name: "away"
        default_target_temperature_low: 17   
    default_preset: home

esp32_ble_tracker:
  id: ble_tracker
  scan_parameters:
    continuous: true
    interval: 320ms
    window: 60ms
    active: false

sensor:
  - id: combined_temperature
    platform: template
    internal: true
    lambda: |-
      if (wifi_component->is_connected() and api_server->is_connected()) {
        return ext_temperature->state;
      } else {
        return temp_nspanel->state;
      }
  - platform: pvvx_mithermometer
    mac_address: $mac_temp
    temperature:
      name: "Temperatur"
      id: ext_temperature
      device_class: temperature
      filters:
        - throttle_average: 120s
    humidity:
      name: "Luftfeuchtigkeit"
      id: ext_humidity
      device_class: humidity
      filters:
        - throttle_average: 120s
    battery_level:
      name: "Batterieladestand"
      id: ext_battery_level
      entity_category: diagnostic
      filters:
        - throttle_average: 3600s
##### My customization - End #####

# Core and optional configurations
packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: dev
    files:
      - nspanel_esphome.yaml # Basic package, advanced: nspanel_esphome_advanced.yaml
      - nspanel_esphome_addon_climate_heat.yaml
    refresh: 300s
########

Trying to update TFT:

[23:52:27][D][button:010]: 'Update TFT display' Pressed.
[23:52:27][D][text_sensor:064]: 'Current Page': Sending state 'home'
[23:52:27][D][script.page_changed:2405]: New page: home
[23:52:27][D][text_sensor:064]: 'Detailed Entity': Sending state ''
[23:52:27][D][script.timer_dim:3036]: Waking up on page: home
[23:52:27][D][nextion_textsensor:014]: Processed text_sensor "current_page" state "home"
[23:52:27][D][sensor:094]: 'Display Current brightness': Sending state 0.00000 % with 0 decimals of accuracy
[23:52:29][D][addon_upload_tft.script.open_upload_dialog:124]: Showing upload dialog page
[23:52:29][D][text_sensor:064]: 'Current Page': Sending state 'confirm'
[23:52:29][D][script.page_changed:2405]: New page: confirm
[23:52:29][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[23:52:29][D][script.timer_dim:3036]: Waking up on page: confirm
[23:52:29][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[23:52:29][D][script:077]: Script 'timer_sleep' restarting (mode: restart)
[23:52:29][D][nextion_textsensor:014]: Processed text_sensor "current_page" state "confirm"
[23:52:29][D][addon_upload_tft.script.report_upload_progress:148]: Set Nextion unavailable for blueprint calls
[23:52:29][D][binary_sensor:036]: 'Nextion display': Sending state OFF
[23:52:29][D][addon_upload_tft.script.report_upload_progress:148]: Preparing for upload...
[23:52:29][D][script.nextion_status:097]: Nextion status:
[23:52:29][D][script.nextion_status:098]:   Is detected: YES
[23:52:29][D][script.nextion_status:099]:   Is setup:    YES
[23:52:29][D][script.nextion_status:100]:   Queue size:  11
[23:52:29][D][addon_upload_tft.script.upload_tft:210]: Starting the upload script
[23:52:29][D][addon_upload_tft.script.upload_tft:211]:   Valid TFT:               YES
[23:52:29][D][addon_upload_tft.script.upload_tft:212]:   Current baud rate:       115200 bps
[23:52:29][D][addon_upload_tft.script.upload_tft:213]:   Target upload baud rate: 921600 bps
[23:52:29][D][addon_upload_tft.script.upload_tft:214]:   Upload URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_us.tft
[23:52:29][C][esp32_ble_tracker:645]: BLE Tracker:
[23:52:29][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[23:52:29][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[23:52:29][C][esp32_ble_tracker:648]:   Scan Window: 60.0 ms
[23:52:29][C][esp32_ble_tracker:649]:   Scan Type: PASSIVE
[23:52:29][C][esp32_ble_tracker:650]:   Continuous Scanning: True
[23:52:29][D][addon_upload_tft.script.upload_tft:219]: Disable BLE
[23:52:29][D][addon_upload_tft.script.upload_tft:232]:   Stopping BLE Tracker scan...
[23:52:29][D][esp32_ble_tracker:233]: Stopping scan.
[23:52:29][D][addon_upload_tft.script.upload_tft:234]:   Disabling BLE Tracker scan...
[23:52:29][D][addon_upload_tft.script.upload_tft:236]:   Disabling BLE...
[23:52:29][C][esp32_ble_tracker:645]: BLE Tracker:
[23:52:29][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[23:52:29][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[23:52:29][C][esp32_ble_tracker:648]:   Scan Window: 60.0 ms
[23:52:29][C][esp32_ble_tracker:649]:   Scan Type: PASSIVE
[23:52:29][C][esp32_ble_tracker:650]:   Continuous Scanning: False
[23:52:29][W][component:237]: Component script took a long time for an operation (81 ms).
[23:52:29][W][component:237]: Component esp32_ble took a long time for an operation (232 ms).
[23:52:29][W][component:238]: Components should block for at most 30 ms.
[23:52:29][D][sensor:094]: 'Display Current brightness': Sending state 61.00000 % with 0 decimals of accuracy
[23:52:30][W][script.watchdog:3214]: TFT upload in progress
[23:52:31][D][addon_upload_tft.script.open_upload_dialog:124]: Showing upload dialog page
[23:52:31][D][addon_upload_tft.script.report_upload_progress:148]: Stopping other scripts
[23:52:31][D][text_sensor:064]: 'Current Page': Sending state 'confirm'
[23:52:31][D][nextion_textsensor:014]: Processed text_sensor "current_page" state "confirm"
[23:52:32][D][script.nextion_status:097]: Nextion status:
[23:52:32][D][script.nextion_status:098]:   Is detected: YES
[23:52:32][D][script.nextion_status:099]:   Is setup:    YES
[23:52:32][D][script.nextion_status:100]:   Queue size:  0
[23:52:32][D][addon_upload_tft.script.report_upload_progress:148]: Setting baud rate
[23:52:32][D][script.set_baud_rate:2783]: Baud rate changing from 115200 to 921600 bps
[23:52:32][D][script.set_baud_rate:2784]: Flush UART
[23:52:32][D][script.set_baud_rate:2790]: Sending instruction 'baud=921600' to Nextion
[23:52:32][D][script.set_baud_rate:2792]: Flush UART
[23:52:32][D][script.set_baud_rate:2798]: Set ESPHome new baud rate to 921600 bps
[23:52:32][C][uart.idf:133]: UART 0 was reloaded.
[23:52:32][C][uart.idf:139]: UART Bus 0:
[23:52:32][C][uart.idf:140]:   TX Pin: GPIO16
[23:52:32][C][uart.idf:141]:   RX Pin: GPIO17
[23:52:32][C][uart.idf:143]:   RX Buffer Size: 256
[23:52:32][C][uart.idf:145]:   Baud Rate: 921600 baud
[23:52:32][C][uart.idf:146]:   Data Bits: 8
[23:52:32][C][uart.idf:147]:   Parity: NONE
[23:52:32][C][uart.idf:148]:   Stop bits: 1
[23:52:32][D][script.set_baud_rate:2801]: Current baud rate: 921600 bps
[23:52:33][D][sensor:094]: 'Temperatur': Sending state 24.89333 °C with 2 decimals of accuracy
[23:52:34][D][main:370]: Attempting to upload TFT
[23:52:34][D][addon_upload_tft.script.report_upload_progress:148]: Attempt #1 at 921600 bps
[23:52:35][D][sensor:094]: 'ntc_source': Sending state 1.52900 V with 2 decimals of accuracy
[23:52:35][D][resistance:039]: 'resistance_sensor' - Resistance 9669.6Ω
[23:52:35][D][sensor:094]: 'resistance_sensor': Sending state 9669.56445 Ω with 1 decimals of accuracy
[23:52:35][D][ntc:026]: 'Temperature' - Temperature: 25.8°C
[23:52:35][D][sensor:094]: 'Temperature': Sending state 25.75812 °C with 1 decimals of accuracy
[23:52:35][D][addon_upload_tft.script.nextion_upload:108]: Waiting for empty UART and Nextion queues
[23:52:36][D][sensor:094]: 'RSSI': Sending state -52.00000 dBm with 0 decimals of accuracy
[23:52:45][D][sensor:094]: 'ntc_source': Sending state 1.52883 V with 2 decimals of accuracy
[23:52:45][D][resistance:039]: 'resistance_sensor' - Resistance 9667.6Ω
[23:52:45][D][sensor:094]: 'resistance_sensor': Sending state 9667.60254 Ω with 1 decimals of accuracy
[23:52:45][D][ntc:026]: 'Temperature' - Temperature: 25.8°C
[23:52:45][D][sensor:094]: 'Temperature': Sending state 25.76270 °C with 1 decimals of accuracy
[23:52:47][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[23:52:47][D][nextion.upload.idf:148]: Nextion TFT upload requested
[23:52:47][D][nextion.upload.idf:149]: Exit reparse: NO
[23:52:47][D][nextion.upload.idf:150]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_us.tft
[23:52:47][D][nextion.upload.idf:171]: Baud rate: 921600
[23:52:48][D][nextion.upload.idf:227]: TFT file size: 7502196 bytes
[23:52:48][D][nextion.upload.idf:240]: Uploading Nextion
[23:52:49][D][nextion.upload.idf:278]: Upgrade response is [05] - 1 byte(s)
[23:52:49][D][nextion.upload.idf:299]: Uploading TFT to Nextion:
[23:52:49][D][nextion.upload.idf:300]:   URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_us.tft
[23:52:49][D][nextion.upload.idf:301]:   File size: 7502196 bytes
[23:52:49][D][nextion.upload.idf:302]:   Free heap: 2101227
[23:52:49][D][nextion.upload.idf:026]: Range start: 0
[23:52:54][D][nextion.upload.idf:104]: Uploaded 0.05%, remaining 7498100 bytes, free heap: 123976 (DRAM) + 2006239 (PSRAM) bytes
[23:52:54][D][nextion.upload.idf:112]: recv_string [08.00.00.62.00 (5)]
[23:52:54][I][nextion.upload.idf:118]: Nextion reported new range 6422528
[23:52:54][D][nextion.upload.idf:026]: Range start: 6422528
[23:52:54][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075572 bytes, free heap: 123844 (DRAM) + 1997027 (PSRAM) bytes
[23:52:54][D][nextion.upload.idf:104]: Uploaded 85.72%, remaining 1071476 bytes, free heap: 123968 (DRAM) + 1996759 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 85.77%, remaining 1067380 bytes, free heap: 123844 (DRAM) + 1996771 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 85.83%, remaining 1063284 bytes, free heap: 123968 (DRAM) + 1996767 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 85.88%, remaining 1059188 bytes, free heap: 123968 (DRAM) + 1996463 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 85.94%, remaining 1055092 bytes, free heap: 123968 (DRAM) + 1996767 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 85.99%, remaining 1050996 bytes, free heap: 123968 (DRAM) + 1995763 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.05%, remaining 1046900 bytes, free heap: 123968 (DRAM) + 1996351 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.10%, remaining 1042804 bytes, free heap: 123968 (DRAM) + 1996679 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.15%, remaining 1038708 bytes, free heap: 123968 (DRAM) + 1997023 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.21%, remaining 1034612 bytes, free heap: 123968 (DRAM) + 1997263 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.26%, remaining 1030516 bytes, free heap: 123968 (DRAM) + 1998979 (PSRAM) bytes
[23:52:55][D][nextion.upload.idf:104]: Uploaded 86.32%, remaining 1026420 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.37%, remaining 1022324 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.43%, remaining 1018228 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.48%, remaining 1014132 bytes, free heap: 123968 (DRAM) + 1998991 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.54%, remaining 1010036 bytes, free heap: 123968 (DRAM) + 1980947 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.59%, remaining 1005940 bytes, free heap: 123968 (DRAM) + 1980947 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.65%, remaining 1001844 bytes, free heap: 123968 (DRAM) + 1980947 (PSRAM) bytes
[23:52:56][D][nextion.upload.idf:104]: Uploaded 86.70%, remaining 997748 bytes, free heap: 123968 (DRAM) + 1996111 (PSRAM) bytes
[23:52:57][D][nextion.upload.idf:104]: Uploaded 86.76%, remaining 993652 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:57][D][nextion.upload.idf:104]: Uploaded 86.81%, remaining 989556 bytes, free heap: 123968 (DRAM) + 1980699 (PSRAM) bytes
[23:52:57][D][nextion.upload.idf:104]: Uploaded 86.86%, remaining 985460 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:57][D][nextion.upload.idf:104]: Uploaded 86.92%, remaining 981364 bytes, free heap: 123968 (DRAM) + 1998991 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 86.97%, remaining 977268 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.03%, remaining 973172 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.08%, remaining 969076 bytes, free heap: 123968 (DRAM) + 1980699 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.14%, remaining 964980 bytes, free heap: 123968 (DRAM) + 1998991 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.19%, remaining 960884 bytes, free heap: 123968 (DRAM) + 1981427 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.25%, remaining 956788 bytes, free heap: 123968 (DRAM) + 1981427 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.30%, remaining 952692 bytes, free heap: 123968 (DRAM) + 1979863 (PSRAM) bytes
[23:52:58][D][nextion.upload.idf:104]: Uploaded 87.36%, remaining 948596 bytes, free heap: 123968 (DRAM) + 1998155 (PSRAM) bytes
[23:52:59][D][nextion.upload.idf:104]: Uploaded 87.41%, remaining 944500 bytes, free heap: 123776 (DRAM) + 1981999 (PSRAM) bytes
[23:52:59][D][nextion.upload.idf:104]: Uploaded 87.46%, remaining 940404 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:52:59][D][nextion.upload.idf:104]: Uploaded 87.52%, remaining 936308 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:52:59][D][nextion.upload.idf:104]: Uploaded 87.57%, remaining 932212 bytes, free heap: 123968 (DRAM) + 1998727 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.63%, remaining 928116 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.68%, remaining 924020 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.74%, remaining 919924 bytes, free heap: 123968 (DRAM) + 1980447 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.79%, remaining 915828 bytes, free heap: 123968 (DRAM) + 1995607 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.85%, remaining 911732 bytes, free heap: 123844 (DRAM) + 1982239 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.90%, remaining 907636 bytes, free heap: 123968 (DRAM) + 1980695 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 87.96%, remaining 903540 bytes, free heap: 123968 (DRAM) + 1979131 (PSRAM) bytes
[23:53:00][D][nextion.upload.idf:104]: Uploaded 88.01%, remaining 899444 bytes, free heap: 123968 (DRAM) + 1994295 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.07%, remaining 895348 bytes, free heap: 123968 (DRAM) + 1981991 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.12%, remaining 891252 bytes, free heap: 123968 (DRAM) + 1980447 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.17%, remaining 887156 bytes, free heap: 123968 (DRAM) + 1978879 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.23%, remaining 883060 bytes, free heap: 123968 (DRAM) + 1998739 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.28%, remaining 878964 bytes, free heap: 123968 (DRAM) + 1981831 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.34%, remaining 874868 bytes, free heap: 123968 (DRAM) + 1981831 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.39%, remaining 870772 bytes, free heap: 123968 (DRAM) + 1980267 (PSRAM) bytes
[23:53:01][D][nextion.upload.idf:104]: Uploaded 88.45%, remaining 866676 bytes, free heap: 123968 (DRAM) + 1995431 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.50%, remaining 862580 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.56%, remaining 858484 bytes, free heap: 123968 (DRAM) + 1980447 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.61%, remaining 854388 bytes, free heap: 123968 (DRAM) + 1978883 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.67%, remaining 850292 bytes, free heap: 123968 (DRAM) + 1998739 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.72%, remaining 846196 bytes, free heap: 123968 (DRAM) + 1981231 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.78%, remaining 842100 bytes, free heap: 123968 (DRAM) + 1981231 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.83%, remaining 838004 bytes, free heap: 123968 (DRAM) + 1981231 (PSRAM) bytes
[23:53:02][D][nextion.upload.idf:104]: Uploaded 88.88%, remaining 833908 bytes, free heap: 123968 (DRAM) + 1996395 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 88.94%, remaining 829812 bytes, free heap: 123968 (DRAM) + 1981319 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 88.99%, remaining 825716 bytes, free heap: 123968 (DRAM) + 1981327 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 89.05%, remaining 821620 bytes, free heap: 123968 (DRAM) + 1979759 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 89.10%, remaining 817524 bytes, free heap: 123968 (DRAM) + 1998055 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 89.16%, remaining 813428 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 89.21%, remaining 809332 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:03][D][nextion.upload.idf:104]: Uploaded 89.27%, remaining 805236 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.32%, remaining 801140 bytes, free heap: 123968 (DRAM) + 1998987 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.38%, remaining 797044 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.43%, remaining 792948 bytes, free heap: 123968 (DRAM) + 1980695 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.49%, remaining 788852 bytes, free heap: 123968 (DRAM) + 1978999 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.54%, remaining 784756 bytes, free heap: 123968 (DRAM) + 1995859 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.59%, remaining 780660 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.65%, remaining 776564 bytes, free heap: 123968 (DRAM) + 1980695 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.70%, remaining 772468 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:04][D][nextion.upload.idf:104]: Uploaded 89.76%, remaining 768372 bytes, free heap: 123968 (DRAM) + 1998727 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 89.81%, remaining 764276 bytes, free heap: 123968 (DRAM) + 1980051 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 89.87%, remaining 760180 bytes, free heap: 123968 (DRAM) + 1980187 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 89.92%, remaining 756084 bytes, free heap: 123968 (DRAM) + 1978623 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 89.98%, remaining 751988 bytes, free heap: 123968 (DRAM) + 1996779 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 90.03%, remaining 747892 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 90.09%, remaining 743796 bytes, free heap: 123968 (DRAM) + 1981491 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 90.14%, remaining 739700 bytes, free heap: 123968 (DRAM) + 1978223 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 90.19%, remaining 735604 bytes, free heap: 123968 (DRAM) + 1998219 (PSRAM) bytes
[23:53:05][D][nextion.upload.idf:104]: Uploaded 90.25%, remaining 731508 bytes, free heap: 123968 (DRAM) + 1981071 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.30%, remaining 727412 bytes, free heap: 123968 (DRAM) + 1981071 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.36%, remaining 723316 bytes, free heap: 123968 (DRAM) + 1979487 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.41%, remaining 719220 bytes, free heap: 123968 (DRAM) + 1997799 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.47%, remaining 715124 bytes, free heap: 123968 (DRAM) + 1981167 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.52%, remaining 711028 bytes, free heap: 123968 (DRAM) + 1981167 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.58%, remaining 706932 bytes, free heap: 123968 (DRAM) + 1981167 (PSRAM) bytes
[23:53:06][D][nextion.upload.idf:104]: Uploaded 90.63%, remaining 702836 bytes, free heap: 123968 (DRAM) + 1997895 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.69%, remaining 698740 bytes, free heap: 123776 (DRAM) + 1982003 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.74%, remaining 694644 bytes, free heap: 123968 (DRAM) + 1982003 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.80%, remaining 690548 bytes, free heap: 123968 (DRAM) + 1982003 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.85%, remaining 686452 bytes, free heap: 123968 (DRAM) + 1998731 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.90%, remaining 682356 bytes, free heap: 123968 (DRAM) + 1983471 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 90.96%, remaining 678260 bytes, free heap: 123968 (DRAM) + 1983471 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 91.01%, remaining 674164 bytes, free heap: 123968 (DRAM) + 1983471 (PSRAM) bytes
[23:53:07][D][nextion.upload.idf:104]: Uploaded 91.07%, remaining 670068 bytes, free heap: 123968 (DRAM) + 1998635 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.12%, remaining 665972 bytes, free heap: 123844 (DRAM) + 1981395 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.18%, remaining 661876 bytes, free heap: 123968 (DRAM) + 1981395 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.23%, remaining 657780 bytes, free heap: 123968 (DRAM) + 1981395 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.29%, remaining 653684 bytes, free heap: 123968 (DRAM) + 1998123 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.34%, remaining 649588 bytes, free heap: 123776 (DRAM) + 1981215 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.40%, remaining 645492 bytes, free heap: 123968 (DRAM) + 1979647 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.45%, remaining 641396 bytes, free heap: 123620 (DRAM) + 1978083 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.51%, remaining 637300 bytes, free heap: 123968 (DRAM) + 1997943 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.56%, remaining 633204 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.61%, remaining 629108 bytes, free heap: 123968 (DRAM) + 1980699 (PSRAM) bytes
[23:53:08][D][nextion.upload.idf:104]: Uploaded 91.67%, remaining 625012 bytes, free heap: 123968 (DRAM) + 1979135 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 91.72%, remaining 620916 bytes, free heap: 123968 (DRAM) + 1998043 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 91.78%, remaining 616820 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 91.83%, remaining 612724 bytes, free heap: 123968 (DRAM) + 1982239 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 91.89%, remaining 608628 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 91.94%, remaining 604532 bytes, free heap: 123968 (DRAM) + 1997027 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 92.00%, remaining 600436 bytes, free heap: 123968 (DRAM) + 1981707 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 92.05%, remaining 596340 bytes, free heap: 123968 (DRAM) + 1981707 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 92.11%, remaining 592244 bytes, free heap: 123968 (DRAM) + 1980143 (PSRAM) bytes
[23:53:09][D][nextion.upload.idf:104]: Uploaded 92.16%, remaining 588148 bytes, free heap: 123968 (DRAM) + 1998435 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.21%, remaining 584052 bytes, free heap: 123968 (DRAM) + 1981539 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.27%, remaining 579956 bytes, free heap: 123968 (DRAM) + 1981539 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.32%, remaining 575860 bytes, free heap: 123968 (DRAM) + 1979975 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.38%, remaining 571764 bytes, free heap: 123968 (DRAM) + 1998267 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.43%, remaining 567668 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:10][D][nextion.upload.idf:104]: Uploaded 92.49%, remaining 563572 bytes, free heap: 123968 (DRAM) + 1982239 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.54%, remaining 559476 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.60%, remaining 555380 bytes, free heap: 123968 (DRAM) + 1998991 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.65%, remaining 551284 bytes, free heap: 123968 (DRAM) + 1982271 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.71%, remaining 547188 bytes, free heap: 123968 (DRAM) + 1980707 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.76%, remaining 543092 bytes, free heap: 123968 (DRAM) + 1982271 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.82%, remaining 538996 bytes, free heap: 123968 (DRAM) + 1997411 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.87%, remaining 534900 bytes, free heap: 123968 (DRAM) + 1981055 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.92%, remaining 530804 bytes, free heap: 123968 (DRAM) + 1981055 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 92.98%, remaining 526708 bytes, free heap: 123968 (DRAM) + 1979487 (PSRAM) bytes
[23:53:11][D][nextion.upload.idf:104]: Uploaded 93.03%, remaining 522612 bytes, free heap: 123968 (DRAM) + 1997783 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.09%, remaining 518516 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.14%, remaining 514420 bytes, free heap: 123968 (DRAM) + 1982239 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.20%, remaining 510324 bytes, free heap: 123968 (DRAM) + 1980695 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.25%, remaining 506228 bytes, free heap: 123968 (DRAM) + 1998991 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.31%, remaining 502132 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.36%, remaining 498036 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.42%, remaining 493940 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:12][D][nextion.upload.idf:104]: Uploaded 93.47%, remaining 489844 bytes, free heap: 123968 (DRAM) + 1998967 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.53%, remaining 485748 bytes, free heap: 123968 (DRAM) + 1981539 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.58%, remaining 481652 bytes, free heap: 123968 (DRAM) + 1979975 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.63%, remaining 477556 bytes, free heap: 123968 (DRAM) + 1981539 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.69%, remaining 473460 bytes, free heap: 123776 (DRAM) + 1998255 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.74%, remaining 469364 bytes, free heap: 123968 (DRAM) + 1981619 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.80%, remaining 465268 bytes, free heap: 123968 (DRAM) + 1981619 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.85%, remaining 461172 bytes, free heap: 123968 (DRAM) + 1981619 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.91%, remaining 457076 bytes, free heap: 123968 (DRAM) + 1998347 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 93.96%, remaining 452980 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 94.02%, remaining 448884 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:13][D][nextion.upload.idf:104]: Uploaded 94.07%, remaining 444788 bytes, free heap: 123968 (DRAM) + 1982259 (PSRAM) bytes
[23:53:14][D][nextion.upload.idf:104]: Uploaded 94.13%, remaining 440692 bytes, free heap: 123844 (DRAM) + 1997423 (PSRAM) bytes
[23:53:14][D][nextion.upload.idf:104]: Uploaded 94.18%, remaining 436596 bytes, free heap: 123968 (DRAM) + 1981287 (PSRAM) bytes
[23:53:14][D][nextion.upload.idf:104]: Uploaded 94.24%, remaining 432500 bytes, free heap: 123968 (DRAM) + 1979719 (PSRAM) bytes
[23:53:14][D][nextion.upload.idf:104]: Uploaded 94.29%, remaining 428404 bytes, free heap: 123968 (DRAM) + 1981287 (PSRAM) bytes
[23:53:14][D][nextion.upload.idf:104]: Uploaded 94.34%, remaining 424308 bytes, free heap: 123968 (DRAM) + 1998015 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.40%, remaining 420212 bytes, free heap: 123968 (DRAM) + 1981759 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.45%, remaining 416116 bytes, free heap: 123968 (DRAM) + 1981759 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.51%, remaining 412020 bytes, free heap: 123844 (DRAM) + 1981759 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.56%, remaining 407924 bytes, free heap: 123968 (DRAM) + 1996911 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.62%, remaining 403828 bytes, free heap: 123968 (DRAM) + 1981931 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.67%, remaining 399732 bytes, free heap: 123968 (DRAM) + 1980363 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.73%, remaining 395636 bytes, free heap: 123968 (DRAM) + 1981931 (PSRAM) bytes
[23:53:15][D][nextion.upload.idf:104]: Uploaded 94.78%, remaining 391540 bytes, free heap: 123968 (DRAM) + 1998659 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 94.84%, remaining 387444 bytes, free heap: 123968 (DRAM) + 1982251 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 94.89%, remaining 383348 bytes, free heap: 123968 (DRAM) + 1982251 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 94.94%, remaining 379252 bytes, free heap: 123968 (DRAM) + 1982251 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 95.00%, remaining 375156 bytes, free heap: 123968 (DRAM) + 1997411 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 95.05%, remaining 371060 bytes, free heap: 123968 (DRAM) + 1982019 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 95.11%, remaining 366964 bytes, free heap: 123968 (DRAM) + 1982019 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 95.16%, remaining 362868 bytes, free heap: 123968 (DRAM) + 1982019 (PSRAM) bytes
[23:53:16][D][nextion.upload.idf:104]: Uploaded 95.22%, remaining 358772 bytes, free heap: 123968 (DRAM) + 1997179 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.27%, remaining 354676 bytes, free heap: 123968 (DRAM) + 1981199 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.33%, remaining 350580 bytes, free heap: 123968 (DRAM) + 1979631 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.38%, remaining 346484 bytes, free heap: 123968 (DRAM) + 1981199 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.44%, remaining 342388 bytes, free heap: 123968 (DRAM) + 1997927 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.49%, remaining 338292 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.55%, remaining 334196 bytes, free heap: 123968 (DRAM) + 1980443 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.60%, remaining 330100 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:17][D][nextion.upload.idf:104]: Uploaded 95.65%, remaining 326004 bytes, free heap: 123968 (DRAM) + 1998735 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.71%, remaining 321908 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.76%, remaining 317812 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.82%, remaining 313716 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.87%, remaining 309620 bytes, free heap: 123968 (DRAM) + 1997163 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.93%, remaining 305524 bytes, free heap: 123968 (DRAM) + 1980311 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 95.98%, remaining 301428 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:18][D][nextion.upload.idf:104]: Uploaded 96.04%, remaining 297332 bytes, free heap: 123776 (DRAM) + 1982011 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.09%, remaining 293236 bytes, free heap: 123968 (DRAM) + 1998739 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.15%, remaining 289140 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.20%, remaining 285044 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.26%, remaining 280948 bytes, free heap: 123968 (DRAM) + 1981999 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.31%, remaining 276852 bytes, free heap: 123968 (DRAM) + 1998727 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.36%, remaining 272756 bytes, free heap: 123968 (DRAM) + 1983215 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.42%, remaining 268660 bytes, free heap: 123968 (DRAM) + 1981651 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.47%, remaining 264564 bytes, free heap: 123968 (DRAM) + 1980087 (PSRAM) bytes
[23:53:19][D][nextion.upload.idf:104]: Uploaded 96.53%, remaining 260468 bytes, free heap: 123968 (DRAM) + 1995247 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.58%, remaining 256372 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.64%, remaining 252276 bytes, free heap: 123968 (DRAM) + 1982011 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.69%, remaining 248180 bytes, free heap: 123620 (DRAM) + 1980447 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.75%, remaining 244084 bytes, free heap: 123968 (DRAM) + 1995611 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.80%, remaining 239988 bytes, free heap: 123968 (DRAM) + 1981991 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.86%, remaining 235892 bytes, free heap: 123968 (DRAM) + 1980427 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.91%, remaining 231796 bytes, free heap: 123968 (DRAM) + 1981991 (PSRAM) bytes
[23:53:20][D][nextion.upload.idf:104]: Uploaded 96.96%, remaining 227700 bytes, free heap: 123844 (DRAM) + 1997155 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.02%, remaining 223604 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.07%, remaining 219508 bytes, free heap: 123968 (DRAM) + 1982263 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.13%, remaining 215412 bytes, free heap: 123968 (DRAM) + 1981987 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.18%, remaining 211316 bytes, free heap: 123968 (DRAM) + 1998715 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.24%, remaining 207220 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.29%, remaining 203124 bytes, free heap: 123968 (DRAM) + 1980167 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.35%, remaining 199028 bytes, free heap: 123968 (DRAM) + 1978603 (PSRAM) bytes
[23:53:21][D][nextion.upload.idf:104]: Uploaded 97.40%, remaining 194932 bytes, free heap: 123968 (DRAM) + 1998459 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.46%, remaining 190836 bytes, free heap: 123968 (DRAM) + 1981995 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.51%, remaining 186740 bytes, free heap: 123968 (DRAM) + 1981995 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.57%, remaining 182644 bytes, free heap: 123968 (DRAM) + 1981995 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.62%, remaining 178548 bytes, free heap: 123968 (DRAM) + 1996923 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.67%, remaining 174452 bytes, free heap: 123968 (DRAM) + 1981059 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.73%, remaining 170356 bytes, free heap: 123844 (DRAM) + 1981059 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.78%, remaining 166260 bytes, free heap: 123968 (DRAM) + 1981059 (PSRAM) bytes
[23:53:22][D][nextion.upload.idf:104]: Uploaded 97.84%, remaining 162164 bytes, free heap: 123968 (DRAM) + 1997787 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 97.89%, remaining 158068 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 97.95%, remaining 153972 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.00%, remaining 149876 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.06%, remaining 145780 bytes, free heap: 123820 (DRAM) + 1996727 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.11%, remaining 141684 bytes, free heap: 123968 (DRAM) + 1981711 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.17%, remaining 137588 bytes, free heap: 123968 (DRAM) + 1981711 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.22%, remaining 133492 bytes, free heap: 123968 (DRAM) + 1980147 (PSRAM) bytes
[23:53:23][D][nextion.upload.idf:104]: Uploaded 98.28%, remaining 129396 bytes, free heap: 123968 (DRAM) + 1998439 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.33%, remaining 125300 bytes, free heap: 123968 (DRAM) + 1980555 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.38%, remaining 121204 bytes, free heap: 123968 (DRAM) + 1980555 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.44%, remaining 117108 bytes, free heap: 123968 (DRAM) + 1980555 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.49%, remaining 113012 bytes, free heap: 123968 (DRAM) + 1997283 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.55%, remaining 108916 bytes, free heap: 123968 (DRAM) + 1981715 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.60%, remaining 104820 bytes, free heap: 123968 (DRAM) + 1981715 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.66%, remaining 100724 bytes, free heap: 123968 (DRAM) + 1981715 (PSRAM) bytes
[23:53:24][D][nextion.upload.idf:104]: Uploaded 98.71%, remaining 96628 bytes, free heap: 123968 (DRAM) + 1998443 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 98.77%, remaining 92532 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 98.82%, remaining 88436 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 98.88%, remaining 84340 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 98.93%, remaining 80244 bytes, free heap: 123968 (DRAM) + 1997939 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 98.98%, remaining 76148 bytes, free heap: 123968 (DRAM) + 1981951 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 99.04%, remaining 72052 bytes, free heap: 123968 (DRAM) + 1980407 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 99.09%, remaining 67956 bytes, free heap: 123968 (DRAM) + 1981971 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 99.15%, remaining 63860 bytes, free heap: 123968 (DRAM) + 1998699 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 99.20%, remaining 59764 bytes, free heap: 123968 (DRAM) + 1981723 (PSRAM) bytes
[23:53:25][D][nextion.upload.idf:104]: Uploaded 99.26%, remaining 55668 bytes, free heap: 123968 (DRAM) + 1981723 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.31%, remaining 51572 bytes, free heap: 123968 (DRAM) + 1981723 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.37%, remaining 47476 bytes, free heap: 123968 (DRAM) + 1998447 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.42%, remaining 43380 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.48%, remaining 39284 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.53%, remaining 35188 bytes, free heap: 123968 (DRAM) + 1981731 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.59%, remaining 31092 bytes, free heap: 123968 (DRAM) + 1996891 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.64%, remaining 26996 bytes, free heap: 123968 (DRAM) + 1981987 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.69%, remaining 22900 bytes, free heap: 123968 (DRAM) + 1980419 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.75%, remaining 18804 bytes, free heap: 123968 (DRAM) + 1978855 (PSRAM) bytes
[23:53:26][D][nextion.upload.idf:104]: Uploaded 99.80%, remaining 14708 bytes, free heap: 123968 (DRAM) + 1994007 (PSRAM) bytes
[23:53:27][D][nextion.upload.idf:104]: Uploaded 99.86%, remaining 10612 bytes, free heap: 123968 (DRAM) + 1990911 (PSRAM) bytes
[23:53:27][D][nextion.upload.idf:104]: Uploaded 99.91%, remaining 6516 bytes, free heap: 123968 (DRAM) + 1989339 (PSRAM) bytes
[23:53:27][D][nextion.upload.idf:104]: Uploaded 99.97%, remaining 2420 bytes, free heap: 123968 (DRAM) + 1990911 (PSRAM) bytes
[23:53:27][D][nextion.upload.idf:104]: Uploaded 100.00%, remaining 0 bytes, free heap: 123968 (DRAM) + 2004391 (PSRAM) bytes
[23:53:27][D][nextion.upload.idf:323]: Successfully uploaded TFT to Nextion!
[23:53:27][D][nextion.upload.idf:325]: Close HTTP connection
[23:53:27][D][nextion.upload:104]: Nextion TFT upload finished: Upload successful
[23:53:27][D][nextion.upload:115]: Restarting ESPHome

Wow, even more (stable) heap memory with this version:
[23:52:54][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075572 bytes, free heap: 123844 (DRAM) + 1997027 (PSRAM) bytes
before (with my modifications):
[22:26:26][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075572 bytes, free heap: 75620 (DRAM) + 1983563 (PSRAM) bytes
comparing actual "main" version (memory drain, not stable:
[21:27:48][D][nextion.upload.idf:104]: Uploaded 85.66%, remaining 1075512 bytes, free heap: 53300 (DRAM) + 1993395 (PSRAM) bytes

Great! Thx for fixing that!

As I need BT for my temp sensors (I am not using the internal one, only as backup) I can now migrate all my nsplanels to your repository as soon as the new main version is out.

Seb

P.S.
home-assistant/core#110513 (sections for blueprints) is getting forward, too. Very nice!
... and I got you some ice scoops...

@edwardtfn
Copy link
Collaborator

The pre-build is updated now. 😉

@MichaelHeimann
Copy link
Contributor

The pre-build is updated now. 😉

Just tried it and WOW - very consistant free DRAM. No leaking at all:

[08:56:51][D][main:387]: Attempting to upload TFT
[08:56:51][D][addon_upload_tft.script.report_upload_progress:158]: Attempt #1 at 921600 bps
[08:56:52][D][addon_upload_tft.script.nextion_upload:118]: Waiting for empty UART and Nextion queues
[08:56:58][D][sensor:094]: 'ntc_source': Sending state 1.58633 V with 2 decimals of accuracy
[08:56:58][D][resistance:039]: 'resistance_sensor' - Resistance 10367.8Ω
[08:56:58][D][sensor:094]: 'resistance_sensor': Sending state 10367.78809 Ω with 1 decimals of accuracy
[08:56:58][D][ntc:026]: 'Temperature' - Temperature: 24.2°C
[08:56:58][D][sensor:094]: 'Temperature': Sending state 24.18937 °C with 1 decimals of accuracy
[08:56:58][D][climate:396]: 'Thermostat' - Sending state:
[08:56:58][D][climate:399]:   Mode: OFF
[08:56:58][D][climate:401]:   Action: OFF
[08:56:58][D][climate:419]:   Current Temperature: 24.19°C
[08:56:58][D][climate:425]:   Target Temperature: 18.00°C
[08:57:00][D][sensor:094]: 'RSSI': Sending state -70.00000 dBm with 0 decimals of accuracy
[08:57:04][D][addon_upload_tft.script.nextion_upload:126]: Starting TFT upload...
[08:57:04][D][nextion.upload.idf:148]: Nextion TFT upload requested
[08:57:04][D][nextion.upload.idf:149]: Exit reparse: NO
[08:57:04][D][nextion.upload.idf:150]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_eu.tft
[08:57:04][D][nextion.upload.idf:171]: Baud rate: 921600
[08:57:05][D][nextion.upload.idf:227]: TFT file size: 7497604 bytes
[08:57:05][D][nextion.upload.idf:240]: Uploading Nextion
[08:57:06][D][nextion.upload.idf:278]: Upgrade response is [05] - 1 byte(s)
[08:57:06][D][nextion.upload.idf:299]: Uploading TFT to Nextion:
[08:57:06][D][nextion.upload.idf:300]:   URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/hmi/nspanel_eu.tft
[08:57:06][D][nextion.upload.idf:301]:   File size: 7497604 bytes
[08:57:06][D][nextion.upload.idf:302]:   Free heap: 2047095
[08:57:06][D][nextion.upload.idf:026]: Range start: 0
[08:57:11][D][nextion.upload.idf:104]: Uploaded 0.05%, remaining 7493508 bytes, free heap: 79300 (DRAM) + 1996715 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:112]: recv_string [08.00.00.62.00 (5)]
[08:57:11][I][nextion.upload.idf:118]: Nextion reported new range 6422528
[08:57:11][D][nextion.upload.idf:026]: Range start: 6422528
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.72%, remaining 1070980 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.77%, remaining 1066884 bytes, free heap: 79088 (DRAM) + 1974911 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.82%, remaining 1062788 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.88%, remaining 1058692 bytes, free heap: 79280 (DRAM) + 1991639 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.93%, remaining 1054596 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:11][D][nextion.upload.idf:104]: Uploaded 85.99%, remaining 1050500 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.04%, remaining 1046404 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.10%, remaining 1042308 bytes, free heap: 79280 (DRAM) + 1989959 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.15%, remaining 1038212 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.21%, remaining 1034116 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.26%, remaining 1030020 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.32%, remaining 1025924 bytes, free heap: 79280 (DRAM) + 1991631 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.37%, remaining 1021828 bytes, free heap: 79280 (DRAM) + 1974879 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.43%, remaining 1017732 bytes, free heap: 78964 (DRAM) + 1974879 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.48%, remaining 1013636 bytes, free heap: 79280 (DRAM) + 1974879 (PSRAM) bytes
[08:57:12][D][nextion.upload.idf:104]: Uploaded 86.54%, remaining 1009540 bytes, free heap: 79280 (DRAM) + 1991595 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.59%, remaining 1005444 bytes, free heap: 79156 (DRAM) + 1974923 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.64%, remaining 1001348 bytes, free heap: 79280 (DRAM) + 1973359 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.70%, remaining 997252 bytes, free heap: 79088 (DRAM) + 1974923 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.75%, remaining 993156 bytes, free heap: 79280 (DRAM) + 1990087 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.81%, remaining 989060 bytes, free heap: 79280 (DRAM) + 1974815 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.86%, remaining 984964 bytes, free heap: 79280 (DRAM) + 1974815 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.92%, remaining 980868 bytes, free heap: 79088 (DRAM) + 1974815 (PSRAM) bytes
[08:57:13][D][nextion.upload.idf:104]: Uploaded 86.97%, remaining 976772 bytes, free heap: 79280 (DRAM) + 1991543 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.03%, remaining 972676 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.08%, remaining 968580 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.14%, remaining 964484 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.19%, remaining 960388 bytes, free heap: 79280 (DRAM) + 1991651 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.25%, remaining 956292 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.30%, remaining 952196 bytes, free heap: 79088 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.35%, remaining 948100 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.41%, remaining 944004 bytes, free heap: 79280 (DRAM) + 1991651 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.46%, remaining 939908 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:14][D][nextion.upload.idf:104]: Uploaded 87.52%, remaining 935812 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.57%, remaining 931716 bytes, free heap: 79088 (DRAM) + 1974923 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.63%, remaining 927620 bytes, free heap: 79280 (DRAM) + 1991651 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.68%, remaining 923524 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.74%, remaining 919428 bytes, free heap: 79280 (DRAM) + 1973223 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.79%, remaining 915332 bytes, free heap: 79280 (DRAM) + 1973359 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.85%, remaining 911236 bytes, free heap: 79280 (DRAM) + 1990087 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.90%, remaining 907140 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 87.96%, remaining 903044 bytes, free heap: 79280 (DRAM) + 1973223 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 88.01%, remaining 898948 bytes, free heap: 79280 (DRAM) + 1973359 (PSRAM) bytes
[08:57:15][D][nextion.upload.idf:104]: Uploaded 88.06%, remaining 894852 bytes, free heap: 79280 (DRAM) + 1990087 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.12%, remaining 890756 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.17%, remaining 886660 bytes, free heap: 79280 (DRAM) + 1973119 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.23%, remaining 882564 bytes, free heap: 79088 (DRAM) + 1973355 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.28%, remaining 878468 bytes, free heap: 79280 (DRAM) + 1990075 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.34%, remaining 874372 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.39%, remaining 870276 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.45%, remaining 866180 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:16][D][nextion.upload.idf:104]: Uploaded 88.50%, remaining 862084 bytes, free heap: 79156 (DRAM) + 1989999 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.56%, remaining 857988 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.61%, remaining 853892 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.67%, remaining 849796 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.72%, remaining 845700 bytes, free heap: 79156 (DRAM) + 1989955 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.78%, remaining 841604 bytes, free heap: 79280 (DRAM) + 1974927 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.83%, remaining 837508 bytes, free heap: 79088 (DRAM) + 1974927 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.88%, remaining 833412 bytes, free heap: 79280 (DRAM) + 1974927 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.94%, remaining 829316 bytes, free heap: 79280 (DRAM) + 1991655 (PSRAM) bytes
[08:57:17][D][nextion.upload.idf:104]: Uploaded 88.99%, remaining 825220 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.05%, remaining 821124 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.10%, remaining 817028 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.16%, remaining 812932 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.21%, remaining 808836 bytes, free heap: 79280 (DRAM) + 1974883 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.27%, remaining 804740 bytes, free heap: 79280 (DRAM) + 1974883 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.32%, remaining 800644 bytes, free heap: 79280 (DRAM) + 1974891 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.38%, remaining 796548 bytes, free heap: 79280 (DRAM) + 1991619 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.43%, remaining 792452 bytes, free heap: 79280 (DRAM) + 1974931 (PSRAM) bytes
[08:57:18][D][nextion.upload.idf:104]: Uploaded 89.49%, remaining 788356 bytes, free heap: 79280 (DRAM) + 1974931 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.54%, remaining 784260 bytes, free heap: 79280 (DRAM) + 1974931 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.59%, remaining 780164 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.65%, remaining 776068 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.70%, remaining 771972 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.76%, remaining 767876 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.81%, remaining 763780 bytes, free heap: 79280 (DRAM) + 1989939 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.87%, remaining 759684 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.92%, remaining 755588 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:19][D][nextion.upload.idf:104]: Uploaded 89.98%, remaining 751492 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.03%, remaining 747396 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.09%, remaining 743300 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.14%, remaining 739204 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.20%, remaining 735108 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.25%, remaining 731012 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.30%, remaining 726916 bytes, free heap: 79280 (DRAM) + 1973219 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.36%, remaining 722820 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.41%, remaining 718724 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:20][D][nextion.upload.idf:104]: Uploaded 90.47%, remaining 714628 bytes, free heap: 79280 (DRAM) + 1989947 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.52%, remaining 710532 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.58%, remaining 706436 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.63%, remaining 702340 bytes, free heap: 79088 (DRAM) + 1974919 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.69%, remaining 698244 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.74%, remaining 694148 bytes, free heap: 79280 (DRAM) + 1974811 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.80%, remaining 690052 bytes, free heap: 79280 (DRAM) + 1974811 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.85%, remaining 685956 bytes, free heap: 79156 (DRAM) + 1974807 (PSRAM) bytes
[08:57:21][D][nextion.upload.idf:104]: Uploaded 90.91%, remaining 681860 bytes, free heap: 79280 (DRAM) + 1989971 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 90.96%, remaining 677764 bytes, free heap: 79156 (DRAM) + 1974899 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.01%, remaining 673668 bytes, free heap: 79280 (DRAM) + 1974899 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.07%, remaining 669572 bytes, free heap: 79280 (DRAM) + 1974899 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.12%, remaining 665476 bytes, free heap: 79280 (DRAM) + 1991627 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.18%, remaining 661380 bytes, free heap: 79280 (DRAM) + 1974903 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.23%, remaining 657284 bytes, free heap: 79280 (DRAM) + 1974903 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.29%, remaining 653188 bytes, free heap: 79280 (DRAM) + 1974903 (PSRAM) bytes
[08:57:22][D][nextion.upload.idf:104]: Uploaded 91.34%, remaining 649092 bytes, free heap: 79280 (DRAM) + 1991631 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.40%, remaining 644996 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.45%, remaining 640900 bytes, free heap: 79280 (DRAM) + 1974903 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.51%, remaining 636804 bytes, free heap: 79280 (DRAM) + 1974903 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.56%, remaining 632708 bytes, free heap: 79280 (DRAM) + 1991631 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.62%, remaining 628612 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.67%, remaining 624516 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.73%, remaining 620420 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:23][D][nextion.upload.idf:104]: Uploaded 91.78%, remaining 616324 bytes, free heap: 79280 (DRAM) + 1991643 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 91.83%, remaining 612228 bytes, free heap: 79280 (DRAM) + 1974907 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 91.89%, remaining 608132 bytes, free heap: 79280 (DRAM) + 1973215 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 91.94%, remaining 604036 bytes, free heap: 79280 (DRAM) + 1974911 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 92.00%, remaining 599940 bytes, free heap: 79280 (DRAM) + 1991631 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 92.05%, remaining 595844 bytes, free heap: 79280 (DRAM) + 1974795 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 92.11%, remaining 591748 bytes, free heap: 79088 (DRAM) + 1974803 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 92.16%, remaining 587652 bytes, free heap: 79280 (DRAM) + 1974775 (PSRAM) bytes
[08:57:24][D][nextion.upload.idf:104]: Uploaded 92.22%, remaining 583556 bytes, free heap: 79280 (DRAM) + 1991531 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.27%, remaining 579460 bytes, free heap: 79280 (DRAM) + 1973167 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.33%, remaining 575364 bytes, free heap: 79280 (DRAM) + 1973167 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.38%, remaining 571268 bytes, free heap: 79280 (DRAM) + 1973167 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.44%, remaining 567172 bytes, free heap: 79280 (DRAM) + 1987375 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.49%, remaining 563076 bytes, free heap: 79280 (DRAM) + 1974795 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.54%, remaining 558980 bytes, free heap: 79280 (DRAM) + 1974795 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.60%, remaining 554884 bytes, free heap: 79280 (DRAM) + 1974779 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.65%, remaining 550788 bytes, free heap: 79280 (DRAM) + 1991523 (PSRAM) bytes
[08:57:25][D][nextion.upload.idf:104]: Uploaded 92.71%, remaining 546692 bytes, free heap: 79280 (DRAM) + 1973131 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 92.76%, remaining 542596 bytes, free heap: 79280 (DRAM) + 1974831 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 92.82%, remaining 538500 bytes, free heap: 79280 (DRAM) + 1974831 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 92.87%, remaining 534404 bytes, free heap: 79280 (DRAM) + 1989859 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 92.93%, remaining 530308 bytes, free heap: 79280 (DRAM) + 1974867 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 92.98%, remaining 526212 bytes, free heap: 79156 (DRAM) + 1974851 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 93.04%, remaining 522116 bytes, free heap: 79280 (DRAM) + 1974867 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 93.09%, remaining 518020 bytes, free heap: 79280 (DRAM) + 1991595 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 93.15%, remaining 513924 bytes, free heap: 79280 (DRAM) + 1973219 (PSRAM) bytes
[08:57:26][D][nextion.upload.idf:104]: Uploaded 93.20%, remaining 509828 bytes, free heap: 79280 (DRAM) + 1973219 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.25%, remaining 505732 bytes, free heap: 79280 (DRAM) + 1973219 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.31%, remaining 501636 bytes, free heap: 79280 (DRAM) + 1986575 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.36%, remaining 497540 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.42%, remaining 493444 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.47%, remaining 489348 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.53%, remaining 485252 bytes, free heap: 79280 (DRAM) + 1991639 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.58%, remaining 481156 bytes, free heap: 79280 (DRAM) + 1974795 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.64%, remaining 477060 bytes, free heap: 79088 (DRAM) + 1974795 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.69%, remaining 472964 bytes, free heap: 79280 (DRAM) + 1974795 (PSRAM) bytes
[08:57:27][D][nextion.upload.idf:104]: Uploaded 93.75%, remaining 468868 bytes, free heap: 79280 (DRAM) + 1991523 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 93.80%, remaining 464772 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 93.86%, remaining 460676 bytes, free heap: 79088 (DRAM) + 1973355 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 93.91%, remaining 456580 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 93.96%, remaining 452484 bytes, free heap: 79180 (DRAM) + 1988355 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 94.02%, remaining 448388 bytes, free heap: 79280 (DRAM) + 1974931 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 94.07%, remaining 444292 bytes, free heap: 79088 (DRAM) + 1974931 (PSRAM) bytes
[08:57:28][D][nextion.upload.idf:104]: Uploaded 94.13%, remaining 440196 bytes, free heap: 79280 (DRAM) + 1974931 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.18%, remaining 436100 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.24%, remaining 432004 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.29%, remaining 427908 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.35%, remaining 423812 bytes, free heap: 79280 (DRAM) + 1973227 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.40%, remaining 419716 bytes, free heap: 79280 (DRAM) + 1989955 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.46%, remaining 415620 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.51%, remaining 411524 bytes, free heap: 79156 (DRAM) + 1974919 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.57%, remaining 407428 bytes, free heap: 79280 (DRAM) + 1974919 (PSRAM) bytes
[08:57:29][D][nextion.upload.idf:104]: Uploaded 94.62%, remaining 403332 bytes, free heap: 79280 (DRAM) + 1991647 (PSRAM) bytes
[08:57:30][D][nextion.upload.idf:104]: Uploaded 94.68%, remaining 399236 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:30][D][nextion.upload.idf:104]: Uploaded 94.73%, remaining 395140 bytes, free heap: 79280 (DRAM) + 1973359 (PSRAM) bytes
[08:57:30][D][nextion.upload.idf:104]: Uploaded 94.78%, remaining 391044 bytes, free heap: 79156 (DRAM) + 1974923 (PSRAM) bytes
[08:57:30][D][nextion.upload.idf:104]: Uploaded 94.84%, remaining 386948 bytes, free heap: 79280 (DRAM) + 1990083 (PSRAM) bytes
[08:57:30][D][nextion.upload.idf:104]: Uploaded 94.89%, remaining 382852 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 94.95%, remaining 378756 bytes, free heap: 79280 (DRAM) + 1973367 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.00%, remaining 374660 bytes, free heap: 79280 (DRAM) + 1974923 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.06%, remaining 370564 bytes, free heap: 79280 (DRAM) + 1990067 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.11%, remaining 366468 bytes, free heap: 79280 (DRAM) + 1973223 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.17%, remaining 362372 bytes, free heap: 79280 (DRAM) + 1971659 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.22%, remaining 358276 bytes, free heap: 79280 (DRAM) + 1973223 (PSRAM) bytes
[08:57:31][D][nextion.upload.idf:104]: Uploaded 95.28%, remaining 354180 bytes, free heap: 79280 (DRAM) + 1989951 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.33%, remaining 350084 bytes, free heap: 79280 (DRAM) + 1974915 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.39%, remaining 345988 bytes, free heap: 79088 (DRAM) + 1974915 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.44%, remaining 341892 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.49%, remaining 337796 bytes, free heap: 79280 (DRAM) + 1991367 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.55%, remaining 333700 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.60%, remaining 329604 bytes, free heap: 79088 (DRAM) + 1974639 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.66%, remaining 325508 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.71%, remaining 321412 bytes, free heap: 79280 (DRAM) + 1991367 (PSRAM) bytes
[08:57:32][D][nextion.upload.idf:104]: Uploaded 95.77%, remaining 317316 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 95.82%, remaining 313220 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 95.88%, remaining 309124 bytes, free heap: 79280 (DRAM) + 1974647 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 95.93%, remaining 305028 bytes, free heap: 79280 (DRAM) + 1991375 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 95.99%, remaining 300932 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 96.04%, remaining 296836 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 96.10%, remaining 292740 bytes, free heap: 79156 (DRAM) + 1974619 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 96.15%, remaining 288644 bytes, free heap: 79280 (DRAM) + 1991375 (PSRAM) bytes
[08:57:33][D][nextion.upload.idf:104]: Uploaded 96.20%, remaining 284548 bytes, free heap: 79280 (DRAM) + 1974619 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.26%, remaining 280452 bytes, free heap: 79280 (DRAM) + 1973075 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.31%, remaining 276356 bytes, free heap: 79280 (DRAM) + 1974647 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.37%, remaining 272260 bytes, free heap: 79280 (DRAM) + 1991375 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.42%, remaining 268164 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.48%, remaining 264068 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.53%, remaining 259972 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.59%, remaining 255876 bytes, free heap: 79280 (DRAM) + 1989819 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.64%, remaining 251780 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:34][D][nextion.upload.idf:104]: Uploaded 96.70%, remaining 247684 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 96.75%, remaining 243588 bytes, free heap: 79280 (DRAM) + 1974655 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 96.81%, remaining 239492 bytes, free heap: 79280 (DRAM) + 1989819 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 96.86%, remaining 235396 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 96.92%, remaining 231300 bytes, free heap: 79280 (DRAM) + 1974619 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 96.97%, remaining 227204 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 97.02%, remaining 223108 bytes, free heap: 79280 (DRAM) + 1991367 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 97.08%, remaining 219012 bytes, free heap: 79280 (DRAM) + 1972947 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 97.13%, remaining 214916 bytes, free heap: 79280 (DRAM) + 1972947 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 97.19%, remaining 210820 bytes, free heap: 79280 (DRAM) + 1972927 (PSRAM) bytes
[08:57:35][D][nextion.upload.idf:104]: Uploaded 97.24%, remaining 206724 bytes, free heap: 79280 (DRAM) + 1989683 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.30%, remaining 202628 bytes, free heap: 79280 (DRAM) + 1972947 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.35%, remaining 198532 bytes, free heap: 79280 (DRAM) + 1972947 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.41%, remaining 194436 bytes, free heap: 79280 (DRAM) + 1972947 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.46%, remaining 190340 bytes, free heap: 79280 (DRAM) + 1989675 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.52%, remaining 186244 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.57%, remaining 182148 bytes, free heap: 79280 (DRAM) + 1974639 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.63%, remaining 178052 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:36][D][nextion.upload.idf:104]: Uploaded 97.68%, remaining 173956 bytes, free heap: 79280 (DRAM) + 1987819 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 97.73%, remaining 169860 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 97.79%, remaining 165764 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 97.84%, remaining 161668 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 97.90%, remaining 157572 bytes, free heap: 79280 (DRAM) + 1991083 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 97.95%, remaining 153476 bytes, free heap: 79116 (DRAM) + 1972627 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 98.01%, remaining 149380 bytes, free heap: 79280 (DRAM) + 1972791 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 98.06%, remaining 145284 bytes, free heap: 79280 (DRAM) + 1972787 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 98.12%, remaining 141188 bytes, free heap: 79280 (DRAM) + 1991083 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 98.17%, remaining 137092 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:37][D][nextion.upload.idf:104]: Uploaded 98.23%, remaining 132996 bytes, free heap: 79280 (DRAM) + 1972791 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.28%, remaining 128900 bytes, free heap: 79280 (DRAM) + 1972791 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.34%, remaining 124804 bytes, free heap: 78952 (DRAM) + 1987947 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.39%, remaining 120708 bytes, free heap: 79280 (DRAM) + 1974351 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.44%, remaining 116612 bytes, free heap: 79280 (DRAM) + 1972787 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.50%, remaining 112516 bytes, free heap: 79280 (DRAM) + 1972783 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.55%, remaining 108420 bytes, free heap: 78952 (DRAM) + 1989511 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.61%, remaining 104324 bytes, free heap: 79280 (DRAM) + 1974247 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.66%, remaining 100228 bytes, free heap: 79280 (DRAM) + 1972683 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.72%, remaining 96132 bytes, free heap: 79280 (DRAM) + 1972683 (PSRAM) bytes
[08:57:38][D][nextion.upload.idf:104]: Uploaded 98.77%, remaining 92036 bytes, free heap: 79088 (DRAM) + 1990967 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 98.83%, remaining 87940 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 98.88%, remaining 83844 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 98.94%, remaining 79748 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 98.99%, remaining 75652 bytes, free heap: 79280 (DRAM) + 1989519 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 99.05%, remaining 71556 bytes, free heap: 79280 (DRAM) + 1972519 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 99.10%, remaining 67460 bytes, free heap: 79280 (DRAM) + 1972435 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 99.15%, remaining 63364 bytes, free heap: 79280 (DRAM) + 1972519 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 99.21%, remaining 59268 bytes, free heap: 79280 (DRAM) + 1989227 (PSRAM) bytes
[08:57:39][D][nextion.upload.idf:104]: Uploaded 99.26%, remaining 55172 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.32%, remaining 51076 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.37%, remaining 46980 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.43%, remaining 42884 bytes, free heap: 78636 (DRAM) + 1989503 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.48%, remaining 38788 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.54%, remaining 34692 bytes, free heap: 79280 (DRAM) + 1972791 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.59%, remaining 30596 bytes, free heap: 79280 (DRAM) + 1974355 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.65%, remaining 26500 bytes, free heap: 79280 (DRAM) + 1989519 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.70%, remaining 22404 bytes, free heap: 79280 (DRAM) + 1974247 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.76%, remaining 18308 bytes, free heap: 79088 (DRAM) + 1974247 (PSRAM) bytes
[08:57:40][D][nextion.upload.idf:104]: Uploaded 99.81%, remaining 14212 bytes, free heap: 79280 (DRAM) + 1974247 (PSRAM) bytes
[08:57:41][D][nextion.upload.idf:104]: Uploaded 99.87%, remaining 10116 bytes, free heap: 79280 (DRAM) + 1990975 (PSRAM) bytes
[08:57:41][D][nextion.upload.idf:104]: Uploaded 99.92%, remaining 6020 bytes, free heap: 79280 (DRAM) + 1985707 (PSRAM) bytes
[08:57:41][D][nextion.upload.idf:104]: Uploaded 99.97%, remaining 1924 bytes, free heap: 79156 (DRAM) + 1985691 (PSRAM) bytes
[08:57:41][D][nextion.upload.idf:104]: Uploaded 100.00%, remaining 0 bytes, free heap: 78956 (DRAM) + 1994603 (PSRAM) bytes
[08:57:41][D][nextion.upload.idf:323]: Successfully uploaded TFT to Nextion!
[08:57:41][D][nextion.upload.idf:325]: Close HTTP connection
[08:57:41][D][nextion.upload:104]: Nextion TFT upload finished: Upload successful
[08:57:41][D][nextion.upload:115]: Restarting ESPHome

@edwardtfn
Copy link
Collaborator

I'm thinking about having a bluetooth_proxy add-on as part of this project, so we make sure no one use different ID when setting those components.

edwardtfn added a commit that referenced this issue Apr 18, 2024
@Bascht74
Copy link
Author

Bascht74 commented Apr 18, 2024

I'm thinking about having a bluetooth_proxy add-on as part of this project, so we make sure no one use different ID when setting those components.

I tried it.

It works fine, but I do need the ble_tracker only, not the bluetooth_proxy.

The proxy features are taking a log more flash memory:

now (with add-on)

RAM:   [=         ]  10.2% (used 33572 bytes from 327680 bytes)
Flash: [==========]  95.2% (used 1746401 bytes from 1835008 bytes)
before (BLE-Tracker only):
RAM:   [=         ]  10.2% (used 33564 bytes from 327680 bytes)
Flash: [========= ]  93.7% (used 1718773 bytes from 1835008 bytes)

Could you make two add-on's as in the actuals docs right now?

  • One for the ble_proxy (the one that is existing)
  • and one more for the ble_tracker (without the proxy parts in the config)...

One more question: How could I use some parameters for the ble_tracker:

  scan_parameters:
    window: 60ms --> a lot of people use 60ms or 80ms instead of the default 30ms, because there is less of a risk of missing data from the BLE devices 
    active: false --> if it is set to true, it will activly force devices to send their data, shortening the battery life.

It would be good if a user can set these two...
(e.g. substitution? I tried !extend but it didn't work that way)

@edwardtfn
Copy link
Collaborator

I tried !extend but it didn't work that way)

That should work.
Could you please share the yaml used? Just this part... I will play around.

By the way, I can have another add-on, but you shoukd be able to either use as you are using before (without using the add-on, just adding the BLE tracker with the right id or you can use the new add-on and remove the BLE proxy with something like this:

bluetooth_proxy: !remove

@Bascht74
Copy link
Author

esp32_ble_tracker:
  id: !extend ble_tracker
  scan_parameters:
    window: 60ms
    active: false

# Core and optional configurations
packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: dev
    files:
      - nspanel_esphome.yaml
      - esphome/nspanel_esphome_addon_climate_heat.yaml
      - esphome/nspanel_esphome_addon_bluetooth_proxy.yaml
    refresh: 300s
########

I get:
image

@edwardtfn
Copy link
Collaborator

I will play with this and come back here

@edwardtfn
Copy link
Collaborator

I tried without the extend and it worked fine:

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
[18:27:18][C][esp32_ble_tracker:645]: BLE Tracker:
[18:27:18][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[18:27:18][C][esp32_ble_tracker:647]:   Scan Interval: 1100.0 ms
[18:27:18][C][esp32_ble_tracker:648]:   Scan Window: 1100.0 ms
[18:27:18][C][esp32_ble_tracker:649]:   Scan Type: ACTIVE
[18:27:18][C][esp32_ble_tracker:650]:   Continuous Scanning: True

@edwardtfn
Copy link
Collaborator

esp32_ble_tracker:
  scan_parameters:
    window: 60ms
    active: false
[18:31:18][C][esp32_ble_tracker:645]: BLE Tracker:
[18:31:18][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[18:31:18][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[18:31:18][C][esp32_ble_tracker:648]:   Scan Window: 60.0 ms
[18:31:18][C][esp32_ble_tracker:649]:   Scan Type: PASSIVE
[18:31:18][C][esp32_ble_tracker:650]:   Continuous Scanning: True

@edwardtfn
Copy link
Collaborator

And this is with the defaults:

[18:40:01][C][esp32_ble_tracker:645]: BLE Tracker:
[18:40:01][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[18:40:01][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[18:40:01][C][esp32_ble_tracker:648]:   Scan Window: 30.0 ms
[18:40:01][C][esp32_ble_tracker:649]:   Scan Type: ACTIVE
[18:40:01][C][esp32_ble_tracker:650]:   Continuous Scanning: True

edwardtfn added a commit that referenced this issue Apr 22, 2024
@edwardtfn
Copy link
Collaborator

And this is a pull request that could fire the whole project in an new area:
home-assistant/frontend#19946
home-assistant/core#110513

That is being released this week. I've already implemented the section on our blueprint. 😉

@Bascht74
Copy link
Author

Bascht74 commented Jun 3, 2024

Great! I saw it.
Really cool that you implemented it

@edwardtfn
Copy link
Collaborator

It's in dev, ready to release when HA releases, however I may wait until next Monday as I will be off from Thursday and don't wanna have to fix critical things during this time. 😉

@darth-hp
Copy link

Many month have passed. What is the status now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For suggestions that add new features or improve existing functionalities.
Projects
None yet
Development

No branches or pull requests

6 participants