Smart two-tank water quality and level detection system via IoT