Gregoire said that his home in Greenwich, Connecticut lies adjacent to a river and his garden has a maze of pumps to guard against flooding, all hooked up to an iPhone app and programmed by his plumber.