One evening last year, David Burek noticed charred wood and a burning smell in his attic, near his young sons’ bedroom. He climbed a ladder and saw a melted connector wire from the solar panels installed on the roof of his North Dartmouth, Massachusetts, home. Firefighters rushed over and discovered that flames had burned through the shingles, the roof and a support beam. Luckily, a recent rain had doused it.