Blackymas / NSPanel_HA_Blueprint

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

Help nextion IS not connected #1568

Closed tronk2000 closed 8 months ago

tronk2000 commented 8 months ago

Hello I have a problem I can't get another screen than this one ![Uploading 17048033495878770486058633889611.jpg…]() And here is what I have in the logs 13:24:37][W][nextion:081]: Nextion is not connected! Do you have a solution ? Thx

edwardtfn commented 8 months ago

I cannot see the picture of your screen, could you please share it again?

edwardtfn commented 8 months ago

Also, could you please share a bit more of logs? The logs from the first minute or two after a boot would be nice.

tronk2000 commented 8 months ago

IMG_20240109_170434

tronk2000 commented 8 months ago
INFO Successfully connected to nspanel_1 @ 192.168.1.13 in 0.004s
INFO Successful handshake with nspanel_1 @ 192.168.1.13 in 0.018s
[17:27:12][D][main:2591]: Exit reparse
[17:27:31][D][sensor:094]: 'ntc_source': Sending state 1.67800 V with 2 decimals of accuracy
[17:27:31][D][resistance:039]: 'resistance_sensor' - Resistance 11586.7Ω
[17:27:31][D][sensor:094]: 'resistance_sensor': Sending state 11586.68262 Ω with 1 decimals of accuracy
[17:27:31][D][ntc:026]: 'nspanel_1 Temperature' - Temperature: 21.7°C
[17:27:31][D][sensor:094]: 'nspanel_1 Temperature': Sending state 21.72214 °C with 1 decimals of accuracy
[17:27:32][D][script.nextion_status:2682]: Nextion status:
[17:27:32][D][script.nextion_status:2684]:   Is setup:    False
[17:27:32][E][on_boot:059]: No response from Nextion display
[17:27:32][D][on_boot:060]: Turn off Nextion
[17:27:32][D][switch:016]: 'nspanel_1 Nextion display - Power' Turning OFF.
[17:27:32][D][switch:055]: 'nspanel_1 Nextion display - Power': Sending state OFF
[17:27:32][D][on_boot:046]: Wait 2 seconds
[17:27:34][D][on_boot:063]: Turn on Nextion
[17:27:34][D][switch:012]: 'nspanel_1 Nextion display - Power' Turning ON.
[17:27:34][D][switch:055]: 'nspanel_1 Nextion display - Power': Sending state ON
[17:27:34][D][on_boot:046]: Wait 5 seconds
[17:27:39][D][script.nextion_status:2682]: Nextion status:
[17:27:39][D][script.nextion_status:2684]:   Is setup:    False
[17:27:39][W][component:214]: Component esphome.coroutine took a long time for an operation (7.02 s).
[17:27:39][W][component:215]: Components should block for at most 20-30ms.
[17:27:39][W][nextion:744]: Received unknown event from nextion: 0x55
[17:27:39][D][nextion:580]: system successful start up 0
[17:27:59][D][script.nextion_status:2682]: Nextion status:
[17:27:59][D][script.nextion_status:2684]:   Is setup:    False
[17:27:59][E][on_boot:076]: No response from Nextion display
[17:27:59][D][on_boot:078]: Finished
[17:28:31][D][sensor:094]: 'ntc_source': Sending state 1.68600 V with 2 decimals of accuracy
[17:28:31][D][resistance:039]: 'resistance_sensor' - Resistance 11699.6Ω
[17:28:31][D][sensor:094]: 'resistance_sensor': Sending state 11699.62793 Ω with 1 decimals of accuracy
[17:28:31][D][ntc:026]: 'nspanel_1 Temperature' - Temperature: 21.5°C
[17:28:31][D][sensor:094]: 'nspanel_1 Temperature': Sending state 21.50876 °C with 1 decimals of accuracy
[17:29:31][D][sensor:094]: 'ntc_source': Sending state 1.67800 V with 2 decimals of accuracy
[17:29:31][D][resistance:039]: 'resistance_sensor' - Resistance 11586.7Ω
[17:29:31][D][sensor:094]: 'resistance_sensor': Sending state 11586.68262 Ω with 1 decimals of accuracy
[17:29:31][D][ntc:026]: 'nspanel_1 Temperature' - Temperature: 21.7°C
[17:29:31][D][sensor:094]: 'nspanel_1 Temperature': Sending state 21.72214 °C with 1 decimals of accuracy
[17:29:36][I][ota:117]: Boot seems successful, resetting boot loop counter.
[17:29:36][D][esp32.preferences:114]: Saving 1 preferences to flash...
[17:29:36][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[17:30:31][D][sensor:094]: 'ntc_source': Sending state 1.68200 V with 2 decimals of accuracy
[17:30:31][D][resistance:039]: 'resistance_sensor' - Resistance 11643.0Ω
[17:30:31][D][sensor:094]: 'resistance_sensor': Sending state 11643.01660 Ω with 1 decimals of accuracy
[17:30:31][D][ntc:026]: 'nspanel_1 Temperature' - Temperature: 21.6°C
[17:30:31][D][sensor:094]: 'nspanel_1 Temperature': Sending state 21.61542 °C with 1 decimals of accuracy
tronk2000 commented 8 months ago

''' [17:39:36][W][nextion:081]: Nextion is not connected! [17:39:37][W][nextion:081]: Nextion is not connected! [17:39:37][W][nextion:081]: Nextion is not connected! [17:39:38][W][nextion:081]: Nextion is not connected! [17:39:38][W][nextion:081]: Nextion is not connected! [17:39:39][W][nextion:081]: Nextion is not connected! [17:39:39][W][nextion:081]: Nextion is not connected! [17:39:40][W][nextion:081]: Nextion is not connected! [17:39:40][W][nextion:081]: Nextion is not connected! [17:39:41][W][nextion:081]: Nextion is not connected! [17:39:41][W][nextion:081]: Nextion is not connected! [17:39:42][W][nextion:081]: Nextion is not connected! [17:39:43][W][nextion:081]: Nextion is not connected! [17:39:43][W][nextion:081]: Nextion is not connected! '''

edwardtfn commented 8 months ago

Ok. You have a TFT from another project.

Please click 9 times on the center of that ring and it will open a service page. On that page, click the buttons recmod e baud=115200. I don't have the exact names, but are the two buttons on the bottom right corner. Those buttons are not giving that much feedback, but they are working and will disable the Reparse Mode and set the right baud rate used by the transfer on this project. After that, then press the Upload TFT display. You might have to repeat this process if it fails at the first try, but it it keeps failing, please come back here. Please record the logs.

tronk2000 commented 8 months ago

''' 18:04:21][D][nextion:276]: Manually set nextion report ready [18:04:21][W][nextion:366]: Nextion reported page ID invalid! [18:04:21][E][nextion:285]: Nextion queue is empty! [18:04:21][D][nextion:354]: Nextion is setup [18:04:21][D][script.boot_sequence:2604]: Starting boot sequence [18:04:21][D][script.boot_sequence:2605]: Wait for TFT version [18:04:21][D][main:2591]: Exit reparse [18:04:21][D][script.nextion_status:2682]: Nextion status: [18:04:21][D][script.nextion_status:2684]: Is setup: True [18:04:21][D][script.nextion_status:2682]: Nextion status: [18:04:21][D][script.nextion_status:2684]: Is setup: True

[18:04:21][W][nextion:405]: Nextion reported variable name invalid! [18:04:21][E][nextion:285]: Nextion queue is empty! [18:05:00][W][nextion:405]: Nextion reported variable name invalid! [18:05:00][W][nextion:405]: Nextion reported variable name invalid! [18:05:02][D][sensor:094]: 'ntc_source': Sending state 1.63400 V with 2 decimals of accuracy [18:05:02][D][resistance:039]: 'resistance_sensor' - Resistance 10984.9Ω [18:05:02][D][sensor:094]: 'resistance_sensor': Sending state 10984.87402 Ω with 1 decimals of accuracy [18:05:02][D][ntc:026]: 'nspanel_1 Temperature' - Temperature: 22.9°C [18:05:02][D][sensor:094]: 'nspanel_1 Temperature': Sending state 22.90092 °C with 1 decimals of accuracy '''

tronk2000 commented 8 months ago

IMG_20240109_180549

edwardtfn commented 8 months ago

Don't panic. Just try again.

I don't see in your logs the moment you press the Upload TFT button until it fails. Could you please try to capture that?

tronk2000 commented 8 months ago

IMG_20240109_181225 Thank you ❤️