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:
Any way I can fix this without removing the wifi module from the inverter?
Failed to update web interface
Re: Failed to update web interface
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 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" Edit: Try Johannes Linux method
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 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" Edit: Try Johannes Linux method
Code: Select all
curl -F 'data=@index.html' http://192.168.4.1/edit
- johu
- Site Admin
- Posts: 5842
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 164 times
- Been thanked: 1062 times
- Contact:
Re: Failed to update web interface
Yes that will fix it. Curl exists for windows also
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- bexander
- Posts: 835
- Joined: Tue Jun 16, 2020 6:00 pm
- Location: Gothenburg, Sweden
- Has thanked: 63 times
- Been thanked: 89 times
Re: Failed to update web interface
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.
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.
- james@N52E01
- Posts: 144
- Joined: Wed Sep 18, 2019 7:02 am
- Has thanked: 2 times
- Been thanked: 3 times
Re: Failed to update web interface
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
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
- bexander
- Posts: 835
- Joined: Tue Jun 16, 2020 6:00 pm
- Location: Gothenburg, Sweden
- Has thanked: 63 times
- Been thanked: 89 times
Re: Failed to update web interface
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.
Use the stm32_foc.bin from the 4.90 release and you should be good.
- james@N52E01
- Posts: 144
- Joined: Wed Sep 18, 2019 7:02 am
- Has thanked: 2 times
- Been thanked: 3 times
- james@N52E01
- Posts: 144
- Joined: Wed Sep 18, 2019 7:02 am
- Has thanked: 2 times
- Been thanked: 3 times
Re: Failed to update web interface
Just loaded the new firmware and updated the web interface, worked absolutely fine