Understand what you're saying, so:
- It doesn't work like having a Arduino/Mega + W5100, with MY_GATEWAY_W5100.
- Is there NO option to run with a WiFi Shield???
I think we have a misunderstanding here.
Looks like a compiler problem.
The GateWay sketch works fine on Mega2560, with The ENC28J60, in other words, it works with Ethernet.
It also works on a standalone ESP8266, specifying "MY_GATEWAY_ESP8266", which finds the ESP8266WiFi.h.
However but it doesn't work with the Mega2560, or Arduino R3 for that matter, with ESP8266, specifying "MY_GATEWAY_ESP8266", ESP8266WiFi.h not found.
Not sure the Arduino would be suitable, due to limited memory, but since it won't compile, I'll never know.
Has anybody got this combination working?
Same problem with Mega2560 + ESP8266 DoIT WiFi Shield.
It does not compile the MySensors provided example : GateWAYESP8266, modifications, added userid/password ONLY
C:\Users\pwall\AppData\Local\Temp\arduino_modified_sketch_903580\GatewayESP8266.ino:132:25: fatal error: ESP8266WiFi.h: No such file or directory
open preproc\ctags_target_for_gcc_minus_e.cpp: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Mega or Mega 2560.
Yes I understand that the ESP8266 is powerful enough to work without an Arduino but it so happens that I have one MEGA2560 and one WiFi shield, with spidery legs, that mates with the MEGA, and would very much like to see it work.
Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.