Welcome to the IAS forum!
Welcome to the IOT AppStory forum!
Ask questions, post awnsers or ideas and feel free to show off what you are working on!
Welcome to the IAS forum!
Welcome to the IOT AppStory forum!
Ask questions, post awnsers or ideas and feel free to show off what you are working on!
Error on IOTAppStory-ESP 2.0.2 Wemos D1 mini
I use IOTAppStory-ESP 2.0.2 on Arduino 1.8.13
ESP8266 Community version 3.0.2
Board WEMOS D1 mini
Already on verify of IASLoader this error occures:
\Documents\Arduino\libraries\IOTAppStory-ESP\examples\IASLoader\IASLoader.ino:33:0:
\libraries\IOTAppStory-ESP\src/IOTAppStory.h:25:87: fatal error: ESPAsyncTCP.h: No such file or directory
On line 33: #include <IOTAppStory.h>
Is there a GetStarted Docu other then the Wiki I used?
Could you help me?
Hello jsail, welcome to the forum!
ESPAsyncTCP.h: No such file or directory
This would indicate you are missing this library, which the IAS library needs to function.
Iirc it should be available through the arduino IDE library manager, but if not, you can get it from the following github account and install it manually.
https://github.com/me-no-dev/ESPAsyncTCP
In response to Christiaan Broeders (View post):
Hello jsail, welcome to the forum! ESPAsyncTCP.h: No such file or directory This would indicat...
Thank you Christiaan,
I installed ESPAsyncTCP.h; now it is a little better but still with Errors.
Did I mess it somewhere?
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\ESPhttpUpdateIasMod.cpp: In member function 'bool ESP8266HTTPUpdate::handleUpdate(HTTPClient&, int, bool)':
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\ESPhttpUpdateIasMod.cpp:92:15: error: 'U_SPIFFS' was not declared in this scope; did you mean 'SPIFFS'?
92 | command = U_SPIFFS;
| ^~~~~~~~
| SPIFFS
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp: In member function 'void IOTAppStory::httpClientSetup(HTTPClient&, String, bool)':
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp:1614:31: error: no matching function for call to 'begin(String&, char [60])'
1614 | http.begin(url, config.sha1);
| ^
In file included from C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.h:27,
from C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp:1:
C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") __attribute__ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp:1614:27: error: invalid conversion from 'char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
1614 | http.begin(url, config.sha1);
| ~~~~~~~^~~~
| |
| char*
In file included from C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.h:27,
from C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp:1:
C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) __attribute__ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP\src\IOTAppStory.cpp:1614:27: error: invalid conversion from 'char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
1614 | http.begin(url, config.sha1);
| ~~~~~~~^~~~
| |
| char*
Using library IOTAppStory-ESP at version 2.0.0 in folder: C:\Users\joseph.tanner\Documents\Arduino\libraries\IOTAppStory-ESP
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi
Using library ESP8266mDNS at version 1.2 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266mDNS
Using library ESPAsyncTCP at version 1.2.2 in folder: C:\Users\joseph.tanner\Documents\Arduino\libraries\ESPAsyncTCP
Using library ESP8266HTTPClient at version 1.2 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266HTTPClient
Using library DNSServer at version 1.1.1 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\DNSServer
Using library EEPROM at version 1.0 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\EEPROM
Using library ESPAsyncTCP.bak at version 1.2.3 in folder: C:\Users\joseph.tanner\Documents\Arduino\libraries\ESPAsyncTCP.bak
Using library Hash at version 1.0 in folder: C:\Users\joseph.tanner\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Hash
exit status 1
Error compiling for board Generic ESP8266 Module.
I wont have time to dive into this in detail untill the weekend, but judging by the error.
error: 'U_SPIFFS' was not declared in this scope; did you mean 'SPIFFS'?
I would expect you may be using an outdated library, or perhaps incompatible versions.
In response to jsail (View post):
Thank you Christiaan, I installed ESPAsyncTCP.h; now it is a little better but still with Errors. D...
Jsail, i have been doing some tests and i think i have found the problem.
The esp8266 core has been steadily going onward and the IAS codebase has some catching up to do (being done in the background, but it takes time)
Please revert back from ESP8266 Community version 3.0.2 to version 2.7.4.
Several dependancies the IAS library depends on have been changed with ESP8266 core 3.0.0 and higher.
I thoroughly enjoyed every minute of reading, and I have bookmarked your page so that I can check out the new information you offer retro bowl.
I am very happy to be able to participate in the forum and learn a lot of useful information. Papa's freezeria