Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By iwalker
#37401 Hi

Not quite sure how to upload the Spiffs files from a windows 7 machine.
Have entered my SSID an Pass - It looks like the app is trying to connect to Your Github to download files but is failing.
Code: Select allExample ESPconfig
Sketch size: 333380
Free size: 712704
Settings Manager V1.1
File System mounted sucessfully
ERROR /espman/jq1.11.1.js.gz does not exist
ERROR /espman/jqm1.4.5.css.gz does not exist
ERROR /espman/jqm1.4.5.js.gz does not exist
ERROR /espman/configjava.js does not exist
ERROR /espman/index.htm does not exist
ERROR /espman/images/ajax-loader.gif does not exist
WiFi Mode = 1
Pre init - WiFiStatus = 0, ssid , psk 
WiFi init
Autoconnect WiFiStatus = 0
Auto connect failed..
Trying HARD CODED credentials...
Using ssid xxxxxxxxxx, psk xxxxxxxxxx
Stored Credentials WiFiStatus = 3
Connected to WiFi: WalkerNet
[0] /jq1.11.1.js.gz -> http://sticilface.github.io/espman/examples/ESPmanager-example/data/jq1.11.1.js.gz
HTTP code not correct [-1]
[1] /jqm1.4.5.css.gz -> http://sticilface.github.io/espman/examples/ESPmanager-example/data/jqm1.4.5.css.gz
HTTP code not correct [-1]
[2] /jqm1.4.5.js.gz -> http://sticilface.github.io/espman/examples/ESPmanager-example/data/jqm1.4.5.js.gz

Soft WDT reset

ctx: sys
sp: 3fff2600 end: 3fffffb0 offset: 01b0


Any advice appreciated.

TX
Ian
User avatar
By andrew melvin
#37438 mmm...

that is a little odd. It is doing exactly what it should be doing. If files not found, try to download them. The URLs in your error message work, so it is not that. The -1 error message means that the HTTP client had is connection refused.

Can you try the HTTPclient example and see if that works?

https://github.com/esp8266/Arduino/blob ... Client.ino

but can you replace the
Code: Select all        http.begin("http://192.168.1.12/test.html"); //HTTP


with 1) another website
2) http://sticilface.github.io/espman/exam ... config.htm

if that fails you have 2 (1) other options to upload the files.... (although i don't know about curl in windows, you will have to google, can do each file separately. upload to http://IPofESP/espman/upload

but you can upload the data directory using the SPIFFS upload tool, from the example. That will put everything there.
http://esp8266.github.io/Arduino/versio ... ile-system
User avatar
By iwalker
#37466 Thank Youfor the suggestions

Have installed the spiffs upload tool and uploaded files to device.
Now getting a clean boot but navigating to assigned IP always gives me a Not found: /
Have tried refreshing page with no luck on chrome,firefox and safari.

Arduino 1.6.4
Arduino Esp 2.0.0
Wemos D1 Mini

Tx
Ian