Nextion - D1 mini Problem after update

Hi, I have 2 Displays: Nexiton NX3224K024_011R with a D1 mini (ESP8266) as Dashboard. They worked well, till version 2022.5.0. Now I have updated one of the displays and it dosn’t work anymore. I’ve been trying for hours to figure out what the problem is, but can’t come up with a solution. Also I have not found a way to downgrade the D1 mini. I suspect that the error is the configuration. Maybe someone knows the problem or even better the solution.

Here is my yaml:

esphome:
  name: kitboard
  platform: ESP8266
  board: d1_mini_lite

wifi:
  ssid: "xxx"
  password: "xxx"

  ap:
    ssid: "Kitboard Fallback Hotspot"
    password: "xxx"

logger:
  baud_rate: 0

api:
  password: "xxx"

ota:
  password: "xxx"

uart:
  rx_pin: D1
  tx_pin: D2
  baud_rate: 115200

time:
  - platform: sntp
    id: sntp_time
    timezone: Europe/Berlin

sensor:
  - platform: homeassistant
    id: temperature
    entity_id: sensor.hmip_wettersensor_temperature
  - platform: homeassistant
    id: min_temp
    entity_id: sensor.min_temp_next_24h
  - platform: homeassistant
    id: max_temp
    entity_id: sensor.max_temp_next_24h
  - platform: homeassistant
    id: ton_gray
    entity_id: sensor.next_waste_gray
  - platform: homeassistant
    id: ton_green
    entity_id: sensor.next_waste_green
  - platform: homeassistant
    id: ton_yellow
    entity_id: sensor.next_waste_yellow
  - platform: homeassistant
    id: weekday
    entity_id: sensor.weekday
  - platform: homeassistant
    id: house_power
    entity_id: sensor.senec_dash_house_power
  - platform: homeassistant
    id: solar_power
    entity_id: sensor.senec_dash_solar_generated_power
  - platform: homeassistant
    id: solar_battery
    entity_id: sensor.senec_dash_battery_charge_percent

binary_sensor:
  - platform: homeassistant
    id: someone_home
    entity_id: binary_sensor.someone_home
  - platform: homeassistant
    id: night
    entity_id: binary_sensor.night
  - platform: homeassistant
    id: washer_rup
    entity_id: binary_sensor.washer_rup
  - platform: homeassistant
    id: dryer_rup
    entity_id: binary_sensor.dryer_rup

display:
  - platform: nextion
    id: kitb
    update_interval: 5s
    lambda: |-
      auto time = id(sntp_time).now();
      it.set_component_text_printf("hour","%02d",time.hour);
      it.set_component_text_printf("minute","%02d",time.minute);
      it.set_component_text_printf("datem","%02d",time.month);
      it.set_component_text_printf("dated","%02d",time.day_of_month);
      it.set_component_text_printf("mintemp","%.1f",id(min_temp).state);
      it.set_component_text_printf("maxtemp","%.1f",id(max_temp).state);
      it.set_component_text_printf("temp","%.1f",id(temperature).state);
      it.set_component_text_printf("pvhouse","%.1f",id(house_power).state);
      it.set_component_text_printf("pvsolar","%.1f",id(solar_power).state);
      it.set_component_text_printf("pvbattery","%.0f",id(solar_battery).state);
      if (id(ton_gray).state == 0) {
        it.set_component_text("grau", "Heute");
      } else if (id(ton_gray).state == 1) {
          it.set_component_text("grau", "Morgen");
      } else {
          it.set_component_text_printf("grau","%.0f Tage",id(ton_gray).state);
      }
      if (id(ton_green).state == 0) {
        it.set_component_text("papier", "Heute");
      } else if (id(ton_green).state == 1) {
          it.set_component_text("papier", "Morgen");
      } else {
          it.set_component_text_printf("papier","%.0f Tage",id(ton_green).state);
      }
      if (id(ton_yellow).state == 0) {
        it.set_component_text("gelb", "Heute");
      } else if (id(ton_yellow).state == 1) {
          it.set_component_text("gelb", "Morgen");
      } else {
          it.set_component_text_printf("gelb","%.0f Tage",id(ton_yellow).state);
      }
      if (id(washer_rup).state) {
          it.send_command_printf("tm1.en=1");
      } else {
         it.send_command_printf("tm1.en=0");
         it.send_command_printf("washer.pic=10");
      }
      if (id(dryer_rup).state) {
          it.send_command_printf("tm0.en=1");
      } else {
         it.send_command_printf("tm0.en=0");
         it.send_command_printf("dryer.pic=10");
      }
      if (id(weekday).state == 1) {
        it.set_component_text("dateday", "Montag");
      } else if (id(weekday).state == 2) {
          it.set_component_text("dateday", "Dienstag");
      } else if (id(weekday).state == 3) {
          it.set_component_text("dateday", "Mittwoch");
      } else if (id(weekday).state == 4) {
          it.set_component_text("dateday", "Donnerstag");
      } else if (id(weekday).state == 5) {
          it.set_component_text("dateday", "Freitag");
      } else if (id(weekday).state == 6) {
          it.set_component_text("dateday", "Samstag");
      } else if (id(weekday).state == 0) {
          it.set_component_text("dateday", "Sonntag");
      } else {
          it.set_component_text("dateday", "Feiertag");
      }

What about logs at boot especially ?

There is nothing unusual in it, basically the same as the board that still works with the old version.

INFO Reading configuration /config/esphome/kitboard.yaml...
INFO Starting log output from kitboard.local using esphome API
INFO Successfully connected to kitboard.local
[23:43:16][I][app:102]: ESPHome version 2022.8.3 compiled on Sep 13 2022, 23:40:06
[23:43:16][C][wifi:491]: WiFi:
[23:43:16][C][wifi:353]:   Local MAC: 8C:CE:4E:E1:DD:C2
[23:43:16][C][wifi:354]:   SSID: 'xxx'[redacted]
[23:43:16][C][wifi:355]:   IP Address: 192.168.178.118
[23:43:16][C][wifi:356]:   BSSID: 38:10:D5:BC:4E:72[redacted]
[23:43:16][C][wifi:358]:   Hostname: 'kitboard'
[23:43:16][C][wifi:360]:   Signal strength: -64 dB ▂▄▆█
[23:43:16][C][wifi:364]:   Channel: 11
[23:43:16][C][wifi:365]:   Subnet: 255.255.255.0
[23:43:16][C][wifi:366]:   Gateway: 192.168.178.1
[23:43:16][C][wifi:367]:   DNS1: 192.168.178.1
[23:43:16][C][wifi:368]:   DNS2: 0.0.0.0
[23:43:16][C][logger:275]: Logger:
[23:43:16][C][logger:276]:   Level: DEBUG
[23:43:16][C][logger:277]:   Log Baud Rate: 115200
[23:43:16][C][logger:278]:   Hardware UART: UART0
[23:43:16][C][uart.arduino_esp8266:102]: UART Bus:
[23:43:16][C][uart.arduino_esp8266:103]:   TX Pin: GPIO4
[23:43:16][C][uart.arduino_esp8266:104]:   RX Pin: GPIO5
[23:43:16][C][uart.arduino_esp8266:106]:   RX Buffer Size: 256
[23:43:16][C][uart.arduino_esp8266:108]:   Baud Rate: 115200 baud
[23:43:16][C][uart.arduino_esp8266:109]:   Data Bits: 8
[23:43:16][C][uart.arduino_esp8266:110]:   Parity: NONE
[23:43:16][C][uart.arduino_esp8266:111]:   Stop bits: 1
[23:43:16][C][uart.arduino_esp8266:115]:   Using software serial
[23:43:16][C][nextion:117]: Nextion:
[23:43:16][C][nextion:118]:   Device Model:     NX3224K024_011R
[23:43:16][C][nextion:119]:   Firmware Version: 163
[23:43:16][C][nextion:120]:   Serial Number:    E468810217163726
[23:43:16][C][nextion:121]:   Flash Size:       16777216
[23:43:16][C][nextion:122]:   Wake On Touch:    True
[23:43:16][D][nextion:251]: Manually set nextion report ready
[23:43:16][C][mdns:094]: mDNS:
[23:43:16][C][mdns:095]:   Hostname: kitboard
[23:43:16][C][ota:085]: Over-The-Air Updates:
[23:43:16][C][ota:086]:   Address: kitboard.local:8266
[23:43:16][C][ota:089]:   Using Password.
[23:43:16][W][ota:094]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[23:43:16][C][api:138]: API Server:
[23:43:16][C][api:139]:   Address: kitboard.local:6053
[23:43:16][C][api:143]:   Using noise encryption: NO
[23:43:16][C][sntp:050]: SNTP Time:
[23:43:16][C][sntp:051]:   Server 1: '0.pool.ntp.org'
[23:43:16][C][sntp:052]:   Server 2: '1.pool.ntp.org'
[23:43:16][C][sntp:053]:   Server 3: '2.pool.ntp.org'
[23:43:16][C][sntp:054]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[23:43:16][C][homeassistant.binary_sensor:039]: Homeassistant Binary Sensor 'someone_home'
[23:43:16][C][homeassistant.binary_sensor:040]:   Entity ID: 'binary_sensor.someone_home'
[23:43:16][C][homeassistant.binary_sensor:039]: Homeassistant Binary Sensor 'night'
[23:43:16][C][homeassistant.binary_sensor:040]:   Entity ID: 'binary_sensor.night'
[23:43:16][C][homeassistant.binary_sensor:039]: Homeassistant Binary Sensor 'washer_rup'
[23:43:16][C][homeassistant.binary_sensor:040]:   Entity ID: 'binary_sensor.washer_rup'
[23:43:16][C][homeassistant.binary_sensor:039]: Homeassistant Binary Sensor 'dryer_rup'
[23:43:16][C][homeassistant.binary_sensor:040]:   Entity ID: 'binary_sensor.dryer_rup'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'temperature'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.hmip_wettersensor_temperature'
[23:43:16][W][nextion:735]: Received unknown event from nextion: 0xA0
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'min_temp'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.min_temp_next_24h'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'max_temp'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.max_temp_next_24h'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'ton_gray'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.next_waste_gray'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'ton_green'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.next_waste_green'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'ton_yellow'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.next_waste_yellow'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'weekday'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.weekday'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'house_power'
[23:43:16][C][homeassistant.sensor:030]:   State Class: ''
[23:43:16][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:16][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:16][C][homeassistant.sensor:031]:   Entity ID: 'sensor.senec_dash_house_power'
[23:43:16][C][homeassistant.sensor:030]: Homeassistant Sensor 'solar_power'
[23:43:17][C][homeassistant.sensor:030]:   State Class: ''
[23:43:17][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:17][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:17][C][homeassistant.sensor:031]:   Entity ID: 'sensor.senec_dash_solar_generated_power'
[23:43:17][C][homeassistant.sensor:030]: Homeassistant Sensor 'solar_battery'
[23:43:17][C][homeassistant.sensor:030]:   State Class: ''
[23:43:17][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[23:43:17][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[23:43:17][C][homeassistant.sensor:031]:   Entity ID: 'sensor.senec_dash_battery_charge_percent'
[23:43:17][D][api:102]: Accepted 192.168.178.37
[23:43:17][D][api.connection:861]: Home Assistant 2022.9.2 (192.168.178.37): Connected successfully
[23:43:17][D][homeassistant.binary_sensor:026]: 'binary_sensor.someone_home': Got state ON
[23:43:17][D][binary_sensor:034]: 'someone_home': Sending initial state ON
[23:43:17][D][homeassistant.binary_sensor:026]: 'binary_sensor.night': Got state ON
[23:43:17][D][binary_sensor:034]: 'night': Sending initial state ON
[23:43:17][D][homeassistant.binary_sensor:026]: 'binary_sensor.washer_rup': Got state OFF
[23:43:17][D][binary_sensor:034]: 'washer_rup': Sending initial state OFF
[23:43:17][D][homeassistant.binary_sensor:026]: 'binary_sensor.dryer_rup': Got state OFF
[23:43:17][D][binary_sensor:034]: 'dryer_rup': Sending initial state OFF
[23:43:18][D][homeassistant.sensor:024]: 'sensor.hmip_wettersensor_temperature': Got state 18.90
[23:43:18][D][sensor:126]: 'temperature': Sending state 18.90000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.min_temp_next_24h': Got state 16.30
[23:43:18][D][sensor:126]: 'min_temp': Sending state 16.30000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.max_temp_next_24h': Got state 24.00
[23:43:18][D][sensor:126]: 'max_temp': Sending state 24.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.next_waste_gray': Got state 14.00
[23:43:18][D][sensor:126]: 'ton_gray': Sending state 14.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.next_waste_green': Got state 16.00
[23:43:18][D][sensor:126]: 'ton_green': Sending state 16.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.next_waste_yellow': Got state 13.00
[23:43:18][D][sensor:126]: 'ton_yellow': Sending state 13.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.weekday': Got state 2.00
[23:43:18][D][sensor:126]: 'weekday': Sending state 2.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.senec_dash_house_power': Got state 0.30
[23:43:18][D][sensor:126]: 'house_power': Sending state 0.30000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.senec_dash_solar_generated_power': Got state 0.00
[23:43:18][D][sensor:126]: 'solar_power': Sending state 0.00000  with 1 decimals of accuracy
[23:43:18][D][homeassistant.sensor:024]: 'sensor.senec_dash_battery_charge_percent': Got state 30.00
[23:43:18][D][sensor:126]: 'solar_battery': Sending state 30.00000  with 1 decimals of accuracy
[23:44:50][D][homeassistant.sensor:024]: 'sensor.senec_dash_battery_charge_percent': Got state 29.00
[23:44:50][D][sensor:126]: 'solar_battery': Sending state 29.00000  with 1 decimals of accuracy

the values of home assistant also all arrive, only the nextion display does not show them.

Have exactly the same problem. Is there a solution to this?

I’ve updated to a new ESP32 board. This is not the best solution. But the dashboard is now working again.