Menu

Welcome to the IAS forum!

Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

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!

jsail
Joined
2021-11-16 20:47:52
Posts
3

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?

Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

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

jsail
Joined
2021-11-16 20:47:52
Posts
3

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.
Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

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.

Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

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.

mikerooney
Joined
2023-06-07 09:29:09
Posts
147

This is a great inspiring article. I am pretty much pleased with your good work. You put really very helpful information. Austin Butler Suit

iamrishu
Joined
2023-09-26 13:19:14
Posts
13

Don’t Worry Guys We are here For You Don’t take any tension We reputed Agency that Provides High Class To Cheap Services providers.There are so many agencies that provide services in the Market, but we are working in the industry from 2012 to Till Now if we talk about us. We served Our Independent Mahipalpur Call Girl to about 10000+ satisfied Customers.

LucyCoffee
Joined
2023-12-11 07:53:53
Posts
2

sex dolls cheap have the potential to play a unique and positive role in strengthening couples' relationships. Whether through shared hobbies, nostalgia, symbolism, enhanced communication, or cultivating creativity, the presence of milf sex doll can contribute to a deeper and more meaningful connection between partners. 

lalisa167
Joined
2023-12-18 10:40:46
Posts
3

I was delighted to see your article on your blog, which is superior to the previous one and demonstrates significant growth. I am very satisfied. I anticipate that your articles will continue to improve. papa's freezeria

movey
Joined
2024-01-10 07:23:56
Posts
3

Dubai's skyline is a testament to architectural innovation and design prowess. As the city continues to evolve, the demand for cutting-edge architectural design services has surged. This blog explores the leading architectural design companies in Dubai, their expertise, and the vibrant landscape of architectural design in the UAE.