Man gets jail time for scamming homeowners