Closed NoFace3D closed 9 months ago
[18:01:07][C][uart.idf:145]: Baud Rate: 921600 baud
Take a look at the baud rate in the top-right corner of your display. It is probably 115200 bps.
Go to Device's page (Settings > Devices & Services > ESPHome), in the Configuration area, change Baud rate to the same value shown on your display. It may be that the Baud rate control isn't enabled, so you will have to enable that first.
Off-topic, what are you trying to achieve with those customizations to the hardware button?
You are right display is showing 115200 bps, but I don't have Baud rate
control in the Configuration area and I also don't see it between disabled entities.
How can I enable this entity in HA?
Should I configure it in esphome yaml instead?
uart:
- id: !extend tf_uart
baud_rate: 115200
Off-topic, what are you trying to achieve with those customizations to the hardware button?
To be able to simulate/reproduce physical button press from HA.
BTW I'd appreciate to have the same possibility for standard short button press, like for the hold action where you can define action/multiple actions. Without it I have to use automation entity and maintain actions for short press there.
Ok, looking again at your log, looks like you are in an older version on the ESPHome side. If you keep that old version, that customization to UART should solve, but then you will get an issue with version mismatch.
Try cleaning your build files, then install ESPHome to your device again, using ref: main
. The baud rate settings should be there, but it will use 115200bps as default, so it should work without changing that.
BTW I'd appreciate to have the same possibility for standard short button press, like for the hold action where you can define action/multiple actions. Without it I have to use automation entity and maintain actions for short press there.
I didn't got your point... why don't you create another issue (Enhancement request)? So we can discuss this on detail?
I've cleaned build files and performed reinstalltion of ESPHome and the result was the same like at the beginning with baud rate 921600 in log and 115200 on the display. Setting it manually helped, however display is still only "Initializing.."
INFO Upload took 4.45 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.1.245 using esphome API
INFO Successfully connected to nspanelhostovska @ 192.168.1.245 in 31.800s
INFO Successful handshake with nspanelhostovska @ 192.168.1.245 in 0.105s
[20:06:00][I][app:102]: ESPHome version 2023.12.8 compiled on Jan 20 2024, 20:02:31
[20:06:00][C][wifi:573]: WiFi:
[20:06:00][C][wifi:405]: Local MAC: 48:E7:29:C5:DC:44
[20:06:00][C][wifi:410]: SSID: [redacted]
[20:06:00][C][wifi:411]: IP Address: 192.168.1.245
[20:06:00][C][wifi:413]: BSSID: [redacted]
[20:06:00][C][wifi:414]: Hostname: 'nspanelhostovska'
[20:06:00][C][wifi:416]: Signal strength: -77 dB ▂▄▆█
[20:06:00][C][wifi:420]: Channel: 1
[20:06:00][C][wifi:421]: Subnet: 255.255.255.0
[20:06:00][C][wifi:422]: Gateway: 192.168.1.1
[20:06:00][C][wifi:423]: DNS1: 192.168.1.1
[20:06:00][C][wifi:424]: DNS2: 0.0.0.0
[20:06:00][C][logger:439]: Logger:
[20:06:00][C][logger:440]: Level: DEBUG
[20:06:00][C][logger:441]: Log Baud Rate: 0
[20:06:00][C][logger:443]: Hardware UART: UART0
[20:06:00][C][uart.idf:139]: UART Bus 0:
[20:06:00][C][uart.idf:140]: TX Pin: GPIO16
[20:06:00][C][uart.idf:141]: RX Pin: GPIO17
[20:06:00][C][uart.idf:143]: RX Buffer Size: 256
[20:06:00][C][uart.idf:145]: Baud Rate: 115200 baud
[20:06:00][C][uart.idf:146]: Data Bits: 8
[20:06:00][C][uart.idf:147]: Parity: NONE
[20:06:00][C][uart.idf:148]: Stop bits: 1
[20:06:00][C][ledc.output:164]: LEDC Output:
[20:06:00][C][ledc.output:165]: Pin GPIO21
[20:06:00][C][ledc.output:166]: LEDC Channel: 0
[20:06:00][C][ledc.output:167]: PWM Frequency: 1000.0 Hz
[20:06:00][C][ledc.output:168]: Bit depth: 16
[20:06:00][C][template.binary_sensor:028]: Template Binary Sensor 'nspanelhostovska Nextion display'
[20:06:00][C][template.binary_sensor:028]: Device Class: 'connectivity'
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Display Brightness'
[20:06:00][C][template.number:050]: Unit of Measurement: '%'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Display Brightness Dimdown'
[20:06:00][C][template.number:050]: Unit of Measurement: '%'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Temperature Correction'
[20:06:00][C][template.number:050]: Unit of Measurement: '°C'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Timeout Page'
[20:06:00][C][template.number:050]: Icon: 'mdi:timer'
[20:06:00][C][template.number:050]: Unit of Measurement: 's'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Timeout Dimming'
[20:06:00][C][template.number:050]: Icon: 'mdi:timer'
[20:06:00][C][template.number:050]: Unit of Measurement: 's'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.number:050]: Template Number 'nspanelhostovska Timeout Sleep'
[20:06:00][C][template.number:050]: Icon: 'mdi:timer'
[20:06:00][C][template.number:050]: Unit of Measurement: 's'
[20:06:00][C][template.number:051]: Optimistic: YES
[20:06:00][C][template.number:052]: Update Interval: 60.0s
[20:06:00][C][template.select:065]: Template Select 'nspanelhostovska Wake-up page'
[20:06:00][C][template.select:065]: Icon: 'mdi:page-next-outline'
[20:06:00][C][template.select:066]: Update Interval: 60.0s
[20:06:00][C][template.select:069]: Optimistic: YES
[20:06:00][C][template.select:070]: Initial Option: home
[20:06:00][C][template.select:071]: Restore Value: YES
[20:06:00][C][uptime.sensor:031]: Uptime Sensor 'nspanelhostovska Uptime seconds'
[20:06:00][C][uptime.sensor:031]: Device Class: 'duration'
[20:06:00][C][uptime.sensor:031]: State Class: 'total_increasing'
[20:06:00][C][uptime.sensor:031]: Unit of Measurement: 's'
[20:06:00][C][uptime.sensor:031]: Accuracy Decimals: 0
[20:06:00][C][uptime.sensor:031]: Icon: 'mdi:timer-outline'
[20:06:00][C][template.sensor:022]: Template Sensor 'nspanelhostovska API uptime'
[20:06:00][C][template.sensor:022]: Device Class: 'timestamp'
[20:06:00][C][template.sensor:022]: State Class: ''
[20:06:00][C][template.sensor:022]: Unit of Measurement: ''
[20:06:00][C][template.sensor:022]: Accuracy Decimals: 0
[20:06:00][C][template.sensor:023]: Update Interval: never
[20:06:00][C][template.sensor:022]: Template Sensor 'nspanelhostovska Device uptime'
[20:06:00][C][template.sensor:022]: Device Class: 'timestamp'
[20:06:00][C][template.sensor:022]: State Class: ''
[20:06:00][C][template.sensor:022]: Unit of Measurement: ''
[20:06:00][C][template.sensor:022]: Accuracy Decimals: 0
[20:06:00][C][template.sensor:023]: Update Interval: never
[20:06:00][C][template.text_sensor:020]: Template Sensor 'nspanelhostovska Detailed Entity'
[20:06:00][C][template.text_sensor:020]: Icon: 'mdi:tablet-dashboard'
[20:06:00][C][template.text_sensor:020]: Template Sensor 'nspanelhostovska Notification Label'
[20:06:00][C][template.text_sensor:020]: Template Sensor 'nspanelhostovska Notification Text'
[20:06:00][C][switch.gpio:068]: GPIO Switch 'nspanelhostovska Relay 1'
[20:06:00][C][switch.gpio:091]: Restore Mode: restore defaults to OFF
[20:06:00][C][switch.gpio:031]: Pin: GPIO22
[20:06:01][C][switch.gpio:068]: GPIO Switch 'nspanelhostovska Relay 2'
[20:06:01][C][switch.gpio:091]: Restore Mode: restore defaults to OFF
[20:06:01][C][switch.gpio:031]: Pin: GPIO19
[20:06:01][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nspanelhostovska Left Button'
[20:06:01][C][gpio.binary_sensor:016]: Pin: GPIO14
[20:06:01][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nspanelhostovska Right Button'
[20:06:01][C][gpio.binary_sensor:016]: Pin: GPIO27
[20:06:01][C][switch.gpio:068]: GPIO Switch 'nspanelhostovska Nextion display - Power'
[20:06:01][C][switch.gpio:091]: Restore Mode: always ON
[20:06:01][C][switch.gpio:031]: Pin: GPIO4
[20:06:01][C][template.switch:068]: Template Switch 'nspanelhostovska Notification sound'
[20:06:01][C][template.switch:091]: Restore Mode: restore defaults to OFF
[20:06:01][C][template.switch:057]: Optimistic: YES
[20:06:01][C][template.switch:068]: Template Switch 'nspanelhostovska Relay 1 Local'
[20:06:01][C][template.switch:091]: Restore Mode: restore defaults to OFF
[20:06:01][C][template.switch:057]: Optimistic: YES
[20:06:01][C][template.switch:068]: Template Switch 'nspanelhostovska Relay 2 Local'
[20:06:01][C][template.switch:091]: Restore Mode: restore defaults to OFF
[20:06:01][C][template.switch:057]: Optimistic: YES
[20:06:01][C][template.switch:068]: Template Switch 'nspanelhostovska Relay 0 (dummy)'
[20:06:01][C][template.switch:091]: Restore Mode: always OFF
[20:06:01][C][template.switch:057]: Optimistic: YES
[20:06:01][C][template.switch:068]: Template Switch 'nspanelhostovska Notification unread'
[20:06:01][C][template.switch:091]: Restore Mode: always OFF
[20:06:01][C][template.switch:057]: Optimistic: YES
[20:06:01][C][rtttl:029]: Rtttl
[20:06:01][C][nextion:128]: Nextion:
[20:06:01][C][nextion:129]: Device Model: NX4832F035_011C
[20:06:01][C][nextion:130]: Firmware Version: 72
[20:06:01][C][nextion:131]: Serial Number: 0AB134012861AC31
[20:06:01][C][nextion:132]: Flash Size: 16777216
[20:06:01][C][nextion:133]: Wake On Touch: YES
[20:06:01][C][nextion:134]: Exit reparse: NO
[20:06:01][C][nextion:145]: Start Up Page: 8
[20:06:01][C][restart.button:017]: Restart Button 'nspanelhostovska Restart'
[20:06:01][C][adc:097]: ADC Sensor 'ntc_source'
[20:06:01][C][adc:097]: Device Class: 'voltage'
[20:06:01][C][adc:097]: State Class: 'measurement'
[20:06:01][C][adc:097]: Unit of Measurement: 'V'
[20:06:01][C][adc:097]: Accuracy Decimals: 2
[20:06:01][C][adc:107]: Pin: GPIO38
[20:06:01][C][adc:122]: Attenuation: 11db
[20:06:01][C][adc:142]: Update Interval: 60.0s
[20:06:01][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[20:06:01][C][resistance:010]: State Class: 'measurement'
[20:06:01][C][resistance:010]: Unit of Measurement: 'Ω'
[20:06:01][C][resistance:010]: Accuracy Decimals: 1
[20:06:01][C][resistance:010]: Icon: 'mdi:flash'
[20:06:01][C][resistance:011]: Configuration: DOWNSTREAM
[20:06:01][C][resistance:012]: Resistor: 11200.00Ω
[20:06:01][C][resistance:013]: Reference Voltage: 3.3V
[20:06:01][C][ntc:014]: NTC Sensor 'nspanelhostovska Temperature'
[20:06:01][C][ntc:014]: Device Class: 'temperature'
[20:06:01][C][ntc:014]: State Class: 'measurement'
[20:06:01][C][ntc:014]: Unit of Measurement: '°C'
[20:06:01][C][ntc:014]: Accuracy Decimals: 1
[20:06:01][C][version.text_sensor:021]: Version Text Sensor 'nspanelhostovska ESPhome Version'
[20:06:01][C][version.text_sensor:021]: Icon: 'mdi:new-box'
[20:06:01][C][thermostat.climate:1290]: Thermostat 'nspanelhostovska Thermostat'
[20:06:01][C][thermostat.climate:1295]: Start-up Delay Enabled: NO
[20:06:01][C][thermostat.climate:1311]: Heating Parameters:
[20:06:01][C][thermostat.climate:1312]: Deadband: 0.5°C
[20:06:01][C][thermostat.climate:1313]: Overrun: 0.5°C
[20:06:01][C][thermostat.climate:1320]: Minimum Off Time: 60s
[20:06:01][C][thermostat.climate:1322]: Minimum Run Time: 60s
[20:06:01][C][thermostat.climate:1337]: Minimum Idle Time: 30s
[20:06:01][C][thermostat.climate:1338]: Supports AUTO: NO
[20:06:01][C][thermostat.climate:1339]: Supports HEAT/COOL: NO
[20:06:01][C][thermostat.climate:1340]: Supports COOL: NO
[20:06:01][C][thermostat.climate:1341]: Supports DRY: NO
[20:06:01][C][thermostat.climate:1342]: Supports FAN_ONLY: NO
[20:06:01][C][thermostat.climate:1344]: Supports FAN_ONLY_ACTION_USES_FAN_MODE_TIMER: NO
[20:06:01][C][thermostat.climate:1345]: Supports FAN_ONLY_COOLING: NO
[20:06:01][C][thermostat.climate:1350]: Supports FAN_WITH_HEATING: NO
[20:06:01][C][thermostat.climate:1352]: Supports HEAT: YES
[20:06:01][C][thermostat.climate:1353]: Supports FAN MODE ON: NO
[20:06:01][C][thermostat.climate:1354]: Supports FAN MODE OFF: NO
[20:06:01][C][thermostat.climate:1355]: Supports FAN MODE AUTO: NO
[20:06:01][C][thermostat.climate:1356]: Supports FAN MODE LOW: NO
[20:06:01][C][thermostat.climate:1357]: Supports FAN MODE MEDIUM: NO
[20:06:01][C][thermostat.climate:1358]: Supports FAN MODE HIGH: NO
[20:06:01][C][thermostat.climate:1359]: Supports FAN MODE MIDDLE: NO
[20:06:01][C][thermostat.climate:1360]: Supports FAN MODE FOCUS: NO
[20:06:01][C][thermostat.climate:1361]: Supports FAN MODE DIFFUSE: NO
[20:06:01][C][thermostat.climate:1362]: Supports FAN MODE QUIET: NO
[20:06:01][C][thermostat.climate:1363]: Supports SWING MODE BOTH: NO
[20:06:01][C][thermostat.climate:1364]: Supports SWING MODE OFF: NO
[20:06:01][C][thermostat.climate:1365]: Supports SWING MODE HORIZONTAL: NO
[20:06:01][C][thermostat.climate:1366]: Supports SWING MODE VERTICAL: NO
[20:06:01][C][thermostat.climate:1367]: Supports TWO SET POINTS: NO
[20:06:01][C][thermostat.climate:1369]: Supported PRESETS:
[20:06:01][C][thermostat.climate:1373]: Supports HOME: YES
[20:06:01][C][thermostat.climate:959]: HOME Is Default: YES
[20:06:01][C][thermostat.climate:966]: HOME Default Target Temperature Low: 23.0°C
[20:06:01][C][thermostat.climate:980]: HOME Default Mode: HEAT
[20:06:01][C][thermostat.climate:1373]: Supports AWAY: YES
[20:06:01][C][thermostat.climate:959]: AWAY Is Default: NO
[20:06:01][C][thermostat.climate:966]: AWAY Default Target Temperature Low: 18.0°C
[20:06:01][C][thermostat.climate:980]: AWAY Default Mode: HEAT
[20:06:01][C][thermostat.climate:1373]: Supports ECO: YES
[20:06:01][C][thermostat.climate:959]: ECO Is Default: NO
[20:06:01][C][thermostat.climate:966]: ECO Default Target Temperature Low: 20.0°C
[20:06:01][C][thermostat.climate:980]: ECO Default Mode: HEAT
[20:06:01][C][thermostat.climate:1373]: Supports SLEEP: YES
[20:06:01][C][thermostat.climate:959]: SLEEP Is Default: NO
[20:06:01][C][thermostat.climate:966]: SLEEP Default Target Temperature Low: 21.0°C
[20:06:01][C][homeassistant.time:010]: Home Assistant Time:
[20:06:01][C][homeassistant.time:011]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[20:06:01][C][status:034]: Status Binary Sensor 'nspanelhostovska Status'
[20:06:01][C][status:034]: Device Class: 'connectivity'
[20:06:01][C][captive_portal:088]: Captive Portal:
[20:06:01][C][web_server:168]: Web Server:
[20:06:01][C][web_server:169]: Address: nspanelhostovska.local:80
[20:06:01][C][mdns:115]: mDNS:
[20:06:01][C][mdns:116]: Hostname: nspanelhostovska
[20:06:01][C][ota:097]: Over-The-Air Updates:
[20:06:01][C][ota:098]: Address: nspanelhostovska.local:3232
[20:06:01][C][ota:101]: Using Password.
[20:06:01][C][api:139]: API Server:
[20:06:01][C][api:140]: Address: nspanelhostovska.local:6053
[20:06:01][C][api:142]: Using noise encryption: YES
[20:06:01][C][wifi_info:009]: WifiInfo IPAddress 'nspanelhostovska IP'
[20:06:01][C][wifi_info:011]: WifiInfo SSID 'nspanelhostovska SSID'
[20:06:01][C][wifi_info:012]: WifiInfo BSSID 'nspanelhostovska BSSID'
[20:06:01][C][http_request:013]: HTTP Request:
[20:06:01][C][http_request:014]: Timeout: 5000ms
[20:06:01][C][http_request:015]: User-Agent: ESPHome
[20:06:01][C][http_request:016]: Follow Redirects: 1
[20:06:01][C][http_request:017]: Redirect limit: 3
[20:06:01][C][wifi_signal.sensor:009]: WiFi Signal 'nspanelhostovska RSSI'
[20:06:01][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[20:06:02][C][wifi_signal.sensor:009]: State Class: 'measurement'
[20:06:02][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[20:06:02][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[20:06:07][D][sensor:094]: 'ntc_source': Sending state 1.61000 V with 2 decimals of accuracy
[20:06:07][D][resistance:039]: 'resistance_sensor' - Resistance 10669.8Ω
[20:06:07][D][sensor:094]: 'resistance_sensor': Sending state 10669.82324 Ω with 1 decimals of accuracy
[20:06:07][D][ntc:026]: 'nspanelhostovska Temperature' - Temperature: 23.5°C
[20:06:07][D][sensor:094]: 'nspanelhostovska Temperature': Sending state 24.54803 °C with 1 decimals of accuracy
[20:06:07][D][climate:396]: 'nspanelhostovska Thermostat' - Sending state:
[20:06:07][D][climate:399]: Mode: HEAT
[20:06:07][D][climate:401]: Action: IDLE
[20:06:07][D][climate:410]: Preset: HOME
[20:06:07][D][climate:419]: Current Temperature: 24.55°C
[20:06:07][D][climate:425]: Target Temperature: 23.00°C
[20:06:07][D][main:1786]: Climate state changed - Start
[20:06:07][D][text_sensor:064]: 'nspanelhostovska Detailed Entity': Sending state 'embedded_climate'
[20:06:07][D][main:1793]: Climate state changed - End
[20:06:07][W][component:214]: Component adc.sensor took a long time for an operation (0.05 s).
[20:06:07][W][component:215]: Components should block for at most 20-30ms.
[20:06:09][D][nextion:464]: Got new page: 8
[20:06:09][D][display.disp1.on_page:753]: Nextion page changed
[20:06:09][D][display.disp1.on_page:754]: New page: boot (8)
[20:06:16][D][sensor:094]: 'nspanelhostovska Uptime seconds': Sending state 48.88000 s with 0 decimals of accuracy
[20:06:19][D][nextion:464]: Got new page: 8
[20:06:19][D][display.disp1.on_page:753]: Nextion page changed
[20:06:19][D][display.disp1.on_page:754]: New page: boot (8)
[20:06:22][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:06:22][D][esp32.preferences:143]: Saving 1 preferences to flash: 1 cached, 0 written, 0 failed
[20:06:27][D][sensor:094]: 'nspanelhostovska RSSI': Sending state -79.00000 dBm with 0 decimals of accuracy
[20:06:29][D][nextion:464]: Got new page: 8
[20:06:29][D][display.disp1.on_page:753]: Nextion page changed
[20:06:29][D][display.disp1.on_page:754]: New page: boot (8)
WARNING nspanelhostovska @ 192.168.1.245: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for nspanelhostovska @ 192.168.1.245
WARNING Disconnected from API
INFO Successfully connected to nspanelhostovska @ 192.168.1.245 in 0.107s
INFO Successful handshake with nspanelhostovska @ 192.168.1.245 in 0.392s
[20:07:01][D][time:045]: Synchronized time: 2024-01-20 20:07:01
[20:07:01][D][main:090]: System clock synchronized
[20:07:01][D][sensor:094]: 'nspanelhostovska API uptime': Sending state 1705777664.00000 with 0 decimals of accuracy
[20:07:01][D][sensor:094]: 'nspanelhostovska Device uptime': Sending state 1705777664.00000 with 0 decimals of accuracy
[20:07:07][D][sensor:094]: 'ntc_source': Sending state 1.60800 V with 2 decimals of accuracy
[20:07:07][D][resistance:039]: 'resistance_sensor' - Resistance 10644.0Ω
[20:07:07][D][sensor:094]: 'resistance_sensor': Sending state 10643.97266 Ω with 1 decimals of accuracy
[20:07:07][D][ntc:026]: 'nspanelhostovska Temperature' - Temperature: 23.6°C
[20:07:07][D][sensor:094]: 'nspanelhostovska Temperature': Sending state 24.60209 °C with 1 decimals of accuracy
[20:07:07][D][climate:396]: 'nspanelhostovska Thermostat' - Sending state:
[20:07:07][D][climate:399]: Mode: HEAT
[20:07:07][D][climate:401]: Action: IDLE
[20:07:07][D][climate:410]: Preset: HOME
[20:07:07][D][climate:419]: Current Temperature: 24.60°C
[20:07:07][D][climate:425]: Target Temperature: 23.00°C
[20:07:07][D][main:1786]: Climate state changed - Start
[20:07:07][D][text_sensor:064]: 'nspanelhostovska Detailed Entity': Sending state 'embedded_climate'
[20:07:07][D][main:1793]: Climate state changed - End
[20:07:09][D][nextion:464]: Got new page: 8
[20:07:09][D][display.disp1.on_page:753]: Nextion page changed
[20:07:09][D][display.disp1.on_page:754]: New page: boot (8)
[20:07:16][D][sensor:094]: 'nspanelhostovska Uptime seconds': Sending state 108.88000 s with 0 decimals of accuracy
[20:07:19][D][nextion:464]: Got new page: 8
[20:07:19][D][display.disp1.on_page:753]: Nextion page changed
[20:07:19][D][display.disp1.on_page:754]: New page: boot (8)
[20:07:22][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:07:22][D][esp32.preferences:143]: Saving 1 preferences to flash: 1 cached, 0 written, 0 failed
[20:07:27][D][sensor:094]: 'nspanelhostovska RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[20:07:29][D][nextion:464]: Got new page: 8
[20:07:29][D][display.disp1.on_page:753]: Nextion page changed
[20:07:29][D][display.disp1.on_page:754]: New page: boot (8)
[20:07:35][D][nextion:446]: Got touch event:
[20:07:35][D][nextion:447]: page_id: 8
[20:07:35][D][nextion:448]: component_id: 0
[20:07:35][D][nextion:449]: event type: PRESS
[20:07:35][D][nextion:446]: Got touch event:
[20:07:35][D][nextion:447]: page_id: 8
[20:07:35][D][nextion:448]: component_id: 0
[20:07:35][D][nextion:449]: event type: RELEASE
[20:07:36][D][nextion:446]: Got touch event:
[20:07:36][D][nextion:447]: page_id: 8
[20:07:36][D][nextion:448]: component_id: 0
[20:07:36][D][nextion:449]: event type: PRESS
[20:07:36][D][nextion:446]: Got touch event:
[20:07:36][D][nextion:447]: page_id: 8
[20:07:36][D][nextion:448]: component_id: 0
[20:07:36][D][nextion:449]: event type: RELEASE
[20:07:36][D][nextion:446]: Got touch event:
[20:07:36][D][nextion:447]: page_id: 8
[20:07:36][D][nextion:448]: component_id: 0
[20:07:36][D][nextion:449]: event type: PRESS
[20:07:36][D][nextion:446]: Got touch event:
[20:07:36][D][nextion:447]: page_id: 8
[20:07:36][D][nextion:448]: component_id: 0
[20:07:36][D][nextion:449]: event type: RELEASE
[20:07:37][D][nextion:446]: Got touch event:
[20:07:37][D][nextion:447]: page_id: 8
[20:07:37][D][nextion:448]: component_id: 0
[20:07:37][D][nextion:449]: event type: PRESS
[20:07:37][D][nextion:446]: Got touch event:
[20:07:37][D][nextion:447]: page_id: 8
[20:07:37][D][nextion:448]: component_id: 0
[20:07:37][D][nextion:449]: event type: RELEASE
[20:07:37][D][nextion:446]: Got touch event:
[20:07:37][D][nextion:447]: page_id: 8
[20:07:37][D][nextion:448]: component_id: 0
[20:07:37][D][nextion:449]: event type: PRESS
[20:07:37][D][nextion:446]: Got touch event:
[20:07:37][D][nextion:447]: page_id: 8
[20:07:37][D][nextion:448]: component_id: 0
[20:07:37][D][nextion:449]: event type: RELEASE
[20:07:37][D][nextion:446]: Got touch event:
[20:07:37][D][nextion:447]: page_id: 8
[20:07:37][D][nextion:448]: component_id: 0
[20:07:37][D][nextion:449]: event type: PRESS
[20:07:38][D][nextion:446]: Got touch event:
[20:07:38][D][nextion:447]: page_id: 8
[20:07:38][D][nextion:448]: component_id: 0
[20:07:38][D][nextion:449]: event type: RELEASE
[20:07:38][D][nextion:446]: Got touch event:
[20:07:38][D][nextion:447]: page_id: 8
[20:07:38][D][nextion:448]: component_id: 0
[20:07:38][D][nextion:449]: event type: PRESS
[20:07:38][D][nextion:446]: Got touch event:
[20:07:38][D][nextion:447]: page_id: 8
[20:07:38][D][nextion:448]: component_id: 0
[20:07:38][D][nextion:449]: event type: RELEASE
[20:07:38][D][nextion:446]: Got touch event:
[20:07:38][D][nextion:447]: page_id: 8
[20:07:38][D][nextion:448]: component_id: 0
[20:07:38][D][nextion:449]: event type: PRESS
[20:07:38][D][nextion:446]: Got touch event:
[20:07:38][D][nextion:447]: page_id: 8
[20:07:38][D][nextion:448]: component_id: 0
[20:07:38][D][nextion:449]: event type: RELEASE
[20:07:39][D][nextion:446]: Got touch event:
[20:07:39][D][nextion:447]: page_id: 8
[20:07:39][D][nextion:448]: component_id: 0
[20:07:39][D][nextion:449]: event type: PRESS
[20:07:39][D][nextion:464]: Got new page: 8
[20:07:39][D][display.disp1.on_page:753]: Nextion page changed
[20:07:39][D][display.disp1.on_page:754]: New page: boot (8)
[20:07:39][D][nextion:446]: Got touch event:
[20:07:39][D][nextion:447]: page_id: 8
[20:07:39][D][nextion:448]: component_id: 0
[20:07:39][D][nextion:449]: event type: RELEASE
[20:07:39][D][nextion:446]: Got touch event:
[20:07:39][D][nextion:447]: page_id: 8
[20:07:39][D][nextion:448]: component_id: 4
[20:07:39][D][nextion:449]: event type: PRESS
[20:07:39][D][binary_sensor:036]: 'nspanelhostovska Restart': Sending state ON
[20:07:39][D][nextion:446]: Got touch event:
[20:07:39][D][nextion:447]: page_id: 8
[20:07:39][D][nextion:448]: component_id: 4
[20:07:39][D][nextion:449]: event type: RELEASE
[20:07:39][D][binary_sensor:036]: 'nspanelhostovska Restart': Sending state OFF
[20:07:39][D][button:010]: 'nspanelhostovska Restart' Pressed.
[20:07:39][I][restart.button:012]: Restarting device...
[20:07:39][I][app:134]: Rebooting safely...
[20:07:39][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:07:39][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
INFO Processing expected disconnect from ESPHome API for nspanelhostovska @ 192.168.1.245
WARNING Disconnected from API
WARNING Can't connect to ESPHome API for nspanelhostovska @ 192.168.1.245: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.245', port=6053))]: [Errno 113] Connect call failed ('192.168.1.245', 6053) (SocketAPIError)
INFO Trying to connect to nspanelhostovska @ 192.168.1.245 in the background
INFO Successfully connected to nspanelhostovska @ 192.168.1.245 in 0.020s
INFO Successful handshake with nspanelhostovska @ 192.168.1.245 in 0.170s
[20:08:11][D][nextion:464]: Got new page: 8
[20:08:11][D][display.disp1.on_page:753]: Nextion page changed
[20:08:11][D][display.disp1.on_page:754]: New page: boot (8)
[20:08:18][D][sensor:094]: 'ntc_source': Sending state 1.60700 V with 2 decimals of accuracy
[20:08:18][D][resistance:039]: 'resistance_sensor' - Resistance 10631.1Ω
[20:08:18][D][sensor:094]: 'resistance_sensor': Sending state 10631.06934 Ω with 1 decimals of accuracy
[20:08:18][D][ntc:026]: 'nspanelhostovska Temperature' - Temperature: 23.6°C
[20:08:18][D][sensor:094]: 'nspanelhostovska Temperature': Sending state 24.62914 °C with 1 decimals of accuracy
[20:08:18][D][climate:396]: 'nspanelhostovska Thermostat' - Sending state:
[20:08:18][D][climate:399]: Mode: HEAT
[20:08:18][D][climate:401]: Action: IDLE
[20:08:18][D][climate:410]: Preset: HOME
[20:08:18][D][climate:419]: Current Temperature: 24.63°C
[20:08:18][D][climate:425]: Target Temperature: 23.00°C
[20:08:18][D][main:1786]: Climate state changed - Start
[20:08:18][D][text_sensor:064]: 'nspanelhostovska Detailed Entity': Sending state 'embedded_climate'
[20:08:18][D][main:1793]: Climate state changed - End
[20:08:21][D][nextion:464]: Got new page: 8
[20:08:21][D][display.disp1.on_page:753]: Nextion page changed
[20:08:21][D][display.disp1.on_page:754]: New page: boot (8)
[20:08:31][D][sensor:094]: 'nspanelhostovska Uptime seconds': Sending state 51.11200 s with 0 decimals of accuracy
[20:08:31][D][nextion:464]: Got new page: 8
[20:08:31][D][display.disp1.on_page:753]: Nextion page changed
[20:08:31][D][display.disp1.on_page:754]: New page: boot (8)
[20:08:38][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:08:38][D][esp32.preferences:143]: Saving 1 preferences to flash: 1 cached, 0 written, 0 failed
[20:08:41][D][nextion:464]: Got new page: 8
[20:08:41][D][display.disp1.on_page:753]: Nextion page changed
[20:08:41][D][display.disp1.on_page:754]: New page: boot (8)
[20:08:51][D][nextion:464]: Got new page: 8
[20:08:51][D][display.disp1.on_page:753]: Nextion page changed
[20:08:51][D][display.disp1.on_page:754]: New page: boot (8)
The logs are not from v4.2.x. It looks like v4.1.x.
Are you installing the firmware via serial cable or OTA?
If OTA, it could be the case that previous framework was Arduino and you never flashed serial after changing that.
In that case, I would suggest either flashing via serial or changing framework back to arduino
:
esp32:
framework:
type: arduino
I've been using esp-idf framework since the first flash via serial cable which was version 4.1.3. Currently I was doing first OTA update. I'd like to avoid doing manual updates via serial cable...
I've noticed, that even when I clean build files, when I validate the yaml, in the substitutios there is version 4.1.3. From where it's coming?
INFO ESPHome 2023.12.8
INFO Reading configuration /config/esphome/nspanel-hostovska.yaml...
INFO Detected timezone 'Europe/Prague'
substitutions:
version: 4.1.3
Will it help to set manually substition for version 4.2.4 ?
substitutions:
###### CHANGE ME START ######
device_name: "nspanelhostovska"
wifi_ssid: !secret esphome_wifi_ssid
wifi_password: !secret esphome_wifi_password
nextion_update_url: "http://192.168.1.25:8123/local/nspanel_eu.tft"
##### addon-configuration #####
## addon_climate ##
heater_relay: "1" # default=0 possible values 1/2
temp_units: "°C" # default="°C"
temp_min: "18"
temp_max: "25"
temp_step: "0.5"
min_off_time: "60" # default=300
min_run_time: "60" # default=300
min_idle_time: "30" # default=30
version: 4.2.4
##### CHANGE ME END #####
Will it help to set manually substition for version 4.2.4 ?
Nope. They have changes in the protocol.
For some reason your ESPHome isn't downloading the latest version.
Please try changing to ref: beta
. At this moment it is exactly the same as main
, but should force a download.
Looking again now, your yaml have an incorrect path for the advanced file. It should fail compiling.
Please try to comment out that line with a reference to nspanel_esphome_advanced.yaml
.
I've been using esp-idf framework since the first flash via serial cable which was version 4.1.3.
In that case please stay with esp-idf and there's no need for serial flash.
Good catch, advanced yaml file was in different path in 4.1.3, but I still don't understand why my ESPHome was using old version and where it was cached. However when I've corrected advanced file and changed branch to beta it somehow forced ESPHome to use the actual remote branch and now also main branch is correct. It seems to be bug either in ESPHome or its integration in HA. My expectation was that Clean Build Files should handle such behavior and remove old caches.
I am trying to install the correct version now.
I was able to update successfully to 4.2.4, now I am reuploading TFT, but it is uploading really slow. Is it possible to interrupt the upload process without corrupting something?
Yes, press the "Reset" on your display's page (Settings > Devices & Services > ESPHome) or press the reset button bellow the display:
Finally I was able to update all my panels. After the update of ESPHome I had to additionally change baud rate to 921600, by enabling new baud rate entity in HA and changing it there to be able to update TFT. Thank you for the support.
TFT Version
4.2.4
ESPHome Version
2023.12.8
Blueprint Version
4.2.4
Panel Model
NSPanel EU Model
What is the bug?
Panel boot looping on "Initializing..." screen after TFT update
Steps to Reproduce
I've updated panel from 4.1.3 to new version 4.2.4, esphome to 2023.12.8 also blueprint to 4.2.4. After update of TFT to 4.2.4, the panel is not connecting to ESPHome and boot looping on "Initializing..." screen. I am using my own API encryption key in the config. Panel is visible in HA and I am able to connect to it.
I've tried already the following: Reboot of device Reinstallation of esphome firmware Deletion and readding device in HA Reuploading blank TFT or older TFT version is not possible
My other panels are currently working correctly with updated 4.2.4 firmware but with old TFT version.
Your panel's YAML
ESPHome logs
Home Assistant logs
No response