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
Cloud and rain will continue to spread across Northern Ireland and Scotland through the day. The rain will be accompanied by a strong wind.
Two Birmingham men have been found guilty of funding Brussels airport bombing suspect Mohamed Abrini - known as "the man in the hat".
The actor was best known for his role as Maester Aemon in the TV hit and sitcom Porridge.