Andrew Partington drunkenly cut two gas pipes in his house because his girlfriend had left him and taken their children, the court heard.
He sent a series of Blackberry instant messages to partner Ms Williams on the night before the explosion.
In one he wrote: "Told you next time you leave, house goes up with me. You left your kids with no dad no home. Goodbye. Boom. Gas pipes cut. Already filled up. Boom."
He let his house fill with gas overnight, but said he woke up and cut the gas supply and opened windows.
Partington then lit a cigarette, with devastating consequences.
More top news
Andy Murray has beaten Belgian David Goffin to win the Davis Cup for Great Britain for the first time since 1936
Mercedes' Nico Rosberg has won the season-ending Abu Dhabi Grand Prix, with team-mate Lewis Hamilton coming second
Celebrities and campaigners have joined a huge rally urging world leaders to agree tough measures to curb global warming