Deductions & credits

If the generator was installed on your personal residence, not used as a rental or in a business, the cost cannot be deducted on your tax return.  The cost would be added to the basis of the home when it is sold.