Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.43k stars 259 forks source link

Can not flash TFT (followed troubleshooting) #1697

Closed Menethoran closed 8 months ago

Menethoran commented 9 months ago

TFT Version

unknown

ESPHome Version

2023.12.0

Blueprint Version

not there yet

Panel Model

NSPanel EU Model

What is the bug?

Programmed with ESPHomne, but can not, through any method, flash the TFT. I AM coming from Tasmota, but can not flash the nspanel_blank.tft

Steps to Reproduce

Programmed with ESPHomne, but can not, through any method, flash the TFT. I AM coming from Tasmota, but can not flash the nspanel_blank.tft

Your panel's YAML

substitutions:
  # Settings - Editable values
  device_name: "esphome-web-0dab7c" 
  wifi_ssid: IoT
  wifi_password: SUPERSECRETSECRET
  nextion_update_url: "http://10.2.78.2:8123/local/nspanel_blank.tft"  # Optional for `esp-idf` framework
  # Add-on configuration (if needed)
  # heater_relay: "1"  # Possible values: "1" or "2"

# Customization area
##### My customization - Start #####
##### My customization - End #####

# Core and optional configurations
packages:
  remote_package:
    url: http://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Core package
      # Optional advanced and add-on configurations
      # - advanced/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
api:
  encryption:
    key: "y5II5eWYSUPERDUPERSECRETdgCcT4="
esp32:
  framework:
    type: esp-idf

ESPHome logs

INFO ESPHome 2023.12.8
INFO Reading configuration /config/esphome-web-0dab7c.yaml...
INFO Updating http://github.com/Blackymas/NSPanel_HA_Blueprint@main
INFO Updating https://github.com/esphome/esphome.git@pull/6051/head
INFO Detected timezone 'Etc/UTC'
INFO Starting log output from 10.2.77.70 using esphome API
INFO Successfully connected to esphome-web-0dab7c @ 10.2.77.70 in 0.073s
INFO Successful handshake with esphome-web-0dab7c @ 10.2.77.70 in 0.190s
[13:17:07][I][app:102]: ESPHome version 2023.12.8 compiled on Jan 20 2024, 00:53:49
[13:17:07][C][wifi:573]: WiFi:
[13:17:07][C][wifi:405]:   Local MAC: 24:D7:EB:0D:AB:7C
[13:17:07][C][wifi:410]:   SSID: 'IoT'[redacted]
[13:17:07][C][wifi:411]:   IP Address: 10.2.77.70
[13:17:07][C][wifi:413]:   BSSID: 60:22:32:1C:BD:E6[redacted]
[13:17:07][C][wifi:414]:   Hostname: 'esphome-web-0dab7c'
[13:17:07][C][wifi:416]:   Signal strength: -59 dB ▂▄▆█
[13:17:07][C][wifi:420]:   Channel: 11
[13:17:07][C][wifi:421]:   Subnet: 255.255.252.0
[13:17:07][C][wifi:422]:   Gateway: 10.2.77.1
[13:17:07][C][wifi:423]:   DNS1: 10.2.77.1
[13:17:07][C][wifi:424]:   DNS2: 0.0.0.0
[13:17:07][C][logger:439]: Logger:
[13:17:07][C][logger:440]:   Level: DEBUG
[13:17:07][C][logger:441]:   Log Baud Rate: 0
[13:17:07][C][logger:443]:   Hardware UART: UART0
[13:17:07][C][uart.arduino_esp32:137]: UART Bus 0:
[13:17:07][C][uart.arduino_esp32:138]:   TX Pin: GPIO16
[13:17:07][C][uart.arduino_esp32:139]:   RX Pin: GPIO17
[13:17:07][C][uart.arduino_esp32:141]:   RX Buffer Size: 256
[13:17:07][C][uart.arduino_esp32:143]:   Baud Rate: 115200 baud
[13:17:07][C][uart.arduino_esp32:144]:   Data Bits: 8
[13:17:07][C][uart.arduino_esp32:145]:   Parity: NONE
[13:17:07][C][uart.arduino_esp32:146]:   Stop bits: 1
[13:17:07][C][ledc.output:164]: LEDC Output:
[13:17:07][C][ledc.output:165]:   Pin GPIO21
[13:17:07][C][ledc.output:166]:   LEDC Channel: 0
[13:17:07][C][ledc.output:167]:   PWM Frequency: 1000.0 Hz
[13:17:07][C][ledc.output:168]:   Bit depth: 16
[13:17:08][C][template.binary_sensor:028]: Template Binary Sensor 'esphome-web-0dab7c Nextion display'
[13:17:08][C][template.binary_sensor:028]:   Device Class: 'connectivity'
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Display Brightness'
[13:17:08][C][template.number:050]:   Unit of Measurement: '%'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Display Brightness Dimdown'
[13:17:08][C][template.number:050]:   Unit of Measurement: '%'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Display Brightness Sleep'
[13:17:08][C][template.number:050]:   Unit of Measurement: '%'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Temperature Correction'
[13:17:08][C][template.number:050]:   Unit of Measurement: '°C'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Timeout Page'
[13:17:08][C][template.number:050]:   Icon: 'mdi:timer'
[13:17:08][C][template.number:050]:   Unit of Measurement: 's'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Timeout Dimming'
[13:17:08][C][template.number:050]:   Icon: 'mdi:timer'
[13:17:08][C][template.number:050]:   Unit of Measurement: 's'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.number:050]: Template Number 'esphome-web-0dab7c Timeout Sleep'
[13:17:08][C][template.number:050]:   Icon: 'mdi:timer'
[13:17:08][C][template.number:050]:   Unit of Measurement: 's'
[13:17:08][C][template.number:051]:   Optimistic: YES
[13:17:08][C][template.number:052]:   Update Interval: 60.0s
[13:17:08][C][template.select:065]: Template Select 'esphome-web-0dab7c Baud rate'
[13:17:08][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[13:17:08][C][template.select:066]:   Update Interval: 60.0s
[13:17:08][C][template.select:069]:   Optimistic: YES
[13:17:08][C][template.select:070]:   Initial Option: 115200
[13:17:08][C][template.select:071]:   Restore Value: YES
[13:17:08][C][template.select:065]: Template Select 'esphome-web-0dab7c Wake-up page'
[13:17:08][C][template.select:065]:   Icon: 'mdi:page-next-outline'
[13:17:08][C][template.select:066]:   Update Interval: 60.0s
[13:17:08][C][template.select:069]:   Optimistic: YES
[13:17:08][C][template.select:070]:   Initial Option: home
[13:17:08][C][template.select:071]:   Restore Value: YES
[13:17:08][C][template.select:065]: Template Select 'esphome-web-0dab7c Update TFT display - Branch'
[13:17:08][C][template.select:065]:   Icon: 'mdi:file-sync'
[13:17:08][C][template.select:066]:   Update Interval: 60.0s
[13:17:08][C][template.select:069]:   Optimistic: YES
[13:17:08][C][template.select:070]:   Initial Option: main
[13:17:08][C][template.select:071]:   Restore Value: YES
[13:17:08][C][template.select:065]: Template Select 'esphome-web-0dab7c Update TFT display - Model'
[13:17:08][C][template.select:065]:   Icon: 'mdi:file-sync'
[13:17:08][C][template.select:066]:   Update Interval: 60.0s
[13:17:08][C][template.select:069]:   Optimistic: YES
[13:17:08][C][template.select:070]:   Initial Option: Use nextion_update_url
[13:17:08][C][template.select:071]:   Restore Value: YES
[13:17:08][C][template.text_sensor:020]: Template Sensor 'esphome-web-0dab7c Detailed Entity'
[13:17:08][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[13:17:08][C][template.text_sensor:020]: Template Sensor 'esphome-web-0dab7c Current page'
[13:17:08][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[13:17:08][C][template.text_sensor:020]: Template Sensor 'esphome-web-0dab7c Notification Label'
[13:17:08][C][template.text_sensor:020]: Template Sensor 'esphome-web-0dab7c Notification Text'
[13:17:08][C][switch.gpio:068]: GPIO Switch 'esphome-web-0dab7c Relay 1'
[13:17:08][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[13:17:08][C][switch.gpio:031]:   Pin: GPIO22
[13:17:08][C][switch.gpio:068]: GPIO Switch 'esphome-web-0dab7c Relay 2'
[13:17:08][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[13:17:08][C][switch.gpio:031]:   Pin: GPIO19
[13:17:09][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'esphome-web-0dab7c Left Button'
[13:17:09][C][gpio.binary_sensor:016]:   Pin: GPIO14
[13:17:09][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'esphome-web-0dab7c Right Button'
[13:17:09][C][gpio.binary_sensor:016]:   Pin: GPIO27
[13:17:09][C][switch.gpio:068]: GPIO Switch 'esphome-web-0dab7c Nextion display - Power'
[13:17:09][C][switch.gpio:091]:   Restore Mode: always ON
[13:17:09][C][switch.gpio:031]:   Pin: GPIO4
[13:17:09][C][template.switch:068]: Template Switch 'esphome-web-0dab7c Notification sound'
[13:17:09][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[13:17:09][C][template.switch:057]:   Optimistic: YES
[13:17:09][C][template.switch:068]: Template Switch 'esphome-web-0dab7c Relay 1 Local'
[13:17:09][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[13:17:09][C][template.switch:057]:   Optimistic: YES
[13:17:09][C][template.switch:068]: Template Switch 'esphome-web-0dab7c Relay 2 Local'
[13:17:09][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[13:17:09][C][template.switch:057]:   Optimistic: YES
[13:17:09][C][template.switch:068]: Template Switch 'esphome-web-0dab7c Notification unread'
[13:17:09][C][template.switch:091]:   Restore Mode: always OFF
[13:17:09][C][template.switch:057]:   Optimistic: YES
[13:17:09][C][rtttl:029]: Rtttl
[13:17:09][C][nextion:128]: Nextion:
[13:17:09][C][nextion:129]:   Device Model:     NX4832F035_011C
[13:17:09][C][nextion:130]:   Firmware Version: 72
[13:17:09][C][nextion:131]:   Serial Number:    388934017F5ED754
[13:17:09][C][nextion:132]:   Flash Size:       16777216
[13:17:09][C][nextion:133]:   Wake On Touch:    YES
[13:17:09][C][nextion:134]:   Exit reparse:     YES
[13:17:09][C][restart.button:017]: Restart Button 'esphome-web-0dab7c Restart'
[13:17:09][C][adc:097]: ADC Sensor 'ntc_source'
[13:17:09][C][adc:097]:   Device Class: 'voltage'
[13:17:10][C][adc:097]:   State Class: 'measurement'
[13:17:10][C][adc:097]:   Unit of Measurement: 'V'
[13:17:10][C][adc:097]:   Accuracy Decimals: 2
[13:17:10][C][adc:107]:   Pin: GPIO38
[13:17:10][C][adc:122]:  Attenuation: 11db
[13:17:10][C][adc:142]:   Update Interval: 60.0s
[13:17:10][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[13:17:10][C][resistance:010]:   State Class: 'measurement'
[13:17:10][C][resistance:010]:   Unit of Measurement: 'Ω'
[13:17:10][C][resistance:010]:   Accuracy Decimals: 1
[13:17:10][C][resistance:010]:   Icon: 'mdi:flash'
[13:17:10][C][resistance:011]:   Configuration: DOWNSTREAM
[13:17:10][C][resistance:012]:   Resistor: 11200.00Ω
[13:17:10][C][resistance:013]:   Reference Voltage: 3.3V
[13:17:10][C][ntc:014]: NTC Sensor 'esphome-web-0dab7c Temperature'
[13:17:10][C][ntc:014]:   Device Class: 'temperature'
[13:17:10][C][ntc:014]:   State Class: 'measurement'
[13:17:10][C][ntc:014]:   Unit of Measurement: '°C'
[13:17:10][C][ntc:014]:   Accuracy Decimals: 1
[13:17:10][C][homeassistant.time:010]: Home Assistant Time:
[13:17:10][C][homeassistant.time:011]:   Timezone: 'UTC0'
[13:17:10][D][sensor:094]: 'esphome-web-0dab7c RSSI': Sending state -60.00000 dBm with 0 decimals of accuracy
[13:17:10][C][status:034]: Status Binary Sensor 'esphome-web-0dab7c Status'
[13:17:10][C][status:034]:   Device Class: 'connectivity'
[13:17:11][C][mdns:115]: mDNS:
[13:17:11][C][mdns:116]:   Hostname: esphome-web-0dab7c
[13:17:11][C][ota:097]: Over-The-Air Updates:
[13:17:11][C][ota:098]:   Address: esphome-web-0dab7c.local:3232
[13:17:11][C][ota:101]:   Using Password.
[13:17:11][C][api:139]: API Server:
[13:17:11][C][api:140]:   Address: esphome-web-0dab7c.local:6053
[13:17:11][C][api:142]:   Using noise encryption: YES
[13:17:11][C][wifi_signal.sensor:009]: WiFi Signal 'esphome-web-0dab7c RSSI'
[13:17:11][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[13:17:11][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[13:17:11][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[13:17:11][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[13:17:13][D][button:010]: 'esphome-web-0dab7c Update TFT display' Pressed.
[13:17:13][D][addon_upload_tft.button.tft_update.on_press:060]: Update TFT display button pressed
[13:17:13][D][addon_upload_tft.script.upload_tft:299]: Starting...
[13:17:13][D][script.nextion_status:1970]: Nextion status:
[13:17:13][D][script.nextion_status:1971]:   Is detected: True
[13:17:13][D][script.nextion_status:1972]:   Is setup:    False
[13:17:13][D][script.nextion_status:1973]:   Queue size:  0
[13:17:13][D][addon_upload_tft.script.upload_tft:318]: Starting the upload script
[13:17:13][D][addon_upload_tft.script.upload_tft:328]:   Target upload baud rate: 921600 bps
[13:17:13][D][addon_upload_tft.script.upload_tft:329]:   Current baud rate:       115200 bps
[13:17:13][D][addon_upload_tft.script.upload_tft:330]:   Valid TFT:               False
[13:17:13][D][addon_upload_tft.script.upload_tft:333]:   Upload URL:              http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:13][D][addon_upload_tft.script.nextion_uart_command:141]: Sending `bkcmd=3` directly to UART
[13:17:13][W][component:214]: Component api took a long time for an operation (0.09 s).
[13:17:13][W][component:215]: Components should block for at most 20-30ms.
[13:17:15][D][addon_upload_tft.script.open_upload_dialog:170]: Showing upload dialog page
[13:17:17][D][addon_upload_tft.script.report_upload_progress:203]: Set Nextion unavailable for blueprint calls
[13:17:17][D][addon_upload_tft.script.report_upload_progress:203]: Stopping other scripts
[13:17:17][D][script.stop_all:2816]: Stopping scripts...
[13:17:17][D][script.stop_all:2878]: Finished
[13:17:17][D][script.nextion_status:1970]: Nextion status:
[13:17:17][D][script.nextion_status:1971]:   Is detected: True
[13:17:17][D][script.nextion_status:1972]:   Is setup:    False
[13:17:17][D][script.nextion_status:1973]:   Queue size:  0
[13:17:17][D][addon_upload_tft.script.report_upload_progress:203]: Setting baud rate
[13:17:17][D][script.set_baud_rate:2473]: Baud rate changing from 115200 to 921600 bps
[13:17:17][D][script.set_baud_rate:2474]: Flush UART
[13:17:17][D][script.set_baud_rate:2482]: Sending instruction 'baud=921600' to Nextion
[13:17:17][D][script.set_baud_rate:2484]: Flush UART
[13:17:17][D][script.set_baud_rate:2492]: Set ESPHome new baud rate to 921600 bps
[13:17:17][C][uart.arduino_esp32:131]: UART 0 was reloaded.
[13:17:17][C][uart.arduino_esp32:137]: UART Bus 0:
[13:17:17][C][uart.arduino_esp32:138]:   TX Pin: GPIO16
[13:17:17][C][uart.arduino_esp32:139]:   RX Pin: GPIO17
[13:17:17][C][uart.arduino_esp32:141]:   RX Buffer Size: 256
[13:17:17][C][uart.arduino_esp32:143]:   Baud Rate: 921600 baud
[13:17:17][C][uart.arduino_esp32:144]:   Data Bits: 8
[13:17:17][C][uart.arduino_esp32:145]:   Parity: NONE
[13:17:17][C][uart.arduino_esp32:146]:   Stop bits: 1
[13:17:17][D][script.set_baud_rate:2495]: Baud rate is changet to 921600 bps
[13:17:17][W][component:214]: Component script took a long time for an operation (0.17 s).
[13:17:17][W][component:215]: Components should block for at most 20-30ms.
[13:17:19][D][main:1203]: Attempting to upload TFT
[13:17:19][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #1 at 921600 bps
[13:17:19][D][addon_upload_tft.script.nextion_upload:153]: Waiting for empty UART and Nextion queues
[13:17:21][D][addon_upload_tft.script.nextion_upload:162]: Starting TFT upload...
[13:17:21][D][nextion.upload.arduino:145]: Nextion TFT upload requested
[13:17:21][D][nextion.upload.arduino:146]: URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:21][D][nextion.upload.arduino:185]: Connected
[13:17:21][D][nextion.upload.arduino:191]: Requesting URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:21][D][nextion.upload.arduino:225]: Updating Nextion NX4832F035_011C...
[13:17:22][D][nextion.upload.arduino:251]: Waiting for upgrade response
[13:17:24][D][nextion.upload.arduino:257]: Upgrade response is [] - 0 bytes
[13:17:24][D][nextion.upload.arduino:266]: preparation for tft update failed 0 ""
[13:17:24][D][nextion.upload.arduino:329]: Restarting Nextion
[13:17:24][W][component:214]: Component script took a long time for an operation (2.47 s).
[13:17:24][W][component:215]: Components should block for at most 20-30ms.
[13:17:24][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #1 at 921600 bps failed!
[13:17:24][I][addon_upload_tft.script.report_settings:189]: TFT URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:24][I][addon_upload_tft.script.report_settings:190]: Substitutions:
[13:17:24][I][addon_upload_tft.script.report_settings:191]:   nextion_update_url:        http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:24][I][addon_upload_tft.script.report_settings:192]:   nextion_update_base_url:   https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/
[13:17:24][I][addon_upload_tft.script.report_settings:193]:   upload_tft_chunk_size_max: 32768
[13:17:24][I][addon_upload_tft.script.report_settings:194]:   upload_tft_baud_rate:      921600
[13:17:29][D][main:1203]: Attempting to upload TFT
[13:17:29][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #2 at 921600 bps
[13:17:29][D][addon_upload_tft.script.nextion_upload:153]: Waiting for empty UART and Nextion queues
[13:17:30][W][script.watchdog:3102]: TFT upload in progress
[13:17:31][D][addon_upload_tft.script.nextion_upload:162]: Starting TFT upload...
[13:17:31][D][nextion.upload.arduino:145]: Nextion TFT upload requested
[13:17:31][D][nextion.upload.arduino:146]: URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:31][D][nextion.upload.arduino:185]: Connected
[13:17:31][D][nextion.upload.arduino:191]: Requesting URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:31][D][nextion.upload.arduino:225]: Updating Nextion NX4832F035_011C...
[13:17:31][D][nextion.upload.arduino:251]: Waiting for upgrade response
[13:17:33][D][nextion.upload.arduino:257]: Upgrade response is [] - 0 bytes
[13:17:33][D][nextion.upload.arduino:266]: preparation for tft update failed 0 ""
[13:17:33][D][nextion.upload.arduino:329]: Restarting Nextion
[13:17:33][W][component:214]: Component script took a long time for an operation (2.46 s).
[13:17:33][W][component:215]: Components should block for at most 20-30ms.
[13:17:33][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #2 at 921600 bps failed!
[13:17:38][D][script.nextion_status:1970]: Nextion status:
[13:17:38][D][script.nextion_status:1971]:   Is detected: True
[13:17:38][D][script.nextion_status:1972]:   Is setup:    False
[13:17:38][D][script.nextion_status:1973]:   Queue size:  0
[13:17:38][D][addon_upload_tft.script.report_upload_progress:203]: Setting baud rate
[13:17:38][D][script.set_baud_rate:2473]: Baud rate changing from 921600 to 115200 bps
[13:17:38][D][script.set_baud_rate:2474]: Flush UART
[13:17:38][D][script.set_baud_rate:2482]: Sending instruction 'baud=115200' to Nextion
[13:17:38][D][script.set_baud_rate:2484]: Flush UART
[13:17:38][D][script.set_baud_rate:2492]: Set ESPHome new baud rate to 115200 bps
[13:17:38][C][uart.arduino_esp32:131]: UART 0 was reloaded.
[13:17:38][C][uart.arduino_esp32:137]: UART Bus 0:
[13:17:38][C][uart.arduino_esp32:138]:   TX Pin: GPIO16
[13:17:38][C][uart.arduino_esp32:139]:   RX Pin: GPIO17
[13:17:38][C][uart.arduino_esp32:141]:   RX Buffer Size: 256
[13:17:38][C][uart.arduino_esp32:143]:   Baud Rate: 115200 baud
[13:17:38][C][uart.arduino_esp32:144]:   Data Bits: 8
[13:17:38][C][uart.arduino_esp32:145]:   Parity: NONE
[13:17:38][C][uart.arduino_esp32:146]:   Stop bits: 1
[13:17:38][D][script.set_baud_rate:2495]: Baud rate is changet to 115200 bps
[13:17:38][W][component:214]: Component script took a long time for an operation (0.14 s).
[13:17:38][W][component:215]: Components should block for at most 20-30ms.
[13:17:40][D][main:1203]: Attempting to upload TFT
[13:17:40][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #3 at 115200 bps
[13:17:40][D][addon_upload_tft.script.nextion_upload:153]: Waiting for empty UART and Nextion queues
[13:17:42][D][addon_upload_tft.script.nextion_upload:162]: Starting TFT upload...
[13:17:42][D][nextion.upload.arduino:145]: Nextion TFT upload requested
[13:17:42][D][nextion.upload.arduino:146]: URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:42][D][nextion.upload.arduino:185]: Connected
[13:17:42][D][nextion.upload.arduino:191]: Requesting URL: http://10.2.78.3:8123/local/nspanel_blank.tft
[13:17:43][D][nextion.upload.arduino:225]: Updating Nextion NX4832F035_011C...
[13:17:43][D][nextion.upload.arduino:251]: Waiting for upgrade response
[13:17:45][D][nextion.upload.arduino:257]: Upgrade response is [] - 0 bytes
[13:17:45][D][nextion.upload.arduino:266]: preparation for tft update failed 0 ""
[13:17:45][D][nextion.upload.arduino:329]: Restarting Nextion
[13:17:45][W][component:214]: Component script took a long time for an operation (2.46 s).
[13:17:45][W][component:215]: Components should block for at most 20-30ms.
[13:17:45][D][addon_upload_tft.script.report_upload_progress:203]: Attempt #3 at 115200 bps failed!

Home Assistant logs

HA logs are too long to include, BUT: this is the references i get to ESP home:

2024-01-20 08:29:10.131 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities select.esphome_web_0dab7c_update_tft_display_model are missing or not currently available

If the community would like my full logs, ill uploadf them to pastebin for viewing, but, its rteally just ecovacs ping spam
edwardtfn commented 9 months ago

I think you should flash your device again. The yaml shows esp-idf, but in the logs we can see arduino is installed.

Menethoran commented 9 months ago

the other thing ive noticed is that Home Assistant reports the device as Tasmota (somehow) even though it will adopt through HA.

Since this device, i have successfully transfered 2 of these panels from factory to running via this method. These things are GORGEOUS when working right :)

Im going to reflash as suggested, this time with a little more confidence and a little more understanding of what SHOULD happen.

edwardtfn commented 9 months ago

The yaml shows esp-idf, but in the logs we can see arduino is installed.

This, together with the Tasmota thing, could happen if you change framework via OTA.¨ You should either try to flash via serial or set arduino as the target framework in your yaml.

edwardtfn commented 8 months ago

Hej @Menethoran, have you had the chance to flash it via serial cable? Any improvement?

edwardtfn commented 8 months ago

I'm closing this as it is quiet since a while. Please feel free to re-open this if the problem persists.