Page 1 of 1

Failed to update web interface

Posted: Thu Sep 24, 2020 7:11 am
by bexander
After succesufully updated inverter firmware to 4.90R I tried to also update the web interface by doing as instructed below.

"To update web interface go to https://github.com/jsphuebner/esp8266-web-interface
Download files "index.js" and "index.html" and upload them to your ESP8266 using the Update form at the top."

Files uploaded fine but now I can't get the web interface to load in my browser. I've tried restarting the inverter but no change. Wifi is ok so only the web interface thats not ok.

This is what comes up when trying to acces web interface:
IMG_1403.JPG
Any way I can fix this without removing the wifi module from the inverter?

Re: Failed to update web interface

Posted: Sat Sep 26, 2020 1:37 am
by dima
It looks like you uploaded something not from index.html but some github page?

This is a tough spot to get out of without "Soldering GPIO0 to 0"

Arduino IDE with OTA (over-the-air)

1) Connect to ESP WiFi and choose Port as IP
ESP_OTA.png
2) Install Arduino SPIFFS Uploader plug-in
3) Move all web-interface data into a "data" folder except "FSBrowser.ino"
4) Open FSBrowser.ino
5) Do "Sketch Data Upload"
SPIFFS_upload.png
Edit: Try Johannes Linux method

Code: Select all

curl -F 'data=@index.html' http://192.168.4.1/edit

Re: Failed to update web interface

Posted: Sat Sep 26, 2020 5:46 am
by johu
Yes that will fix it. Curl exists for windows also

Re: Failed to update web interface

Posted: Sat Sep 26, 2020 5:52 am
by bexander
Thank you dima and johu!
Fixed using curl.
My mistake was that I didn't download the files correctly from github, instead I saved the source which resulted in the html of the webpage and not the intended file. Next time I will check the html file before I upload it.

Re: Failed to update web interface

Posted: Sun Oct 04, 2020 9:40 am
by james@N52E01
I'm about to do the same procedure, I have "index.js" and "index.html" from the link provided on the Inverter Firmware v4.90.R thread. Hopefully no issue there.

Can I add a further question to this thread please as it may be related? I also plan to update to v4.90.R using FOC, the web interface updater says:
Use binary files (stm32sine_HWCONFIG_XXX.bin) for updating inverter firmware. Upload any other file for updating this web interface.

I couldn't find any file titled stm32sine_HWCONFIG_....bin or similar in the github repository for v4.90.R. Am I looking in the wrong place or for the wrong file or just blind :twisted:

Re: Failed to update web interface

Posted: Sun Oct 04, 2020 12:10 pm
by bexander
The example text (stm32sine_HWCONFIG_XXX.bin) is just telling you to use the .bin files.
Use the stm32_foc.bin from the 4.90 release and you should be good.

Re: Failed to update web interface

Posted: Sun Oct 04, 2020 12:34 pm
by james@N52E01
Brilliant, thanks bexander will give that a go

Re: Failed to update web interface

Posted: Fri Oct 09, 2020 9:30 am
by james@N52E01
Just loaded the new firmware and updated the web interface, worked absolutely fine :)