Sorry to hear about the illness - very frustrating, I'm sure.
If it's any consolation, I've had this too, on occasion - tiredness, heat, and a change of diet seem to be risk factors. Also local tap water, even in countries where I would otherwise think it perfectly safe to drink, so I'd suggest sticking to bottled water if you can.