I have created kind of smart irrigation system with Arduino Mega and sensors like described in high level schema picture attached.
Now I would like to extend my project with introducing ESP8266 as WiFi adapter and target is to finally connect to Cayenne (green marked in the picture)
Does anyone has experience with:
- How to connect Arduino Mega with ESP8266 NodeMCU using it as WiFi
- Working code example for ESP8266 would be appreciated
P.S. If someone is interested for already working part of project I am glad to share it.