1 IR sensor, that controls the 5 LEDs, a RTC module, a DHT22 temp/humidity sensor and 10 Relays.
I was hoping to just drop in the ESP8266 ESP-01 into the working setup and get started with controling it over WIFI with Arduino IOT cloud.
In another thread I leared that its not quite as simple as that, and I'd have to think about board to board communication then...
Here is mentioned thread:
I'm lacking the experience whats the easiest way to go here:
move my whole setup to an IOT cloud compatable Arduino device and potentially have to extend the pin capabiliy
Connecting a Wifi module (like the ESP8622) and make the board to board communication work.
??? something I haven't concidered yet
I hope somebody can drop me some wisdom.
Many thanks in advance
Marius
Since you seem well short of utilising the i/o of the Mega, you might find it simpler and cheaper to use a NodeMCU or an ESP-32 and dispense with Arduino altogether.
Almost always the better idea. The active-low relay modules are readily controlled by a PCF8575 Port Expander Module which will operate 16 of them and the RTC is easy to interface.
A WeMOS D1 Mini is somewhat cheaper than the NodeMCU and the "extra" pins on the latter are illusory.