NxPanel - Replacement Firmware for Sonoff NSPanel

The issue seems to be with your web server serving the page if you look at your message it says the content-length is 162

14:17:43.785 BRY: GC from 41961 to 20891 bytes, objects freed 547/354 (in 13 ms) - slots from 1151/1152 to 260/563
14:17:43.793 FLH: host: [nxpanel.xxxxxxxxxx.be](http://nxpanel.xxxxxxxxxx.be/), port: 80, get: /nspanel.tft
14:17:43.874 FLH: Connected:true
14:17:43.983 FLH: Retry 1
14:17:44.107 BRY: GC from 41803 to 21379 bytes, objects freed 326/356 (in 33 ms) - slots from 372/563 to 261/563
14:17:44.189 FLH: Size found in header, skip count
14:17:44.192 FLH: Flash file size: 162
14:17:44.198 NXP: Nextion command sent = bytes(‘4452414B4A485355594447424E434A48474A4B534842444EFFFFFF’)

That should be the length of the file, which is a lot more than that, so I don’t think your web server is returning the correct stream for the URL.

Rather than trying to serve the file from your own web server why don’t you just try typing;

installnxpanel

That will download it from mine, which I know works.

Short of that, you’ll need to adress why your webserver in not returning the right thing.
you could uncomment this line in the berry file;
image.png

Which would show you what your headers are, might give you a clue.