Mike and Terri Church's book warned against and suggested going solar autonomous if possible.
We had problems in Yucatan several years ago and son (in solar business) and family flew down to spend time with us. He brought down a battey charger so that intermittant power/voltage fluctuations would not damage electronics. He designed and fabricated this into both of our solar/LFP rigs. We just use a 15 amp 120 V power cord to the pedestal which goes to battery charger (which is apparently happy from 60 to 220 V). This supplies 48 V to LFP bank in our 5th wheel and 12 V to LFP bank in Roadtrek.
We have purchased a recepticle/outlet checker. These runs $6 to $10 and let you know if recepticle is safe. A multimeter will give more specific results but these do let one know if outlet is safe: grounded, proper polarity, GFCItest, neutral/ground reversed. Improper wiring can cause a hot chassis resulting in annoying to fatal shocks. Somone on this forum mentioned grounding the chassis with a cable and a copper rod stuck in the ground. We shall be installing this on Roadtrek before we got to Yucatan, southern west coast, and Patzcuaro...
Had hot chassis twice after Patzcuaro and we just relied on solar after that. We had sunny days for six weeks.
Reed and Elaine