joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
870 stars 189 forks source link

Model does not match #836

Closed Frank-Bemelman closed 1 year ago

Frank-Bemelman commented 1 year ago

Trying to flash with: FlashNextion http://nspanel.pky.eu/lui-release.tft

First, I get the download progression bar on the display, but nothing further happens. Next attempt. I get a display with 'Model does not match'. Device model: NX4832F035 0110

Output of the console is below. I have the latest Tasmota version: http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin And shows as: Tasmota 12.4.0 by Theo Arends

Tried of cource numerous reboots, but the results are always the same.

Any ideas on what I could try further? Thanks in advance, Cheers, Frank

16:06:53.454 CMD: FlashNextion http://nspanel.pky.eu/lui-release.tft 16:06:53.456 SRC: WebConsole from 192.168.1.178 16:06:53.459 CMD: Grp 0, Cmd 'FLASHNEXTION', Idx 1, Len 37, Pld -99, Data 'http://nspanel.pky.eu/lui-release.tft' 16:06:53.472 MQT: stat/tasmota_nspanel/RESULT = {"FlashNextion":"Done"} 16:06:53.510 FLH: host: nspanel.pky.eu, port: 80, get: /lui-release.tft 16:06:53.515 WIF: DNS failed for nspanel.pky.eu after 2 ms 16:06:53.517 FLH: Connected:false 16:06:53.621 FLH: Retry 2 16:06:53.823 FLH: Retry 3 16:06:54.125 FLH: Retry 4 16:06:54.527 FLH: Retry 5 16:06:54.529 FLH: Nothing available to read! 16:06:54.533 NXP: Nextion command sent = bytes('4452414B4A485355594447424E434A48474A4B534842444EFFFFFF') 16:06:54.537 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF') 16:06:54.541 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF') 16:06:54.545 NXP: Nextion command sent = bytes('636F6E6E656374FFFFFF') 16:07:02.442 CMD: FlashNextion http://nspanel.pky.eu/lui-release.tft 16:07:02.444 SRC: WebConsole from 192.168.1.178 16:07:02.447 CMD: Grp 0, Cmd 'FLASHNEXTION', Idx 1, Len 37, Pld -99, Data 'http://nspanel.pky.eu/lui-release.tft' 16:07:02.459 MQT: stat/tasmota_nspanel/RESULT = {"FlashNextion":"Done"} 16:07:02.499 FLH: host: nspanel.pky.eu, port: 80, get: /lui-release.tft 16:07:02.503 WIF: DNS resolved 'nspanel.pky.eu' (46.232.251.72) in 1 ms 16:07:02.545 FLH: Connected:true 16:07:02.652 FLH: Retry 2 16:07:02.999 FLH: HTTP Respose is 200 OK or 206 Partial Content 16:07:03.002 FLH: Flash file size: 8202460 16:07:03.011 NXP: Nextion command sent = bytes('4452414B4A485355594447424E434A48474A4B534842444EFFFFFF') 16:07:03.015 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF') 16:07:03.019 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF') 16:07:03.023 NXP: Nextion command sent = bytes('636F6E6E656374FFFFFF')

joBr99 commented 1 year ago

Model does not match usally appears if the display recived garage instead of an tft file.

Your first attempt failed because of DNS:

16:06:53.515 WIF: DNS failed for nspanel.pky.eu after 2 ms

You can try to host the tft file locally on your own webserver, for example directly on homeassistant.

image

FlashNextion http://192.168.75.30:8123/local/nspanel.tft

Frank-Bemelman commented 1 year ago

Thank you - tried that, and it gave similar output.

So, I decided to reset the firmware in the tasmota web interface. Reconnected it by entering again SSID and wifi password and updated firmware once again with http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin

Then I did the FlashNextion http://nspanel.pky.eu/lui-release.tft command, and it works as advertised ;-)

Really no idea what the issue was here, but starting from scratch did the trick.

Display is now showing a rotating circle, waiting for content. So I'm ready for the next step.

Thank you for your reply! Cheers, Frank