Blackymas / NSPanel_HA_Blueprint

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

the recent version seem to have multiple issues and crash panels #2046

Open rudgej opened 1 month ago

rudgej commented 1 month ago

TFT Version

4.3.4

ESPHome Version

4.3.4

Blueprint Version

4.3.4

Panel Model

EU

What is the bug?

There seem to be multiple issues with recent versions.

I updated about 4 weeks ago ( I dont know the version sorry) and this killed 3 of my 15 panels. They seemed to update in portrait and then showed a blank screen with error and then died.

I had no time to deal with it.

I updated today to 4.3.4 and the blank panels started working. They updated in portrait and then started working.

However i now have 2 panels with blank screens that show as version 0.0.0.0 in HA warnings. Pushing update does not change the issue.

I have another that is seemingly online but once complied i wont update - says failed.

The buttons seem laggy. I can turn on a light and the icon eventually changes colour to show on, and then turn off and it will change back minutes later.

The project is great ( and free lets be honest) but it seems that additions are being made that simply make it less stable.

I have 15 of then running and until 4 weeks ago updates were smooth, but now this is soaking time.

Please bear in mind i have 15 panels so I dont believe i am doing anything "wrong" as the rest of them work - but updates now seem to be relatively troublesome.

NSPanel TFT Display Needs Update The TFT version on your NSPanel is outdated for the panel masterbed2.

Current TFT version: 000.000 Expected version: 4.3.4 How to Resolve This Issue Navigate to the device page. In the "Configuration" section, find the option labeled "Update TFT Display - Model". Click "Update TFT Display" to initiate the update process. Please wait patiently until your panel restarts, indicating the update is complete. For more detailed instructions, please refer to the onli

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 1 month ago

Could you please collect ESPHome logs during the TFT transfer process and share it here?

rudgej commented 1 month ago

This is one - this one fails to complete the upload.

INFO ESPHome 2024.3.2 INFO Reading configuration /config/esphome/masterbed2.yaml... INFO Detected timezone 'Europe/London' INFO Generating C++ source... INFO Compiling app... Processing masterbed2 (board: esp32dev; framework: espidf; platform: platformio/espressif32@5.4.0)

Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5 INFO Installing bblanchon/ArduinoJson @ 6.18.5 Unpacking [####################################] 100% Library Manager: ArduinoJson@6.18.5 has been installed! INFO ArduinoJson@6.18.5 has been installed! HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

INFO Successfully compiled program. INFO Connecting to 192.168.20.30 INFO Uploading /data/build/masterbed2/.pioenvs/masterbed2/firmware.bin (1144960 bytes) Uploading: [================================== ] 57% ERROR Error receiving acknowledge chunk OK: timed out

rudgej commented 1 month ago

This is another. This one uploaded OK but not says System Data Error in portrait.

This is what i was having with different panels last time which on this update cleared on two of them - i had tried all manner of re uploading and nothing would work until this update which fixed 2 and broke 3!

INFO ESPHome 2024.3.2 INFO Reading configuration /config/esphome/topstairsfirst.yaml... INFO Detected timezone 'Europe/London' INFO Starting log output from 192.168.20.68 using esphome API INFO Successfully connected to topstairsfirst @ 192.168.20.68 in 0.118s INFO Successful handshake with topstairsfirst @ 192.168.20.68 in 0.064s [16:03:19][I][app:102]: ESPHome version 2024.3.2 compiled on Apr 11 2024, 15:59:58

[16:03:19][C][wifi:408]: Local MAC: 3C:E9:0E:89:7F:24 [16:03:19][C][wifi:413]: SSID: [redacted] [16:03:19][C][wifi:416]: IP Address: 192.168.20.68 [16:03:19][C][wifi:420]: BSSID: [redacted]

[16:03:19][C][wifi:423]: Signal strength: -77 dB ▂▄▆█ [16:03:19][C][wifi:427]: Channel: 6 [16:03:19][C][wifi:428]: Subnet: 255.255.255.0 [16:03:19][C][wifi:429]: Gateway: 192.168.20.1 [16:03:19][C][wifi:430]: DNS1: 192.168.20.1 [16:03:19][C][wifi:431]: DNS2: 0.0.0.0

[16:03:19][C][logger:167]: Level: DEBUG [16:03:19][C][logger:169]: Log Baud Rate: 0 [16:03:19][C][logger:170]: Hardware UART: UART0 [16:03:19][C][uart.idf:139]: UART Bus 0: [16:03:19][C][uart.idf:140]: TX Pin: GPIO16 [16:03:19][C][uart.idf:141]: RX Pin: GPIO17 [16:03:19][C][uart.idf:143]: RX Buffer Size: 256 [16:03:19][C][uart.idf:145]: Baud Rate: 115200 baud [16:03:19][C][uart.idf:146]: Data Bits: 8 [16:03:19][C][uart.idf:147]: Parity: NONE [16:03:19][C][uart.idf:148]: Stop bits: 1 [16:03:19][C][ledc.output:164]: LEDC Output: [16:03:19][C][ledc.output:165]: Pin GPIO21 [16:03:19][C][ledc.output:166]: LEDC Channel: 0 [16:03:19][C][ledc.output:167]: PWM Frequency: 1000.0 Hz [16:03:19][C][ledc.output:168]: Bit depth: 16 [16:03:19][C][template.binary_sensor:028]: Template Binary Sensor 'Nextion display' [16:03:19][C][template.binary_sensor:028]: Device Class: 'connectivity' [16:03:19][C][template.number:050]: Template Number 'Display Brightness' [16:03:19][C][template.number:050]: Unit of Measurement: '%' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Display Brightness Dimdown' [16:03:19][C][template.number:050]: Unit of Measurement: '%' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Display Brightness Sleep' [16:03:19][C][template.number:050]: Unit of Measurement: '%' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Temperature Correction' [16:03:19][C][template.number:050]: Unit of Measurement: '°C' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Timeout Page'

[16:03:19][C][template.number:050]: Unit of Measurement: 's' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Timeout Dimming'

[16:03:19][C][template.number:050]: Unit of Measurement: 's' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.number:050]: Template Number 'Timeout Sleep'

[16:03:19][C][template.number:050]: Unit of Measurement: 's' [16:03:19][C][template.number:051]: Optimistic: YES [16:03:19][C][template.number:052]: Update Interval: 60.0s [16:03:19][C][template.select:065]: Template Select 'Baud rate'

[16:03:19][C][template.select:066]: Update Interval: 60.0s [16:03:19][C][template.select:069]: Optimistic: YES [16:03:19][C][template.select:070]: Initial Option: 115200 [16:03:19][C][template.select:071]: Restore Value: YES [16:03:19][C][template.select:065]: Template Select 'Wake-up page'

[16:03:19][C][template.select:066]: Update Interval: 60.0s [16:03:19][C][template.select:069]: Optimistic: YES [16:03:19][C][template.select:070]: Initial Option: home [16:03:19][C][template.select:071]: Restore Value: YES [16:03:19][C][template.select:065]: Template Select 'Update TFT display - Model'

[16:03:19][C][template.select:066]: Update Interval: 60.0s [16:03:19][C][template.select:069]: Optimistic: YES [16:03:19][C][template.select:070]: Initial Option: NSPanel EU [16:03:19][C][template.select:071]: Restore Value: YES [16:03:19][C][template.select:065]: Template Select 'Update TFT display - Baud rate'

[16:03:19][C][template.select:066]: Update Interval: 60.0s [16:03:19][C][template.select:069]: Optimistic: YES [16:03:19][C][template.select:070]: Initial Option: 921600 [16:03:19][C][template.select:071]: Restore Value: YES [16:03:19][C][switch.gpio:068]: GPIO Switch 'Nextion display - Power' [16:03:19][C][switch.gpio:091]: Restore Mode: always ON [16:03:19][C][switch.gpio:031]: Pin: GPIO4 [16:03:19][C][template.text_sensor:020]: Template Sensor 'Device Name'

[16:03:19][C][template.text_sensor:020]: Template Sensor 'Detailed Entity'

[16:03:19][C][template.text_sensor:020]: Template Sensor 'Notification Label' [16:03:19][C][template.text_sensor:020]: Template Sensor 'Notification Text' [16:03:19][C][template.text_sensor:020]: Template Sensor 'Version Blueprint'

[16:03:19][C][template.sensor:022]: Template Sensor 'Blueprint' [16:03:19][C][template.sensor:022]: State Class: '' [16:03:19][C][template.sensor:022]: Unit of Measurement: '%' [16:03:19][C][template.sensor:022]: Accuracy Decimals: 1

[16:03:19][C][template.sensor:023]: Update Interval: 60.0s [16:03:20][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Left Button' [16:03:20][C][gpio.binary_sensor:016]: Pin: GPIO14 [16:03:20][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Right Button' [16:03:20][C][gpio.binary_sensor:016]: Pin: GPIO27 [16:03:20][C][switch.gpio:068]: GPIO Switch 'Relay 1' [16:03:20][C][switch.gpio:091]: Restore Mode: restore defaults to OFF [16:03:20][C][switch.gpio:031]: Pin: GPIO22 [16:03:20][C][switch.gpio:068]: GPIO Switch 'Relay 2' [16:03:20][C][switch.gpio:091]: Restore Mode: restore defaults to OFF [16:03:20][C][switch.gpio:031]: Pin: GPIO19 [16:03:20][C][template.switch:068]: Template Switch 'Notification unread' [16:03:20][C][template.switch:091]: Restore Mode: always OFF [16:03:20][C][template.switch:057]: Optimistic: YES [16:03:20][C][template.switch:068]: Template Switch 'Notification sound' [16:03:20][C][template.switch:091]: Restore Mode: restore defaults to OFF [16:03:20][C][template.switch:057]: Optimistic: YES

[16:03:20][C][psram:021]: Available: YES [16:03:20][C][psram:024]: Size: 2036 KB

[16:03:20][C][nextion:129]: Device Model: NX4832F035_011C [16:03:20][C][nextion:130]: Firmware Version: 72 [16:03:20][C][nextion:131]: Serial Number: 45B03401373BA973 [16:03:20][C][nextion:132]: Flash Size: 16777216 [16:03:20][C][nextion:133]: Wake On Touch: YES [16:03:20][C][nextion:134]: Exit reparse: YES [16:03:20][C][factory_reset.button:011]: Factory Reset Button 'Factory reset'

[16:03:20][C][restart.button:017]: Restart Button 'Restart' [16:03:20][C][adc:097]: ADC Sensor 'ntc_source' [16:03:20][C][adc:097]: Device Class: 'voltage' [16:03:20][C][adc:097]: State Class: 'measurement' [16:03:20][C][adc:097]: Unit of Measurement: 'V' [16:03:20][C][adc:097]: Accuracy Decimals: 2 [16:03:20][C][adc:107]: Pin: GPIO38 [16:03:20][C][adc:122]: Attenuation: 11db [16:03:20][C][adc:141]: Samples: 4 [16:03:20][C][adc:142]: Update Interval: 10.0s [16:03:20][C][resistance:010]: Resistance Sensor 'resistance_sensor' [16:03:20][C][resistance:010]: State Class: 'measurement' [16:03:20][C][resistance:010]: Unit of Measurement: 'Ω' [16:03:20][C][resistance:010]: Accuracy Decimals: 1

[16:03:20][C][resistance:011]: Configuration: DOWNSTREAM [16:03:20][C][resistance:012]: Resistor: 11200.00Ω [16:03:20][C][resistance:013]: Reference Voltage: 3.3V [16:03:20][C][ntc:014]: NTC Sensor 'Temperature' [16:03:20][C][ntc:014]: Device Class: 'temperature' [16:03:20][C][ntc:014]: State Class: 'measurement' [16:03:20][C][ntc:014]: Unit of Measurement: '°C' [16:03:20][C][ntc:014]: Accuracy Decimals: 1 [16:03:20][C][homeassistant.time:010]: Home Assistant Time:

[16:03:21][D][sensor:094]: 'ntc_source': Sending state 1.63017 V with 2 decimals of accuracy [16:03:21][D][resistance:039]: 'resistance_sensor' - Resistance 10933.9Ω [16:03:21][D][sensor:094]: 'resistance_sensor': Sending state 10933.94336 Ω with 1 decimals of accuracy [16:03:21][D][ntc:026]: 'Temperature' - Temperature: 23.0°C [16:03:21][D][sensor:094]: 'Temperature': Sending state 23.00407 °C with 1 decimals of accuracy [16:03:21][W][nextion:405]: Nextion reported variable name invalid!

[16:03:21][C][mdns:116]: Hostname: topstairsfirst [16:03:21][C][ota:096]: Over-The-Air Updates: [16:03:21][C][ota:097]: Address: topstairsfirst.local:3232 [16:03:21][C][ota:100]: Using Password. [16:03:21][C][ota:103]: OTA version: 2. [16:03:21][C][api:139]: API Server: [16:03:21][C][api:140]: Address: topstairsfirst.local:6053 [16:03:21][C][api:144]: Using noise encryption: NO [16:03:21][C][wifi_signal.sensor:009]: WiFi Signal 'RSSI' [16:03:21][C][wifi_signal.sensor:009]: Device Class: 'signal_strength' [16:03:21][C][wifi_signal.sensor:009]: State Class: 'measurement' [16:03:21][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm' [16:03:21][C][wifi_signal.sensor:009]: Accuracy Decimals: 0

[16:03:28][D][sensor:094]: 'RSSI': Sending state -76.00000 dBm with 0 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][sensor:094]: 'Blueprint': Sending state 3.22581 % with 1 decimals of accuracy [16:03:29][W][component:232]: Component api took a long time for an operation (67 ms). [16:03:29][W][component:233]: Components should block for at most 30 ms. [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][sensor:094]: 'Blueprint': Sending state 9.67742 % with 1 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][sensor:094]: 'Blueprint': Sending state 22.58064 % with 1 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][sensor:094]: 'Blueprint': Sending state 48.38710 % with 1 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][text_sensor:064]: 'Version Blueprint': Sending state '4.3.4'

[16:03:29][D][script.page_changed:2377]: New page: [16:03:29][D][text_sensor:064]: 'Detailed Entity': Sending state '' [16:03:29][D][script.timer_dim:3007]: Waking up on page:

[16:03:29][D][sensor:094]: 'Blueprint': Sending state 100.00000 % with 1 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:366]: Nextion reported page ID invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][D][sensor:094]: 'Display Current brightness': Sending state 25.00000 % with 0 decimals of accuracy [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:29][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][script.watchdog:3198]: Wi-Fi: Weak (-76 dBm) [16:03:30][I][script.watchdog:3210]: API: Connected

[16:03:30][I][script.watchdog:3230]: Version: 4.3.4 [16:03:30][I][script.watchdog:3231]: Init steps: 62 (100.0%)

[16:03:30][I][script.watchdog:3241]: Version: 4.3.4 [16:03:30][I][script.watchdog:3242]: Compiler: 2024.3.2 [16:03:30][I][script.watchdog:3247]: Framework: ESP-IDF [16:03:30][I][script.watchdog:3254]: Free heap: [16:03:30][I][script.watchdog:3258]: Internal: 203740 bytes (57.9%) [16:03:30][I][script.watchdog:3265]: PSRAM: 2007039 bytes (96.2%)

[16:03:30][I][script.watchdog:3271]: Baud rate: 115200 bps [16:03:30][I][script.watchdog:3272]: Queue size: 4

[16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:30][W][nextion:405]: Nextion reported variable name invalid! [16:03:31][D][sensor:094]: 'ntc_source': Sending state 1.63067 V with 2 decimals of accuracy [16:03:31][D][resistance:039]: 'resistance_sensor' - Resistance 10940.6Ω [16:03:31][D][sensor:094]: 'resistance_sensor': Sending state 10940.57520 Ω with 1 decimals of accuracy [16:03:31][D][ntc:026]: 'Temperature' - Temperature: 23.0°C [16:03:31][D][sensor:094]: 'Temperature': Sending state 22.99061 °C with 1 decimals of accuracy [16:03:31][W][nextion:405]: Nextion reported variable name invalid! [16:03:34][D][sensor:094]: 'Display Current brightness': Sending state 25.00000 % with 0 decimals of accuracy

rudgej commented 1 month ago

`I have teken one off the dead ones - says system data error - and flashed it manually.

Same thing.

I can restart the unit. I can toggle the relays - but with large delays - several seconds - but pushing update does nothing.

There used to be a method of loading a blank file but this seems dead now that the new upload method is in place.

leranp commented 1 month ago

Same here, very laggy, blank screens Only from the 4.3 version

edwardtfn commented 1 month ago

@rudgej, your logs are not including the upload TFT part. Could you please try capturing this again from right before you press the upload button until the moment the display restarts (or maybe even a few seconds after that)?

The nspanel_blank.tft still available in the model list, or you can also select the nextion_update_url option on the model, then it will use the same engine as before.

Have you flashed with serial when migrating from Arduino to esp-idf framework?

You can also return it to a previous version and try to see if the performance thing is related to the latest version or if it is something else in Home Assistant. There's a number of people reporting issues with Home Assistant performance or crashes recently, ususaly related to some custom integration issues affecting the whole system: https://github.com/home-assistant/core/issues?q=is%3Aissue+label%3A%22non-thread-safe+operation%22

rudgej commented 1 month ago

Do you have any instructions re the blank file ? I used it once many moons ago under the old method which is now all gone from my config files

all my 15 panels were flashed using the usb adapter when the system changed. The next update on wireless caused issues with some panels 4 weeks ago which if sought to fix without success. This update fixed some panels and killed 3 more so something odd is going on.

I will try and capture more logs but I am away again from Saturday for 4 days so it maybe a short while.

rudgej commented 1 month ago

These are the logs when update is pushed.

17:05:22][W][nextion:405]: Nextion reported variable name invalid!
[17:05:30][W][script.watchdog:3198]: Wi-Fi:         Weak (-71 dBm)
[17:05:30][I][script.watchdog:3210]: API:           Connected
[17:05:30][I][script.watchdog:3228]: Blueprint:
[17:05:30][I][script.watchdog:3230]:   Version:     4.3.4
[17:05:30][I][script.watchdog:3231]:   Init steps:  62 (100.0%)
[17:05:30][I][script.watchdog:3240]: ESPHome:
[17:05:30][I][script.watchdog:3241]:   Version:     4.3.4
[17:05:30][I][script.watchdog:3242]:   Compiler:    2024.3.2
[17:05:30][I][script.watchdog:3247]:   Framework:   ESP-IDF
[17:05:30][I][script.watchdog:3254]:   Free heap:
[17:05:30][I][script.watchdog:3258]:     Internal:   205704 bytes (58.5%)
[17:05:30][I][script.watchdog:3265]:     PSRAM:     2015651 bytes (96.7%)
[17:05:30][I][script.watchdog:3270]: UART:
[17:05:30][I][script.watchdog:3271]:   Baud rate:   115200 bps
[17:05:30][I][script.watchdog:3272]:   Queue size:  0
[17:05:30][I][script.watchdog:3276]: Nextion:
[17:05:30][I][script.watchdog:3277]:   Queue size:  0
[17:05:30][I][script.watchdog:3279]:   Is setup:    True
[17:05:30][I][script.watchdog:3286]:   Init:        True
[17:05:30][W][script.watchdog:3290]:   TFT:         UNKNOWN
[17:05:30][I][script.watchdog:3293]: Packages:
[17:05:30][I][script.watchdog:3295]:   - Core
[17:05:30][I][script.watchdog:3301]:   - Upload TFT
[17:05:30][I][addon_upload_tft.script.watchdog:370]: Add-on Upload TFT:
[17:05:30][I][addon_upload_tft.script.watchdog:371]:   File model: NSPanel EU
[17:05:30][I][addon_upload_tft.script.watchdog:372]:   Valid TFT:  NO
[17:05:30][W][nextion:405]: Nextion reported variable name invalid!
[17:05:30][W][nextion:405]: Nextion reported variable name invalid!
[17:05:30][W][nextion:405]: Nextion reported variable name invalid!
[17:05:30][D][button:010]: 'Update TFT display' Pressed.
[17:05:30][D][script.nextion_status:097]: Nextion status:
[17:05:30][D][script.nextion_status:098]:   Is detected: YES
[17:05:30][D][script.nextion_status:099]:   Is setup:    YES
[17:05:30][D][script.nextion_status:100]:   Queue size:  0
[17:05:30][D][addon_upload_tft.script.upload_tft:191]: Starting the upload script
[17:05:30][D][addon_upload_tft.script.upload_tft:192]:   Valid TFT:               NO
[17:05:30][D][addon_upload_tft.script.upload_tft:193]:   Current baud rate:       115200 bps
[17:05:30][D][addon_upload_tft.script.upload_tft:194]:   Target upload baud rate: 921600 bps
[17:05:30][D][addon_upload_tft.script.upload_tft:195]:   Upload URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_eu.tft
[17:05:32][D][sensor:094]: 'ntc_source': Sending state 1.57783 V with 2 decimals of accuracy
[17:05:32][D][resistance:039]: 'resistance_sensor' - Resistance 10261.3Ω
[17:05:32][D][sensor:094]: 'resistance_sensor': Sending state 10261.33691 Ω with 1 decimals of accuracy
[17:05:32][D][ntc:026]: 'Temperature' - Temperature: 24.4°C
[17:05:32][D][sensor:094]: 'Temperature': Sending state 24.42055 °C with 1 decimals of accuracy
[17:05:32][W][nextion:405]: Nextion reported variable name invalid!
[17:05:32][D][addon_upload_tft.script.open_upload_dialog:124]: Showing upload dialog page
[17:05:32][W][nextion:366]: Nextion reported page ID invalid!
[17:05:34][W][nextion:405]: Nextion reported variable name invalid!
[17:05:36][D][addon_upload_tft.script.report_upload_progress:148]: Set Nextion unavailable for blueprint calls
[17:05:36][D][binary_sensor:036]: 'Nextion display': Sending state OFF
[17:05:36][D][addon_upload_tft.script.report_upload_progress:148]: Stopping other scripts
[17:05:36][D][script.nextion_status:097]: Nextion status:
[17:05:36][D][script.nextion_status:098]:   Is detected: YES
[17:05:36][D][script.nextion_status:099]:   Is setup:    YES
[17:05:36][D][script.nextion_status:100]:   Queue size:  0
[17:05:36][D][addon_upload_tft.script.report_upload_progress:148]: Setting baud rate
[17:05:36][D][script.set_baud_rate:2754]: Baud rate changing from 115200 to 921600 bps
[17:05:36][D][script.set_baud_rate:2755]: Flush UART
[17:05:36][D][script.set_baud_rate:2761]: Sending instruction 'baud=921600' to Nextion
[17:05:36][D][script.set_baud_rate:2763]: Flush UART
[17:05:36][D][script.set_baud_rate:2769]: Set ESPHome new baud rate to 921600 bps
[17:05:36][C][uart.idf:133]: UART 0 was reloaded.
[17:05:36][C][uart.idf:139]: UART Bus 0:
[17:05:36][C][uart.idf:140]:   TX Pin: GPIO16
[17:05:36][C][uart.idf:141]:   RX Pin: GPIO17
[17:05:36][C][uart.idf:143]:   RX Buffer Size: 256
[17:05:36][C][uart.idf:145]:   Baud Rate: 921600 baud
[17:05:36][C][uart.idf:146]:   Data Bits: 8
[17:05:36][C][uart.idf:147]:   Parity: NONE
[17:05:36][C][uart.idf:148]:   Stop bits: 1
[17:05:36][D][script.set_baud_rate:2772]: Current baud rate: 921600 bps
[17:05:38][D][main:334]: Attempting to upload TFT
[17:05:38][D][addon_upload_tft.script.report_upload_progress:148]: Attempt #1 at 921600 bps
[17:05:38][D][addon_upload_tft.script.nextion_upload:108]: Waiting for empty UART and Nextion queues
[17:05:40][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[17:05:40][D][nextion.upload.idf:128]: Nextion TFT upload requested
[17:05:40][D][nextion.upload.idf:129]: Exit reparse: NO
[17:05:40][D][nextion.upload.idf:130]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_eu.tft
[17:05:40][D][nextion.upload.idf:151]: Baud rate: 921600
WARNING topstairsfirst @ 192.168.20.68: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for topstairsfirst @ 192.168.20.68
WARNING Disconnected from API
INFO Successfully connected to topstairsfirst @ 192.168.20.68 in 0.011s
INFO Successful handshake with topstairsfirst @ 192.168.20.68 in 0.112s
[17:06:03][W][nextion:081]: Nextion is not connected! 
[17:06:03][W][nextion:081]: Nextion is not connected! 
[17:06:04][W][nextion:081]: Nextion is not connected! 
[17:06:04][W][nextion:081]: Nextion is not connected! 
[17:06:04][D][sensor:094]: 'ntc_source': Sending state 1.57700 V with 2 decimals of accuracy
[17:06:04][D][resistance:039]: 'resistance_sensor' - Resistance 10251.0Ω
[17:06:04][D][sensor:094]: 'resistance_sensor': Sending state 10250.95801 Ω with 1 decimals of accuracy
[17:06:04][D][ntc:026]: 'Temperature' - Temperature: 24.4°C
[17:06:04][D][sensor:094]: 'Temperature': Sending state 24.44324 °C with 1 decimals of accuracy
[17:06:05][W][nextion:081]: Nextion is not connected! 
[17:06:05][W][nextion:081]: Nextion is not connected! 
[17:06:06][D][api:102]: Accepted 192.168.20.177
[17:06:06][D][api.connection:1159]: Home Assistant 2024.4.2 (192.168.20.177): Connected successfully
[17:06:06][W][script.watchdog:3198]: Wi-Fi:         Weak (-78 dBm)
[17:06:06][I][script.watchdog:3210]: API:           Connected
[17:06:06][I][script.watchdog:3228]: Blueprint:
[17:06:06][W][script.watchdog:3233]:   Init steps:  0 (0.0%)
[17:06:06][W][script.watchdog:3234]:   State:       Pending
[17:06:06][I][script.watchdog:3235]: Requesting blueprint settings
[17:06:06][D][script:077]: Script 'boot_event' restarting (mode: restart)
[17:06:06][I][script.watchdog:3240]: ESPHome:
[17:06:06][I][script.watchdog:3241]:   Version:     4.3.4
[17:06:06][I][script.watchdog:3242]:   Compiler:    2024.3.2
[17:06:06][I][script.watchdog:3247]:   Framework:   ESP-IDF
[17:06:06][I][script.watchdog:3254]:   Free heap:
[17:06:06][I][script.watchdog:3258]:     Internal:   205204 bytes (58.3%)
[17:06:06][I][script.watchdog:3265]:     PSRAM:     2006911 bytes (96.2%)
[17:06:06][I][script.watchdog:3270]: UART:
[17:06:06][I][script.watchdog:3271]:   Baud rate:   115200 bps
[17:06:06][I][script.watchdog:3272]:   Queue size:  0
[17:06:06][I][script.watchdog:3276]: Nextion:
rudgej commented 1 month ago

if you could let me know how to flash with blank I would appreciate it

rudgej commented 1 month ago

i have - i think - uploaded ns panel blank wirelessly.

the screen just shows System Data Error in Landscape down the page.

substitutions:

###### CHANGE ME START ######

  device_name: "topstairsfirst" 
  wifi_ssid: "
  wifi_password: "

  nextion_update_url: "http://homeassistant.local: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: https://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

esp32:
  framework:
    type: esp-idf

    # Set Nextion comms baud rate to 921600 bps
uart:
  - id: !extend tf_uart
    baud_rate: 921600
[17:21:56][D][text_sensor:064]: 'Version Blueprint': Sending state '4.3.4'
[17:21:56][D][script:077]: Script 'check_versions' restarting (mode: restart)
[17:21:56][D][script:077]: Script 'check_versions' restarting (mode: restart)
[17:21:56][D][script.page_changed:2377]: New page: 
[17:21:56][D][text_sensor:064]: 'Detailed Entity': Sending state ''
[17:21:56][D][script:077]: Script 'timer_page' restarting (mode: restart)
[17:21:56][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[17:21:56][D][script.timer_dim:3007]: Waking up on page: 
[17:21:56][D][script:077]: Script 'timer_sleep' restarting (mode: restart)
[17:21:56][D][sensor:094]: 'Blueprint': Sending state 100.00000 % with 1 decimals of accuracy
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:56][W][nextion:366]: Nextion reported page ID invalid!
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:56][D][sensor:094]: 'Display Current brightness': Sending state 25.00000 % with 0 decimals of accuracy
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:56][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:57][W][nextion:405]: Nextion reported variable name invalid!
[17:21:58][D][sensor:094]: 'ntc_source': Sending state 1.57517 V with 2 decimals of accuracy
[17:21:58][D][resistance:039]: 'resistance_sensor' - Resistance 10228.2Ω
[17:21:58][D][sensor:094]: 'resistance_sensor': Sending state 10228.15820 Ω with 1 decimals of accuracy
[17:21:58][D][ntc:026]: 'Temperature' - Temperature: 24.5°C
[17:21:58][D][sensor:094]: 'Temperature': Sending state 24.49317 °C with 1 decimals of accuracy
[17:21:58][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][W][nextion:405]: Nextion reported variable name invalid!
[17:22:00][D][button:010]: 'Update TFT display' Pressed.
[17:22:00][D][script.nextion_status:097]: Nextion status:
[17:22:00][D][script.nextion_status:098]:   Is detected: YES
[17:22:00][D][script.nextion_status:099]:   Is setup:    YES
[17:22:00][D][script.nextion_status:100]:   Queue size:  0
[17:22:00][D][addon_upload_tft.script.upload_tft:191]: Starting the upload script
[17:22:00][D][addon_upload_tft.script.upload_tft:192]:   Valid TFT:               NO
[17:22:00][D][addon_upload_tft.script.upload_tft:193]:   Current baud rate:       115200 bps
[17:22:00][D][addon_upload_tft.script.upload_tft:194]:   Target upload baud rate: 921600 bps
[17:22:00][D][addon_upload_tft.script.upload_tft:195]:   Upload URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_eu.tft
[17:22:02][D][addon_upload_tft.script.open_upload_dialog:124]: Showing upload dialog page
[17:22:02][W][nextion:366]: Nextion reported page ID invalid!
[17:22:04][W][nextion:405]: Nextion reported variable name invalid!
[17:22:06][D][addon_upload_tft.script.report_upload_progress:148]: Set Nextion unavailable for blueprint calls
[17:22:06][D][binary_sensor:036]: 'Nextion display': Sending state OFF
[17:22:06][D][addon_upload_tft.script.report_upload_progress:148]: Stopping other scripts
[17:22:06][D][script.nextion_status:097]: Nextion status:
[17:22:06][D][script.nextion_status:098]:   Is detected: YES
[17:22:06][D][script.nextion_status:099]:   Is setup:    YES
[17:22:06][D][script.nextion_status:100]:   Queue size:  0
[17:22:06][D][addon_upload_tft.script.report_upload_progress:148]: Setting baud rate
[17:22:06][D][script.set_baud_rate:2754]: Baud rate changing from 115200 to 921600 bps
[17:22:06][D][script.set_baud_rate:2755]: Flush UART
[17:22:06][D][script.set_baud_rate:2761]: Sending instruction 'baud=921600' to Nextion
[17:22:06][D][script.set_baud_rate:2763]: Flush UART
[17:22:06][D][script.set_baud_rate:2769]: Set ESPHome new baud rate to 921600 bps
[17:22:06][C][uart.idf:133]: UART 0 was reloaded.
[17:22:06][C][uart.idf:139]: UART Bus 0:
[17:22:06][C][uart.idf:140]:   TX Pin: GPIO16
[17:22:06][C][uart.idf:141]:   RX Pin: GPIO17
[17:22:06][C][uart.idf:143]:   RX Buffer Size: 256
[17:22:06][C][uart.idf:145]:   Baud Rate: 921600 baud
[17:22:06][C][uart.idf:146]:   Data Bits: 8
[17:22:06][C][uart.idf:147]:   Parity: NONE
[17:22:06][C][uart.idf:148]:   Stop bits: 1
[17:22:06][D][script.set_baud_rate:2772]: Current baud rate: 921600 bps
[17:22:06][D][binary_sensor:036]: 'Nextion display': Sending state ON
[17:22:06][E][nextion:285]: Nextion queue is empty!
[17:22:08][D][main:334]: Attempting to upload TFT
[17:22:08][D][addon_upload_tft.script.report_upload_progress:148]: Attempt #1 at 921600 bps
[17:22:08][D][addon_upload_tft.script.nextion_upload:108]: Waiting for empty UART and Nextion queues
[17:22:08][D][sensor:094]: 'ntc_source': Sending state 1.57583 V with 2 decimals of accuracy
[17:22:08][D][resistance:039]: 'resistance_sensor' - Resistance 10236.4Ω
[17:22:08][D][sensor:094]: 'resistance_sensor': Sending state 10236.44238 Ω with 1 decimals of accuracy
[17:22:08][D][ntc:026]: 'Temperature' - Temperature: 24.5°C
[17:22:08][D][sensor:094]: 'Temperature': Sending state 24.47501 °C with 1 decimals of accuracy
[17:22:08][W][nextion:405]: Nextion reported variable name invalid!
[17:22:10][D][addon_upload_tft.script.nextion_upload:116]: Starting TFT upload...
[17:22:10][D][nextion.upload.idf:128]: Nextion TFT upload requested
[17:22:10][D][nextion.upload.idf:129]: Exit reparse: NO
[17:22:10][D][nextion.upload.idf:130]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.4/hmi/nspanel_eu.tft
[17:22:10][D][nextion.upload.idf:151]: Baud rate: 921600
WARNING topstairsfirst @ 192.168.20.68: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for topstairsfirst @ 192.168.20.68
WARNING Disconnected from API
INFO Successfully connected to topstairsfirst @ 192.168.20.68 in 0.008s
INFO Successful handshake with topstairsfirst @ 192.168.20.68 in 0.037s
[17:23:32][D][sensor:094]: 'ntc_source': Sending state 1.57467 V with 2 decimals of accuracy
[17:23:32][D][resistance:039]: 'resistance_sensor' - Resistance 10221.9Ω
[17:23:32][D][sensor:094]: 'resistance_sensor': Sending state 10221.94727 Ω with 1 decimals of accuracy
[17:23:32][D][ntc:026]: 'Temperature' - Temperature: 24.5°C
[17:23:32][D][sensor:094]: 'Temperature': Sending state 24.50679 °C with 1 decimals of accuracy
[17:23:32][W][nextion:405]: Nextion reported variable name invalid!
edwardtfn commented 1 month ago

So, your logs shows your panel crashing when changing it's baud rate for upload. I haven't seen that before. In order to avoid that, I would suggest you go to your device's page (the same where you click the Update TFT button) and click to expand the entities not shown under configuration area: image Then please enable both "Baud rate" and "Update TFT display - Baud rate" entities. You will have to click the entity, then the settings icon in the top, then enable. image

It will take about 30s for these entities to be enabled. You may need to refresh that page.

Once these entities are enabled, please make sure you have both set to 115200bps. This will prevent the system to try a different baud rate during TFT upload.

You should be able to click "Update TFT" again after this change.

About your yaml, I would suggest to remove the framework settings at the end, as esp-idf is already set by default, and will also suggest to remove that uart customization to the baud rate, as I don't know how that will be used now when we have a selector for baud rate.

Your yaml should look like this:

substitutions:

###### CHANGE ME START ######

  device_name: "topstairsfirst" 
  wifi_ssid: "
  wifi_password: "

  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_blank.tft"
  # 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: https://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

For uploading the nspanel_blank.tft now you have 2 options and both are using the "Update TFT display - Model" selector:

image

By selecting the "NSPanel Blank", it will be using the same new engine and will download that file directly from GitHub. Selecting "Use nextion_update_url" means using the "old method", and that will download from the URL set in your panel's yaml (in your case, http://homeassistant.local:8123/local/nspanel_blank.tft).

Please let me know how that works.

edwardtfn commented 1 month ago

By the way, have you had a chance to look at your Home Assistant logs (Settings > System > Logs) for any error related to your panel? It would be nice if you look also at that log for other integrations that could be causing the leggy system as I mentioned on https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/2046#issuecomment-2050336893? This is most likely coming from some other integration misbehaving with a non-thread-safe operation. There are a lot of those popping up since Home Assistant 2024.4.0.

edwardtfn commented 1 month ago

Same here, very laggy, blank screens Only from the 4.3 version

@leranp, do you mind sharing your yaml and logs also? Maybe it will be easier to manage if you share it in another bug report. 😉 Please make sure you hide any sensitive info before sharing your data.

leranp commented 1 month ago

Same here, very laggy, blank screens Only from the 4.3 version

@leranp, do you mind sharing your yaml and logs also? Maybe it will be easier to manage if you share it in another bug report. 😉 Please make sure you hide any sensitive info before sharing your data.

I think it is a HA issue, the new version 2024.4.3 has a PR that fixes the problem Let me wait for 24 hours after the update to see if it happens again

rudgej commented 1 month ago

Thanks. I am away now for 4 days so I will action on my return

leranp commented 4 weeks ago

Same here, very laggy, blank screens Only from the 4.3 version

@leranp, do you mind sharing your yaml and logs also? Maybe it will be easier to manage if you share it in another bug report. 😉 Please make sure you hide any sensitive info before sharing your data.

the problem was happend again, HA was died again this is the log from HA:

2024-04-17 19:21:59.918 ERROR (Thread-2 (run_forever)) [homeassistant.components.automation.nspanel] NSPanel: Main choices: Home page - Custom buttons: Choose at step 2: Home page: Error executing script. Unexpected error for repeat at pos 1: Task <Task pending name='Task-1197609' coro=<_ScriptRun.async_run() running at /usr/src/homeassistant/homeassistant/helpers/script.py:457>> got Future <Task pending name='Task-1197610' coro=<Script.async_run() running at /usr/src/homeassistant/homeassistant/helpers/script.py:1713> cb=[set.remove()]> attached to a different loop
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 507, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 284, in async_wrapper
    await func(*args)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 906, in _async_repeat_step
    await async_run_sequence(iteration, extra_msg)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 857, in async_run_sequence
    await self._async_run_script(script)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1202, in _async_run_script
    result = await self._async_run_long_action(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 699, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
RuntimeError: Task <Task pending name='Task-1197609' coro=<_ScriptRun.async_run() running at /usr/src/homeassistant/homeassistant/helpers/script.py:457>> got Future <Task pending name='Task-1197610' coro=<Script.async_run() running at /usr/src/homeassistant/homeassistant/helpers/script.py:1713> cb=[set.remove()]> attached to a different loop

i will upload the yaml later

edwardtfn commented 4 weeks ago

Looks like it is crashing when fetching data to construct the custom buttons on the home page. Do you have any custom button missing in the panel?

rudgej commented 4 weeks ago

Sorry for my slow reply - I was away.

That fixed it thank you.

One would not load

data/build/masterbed2/.pioenvs/masterbed2/firmware-factory.bin, ready to flash to offset 0x0 ========================= [SUCCESS] Took 48.03 seconds ========================= INFO Successfully compiled program. INFO Connecting to 192.168.20.30 INFO Uploading /data/build/masterbed2/.pioenvs/masterbed2/firmware.bin (1145104 bytes) Uploading: [======== ] 13% ERROR Error receiving acknowledge chunk OK: timed out

so I flashed it manually and it is happy again.

No idea what happened.

One thing that is off is that all of the entries on the config page are duplicated.

Pic Below.

Screenshot 2024-04-20 at 11 19 45

edwardtfn commented 4 weeks ago

Please try to reconnect your panel to HA like describes in the last item in the table: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/error_initializing.md#blueprint-is-not-detected

rudgej commented 3 weeks ago

it will be honest there are 15 of them and this seems a load of work - so I will put up with the double entries ! especially now they are working !

edwardtfn commented 3 weeks ago

You can remove all the 15 (or the ones with this issue all together) and restart just once. It will detect everything when HA is back.