A bus driver who lit a pipe of synthetic marijuana before ploughing into the side of a house also had methamphetamine and morphine in his system, a court has heard.

Security camera footage tendered to the court shows Shaun Murphy behind the wheel of an empty bus, steering with his belly, as he stuffs synthetic marijuana into a pipe before appearing to fall asleep.

His head then rocks back before the bus ploughs into a house.

The bus driver appears to fall asleep before the vehicle smashes into a home, with a family of five inside. (9NEWS)

The 57-year-old driver was on his way from Glendenning to Penrith when he lost control at Glenmore Park earlier this year.

Miraculously no one was injured. Inside, a family of five was lucky to escape.

Murphy pleaded guilty in court today to two serious counts, driving in a dangerous manner and driving under the influence of illicit drugs.

Synthetic marijuana is not illegal, but blood tests, taken in hospital when he was treated for head injuries, revealed he also had morphine and methamphetamine in his system.

Witnesses reporting hearing a big bang when the bus crashed. No one was injured. (9NEWS)

Neighbours said they felt sorry for Murphy after the crash, imagining he had suffered from an ailment which caused him to lose control of the bus.

But today when asked their feelings, they were less forgiving knowing he had been high on drugs.

Murphy had nothing to say today when approached by 9NEWS outside court.