Homes with electricity generation and other off-grid features offer resilient alternatives in a changing world.