Tanker - A IoT Aquarium

Can someone help me to do this with a mega and an ESP 01. I am trying to do it with the same code but now cayenne use MQTT. ALso I am not including current sensor only auto feeding, relays and dimming ligths

sorry for not getting back. Cayenne-MQTT-Arduino/examples/Connections/ESP8266Shield at master · myDevicesIoT/Cayenne-MQTT-Arduino · GitHub you can use this code to connect mega with esp 01.