Buy the following:
1. Tuya water leak sensor
Link: https://www.bobshop.co.za/item/607962327/WIFI_Control_Smart_Life_Tuya_Wireless_Water_Leak_Detector_Sensor.html
2. Usb power adapter for charging phones
I believe you do have a spare one.
3. Usb charging cable or you can use a spare one...
I am currently using Smartthings for that and I didn't include the lights in my automation.
It's a zigbee network.
1. Smartthings Hub (EU Version) with Smartthings App
2. 1 CH Zigbee Relay Module for opening and closing the gate remotely
3. Esp8266 Module with Tasmota Edge for knowing if the...