Judge Thomas Ingram, who sentenced Ganderton, said this type of offending was "not a minor offence" and invariably the sentence starting point must be 18-months' prison.
But the judge said to Ganderton's credit he had no similar matters in his criminal history, also took into account his early guilty pleas and co-operation with the police.
Judge Ingram said he was satisfied that this was a case where 6 months of home detention was "preferable" to a prison sentence, with six months of release conditions.
"Thank you very much," a relieved Ganderton said.
Judge Ingram warned Ganderton that should he re-offend in a similar way or breach the ban on possessing alcohol and drugs during his sentence he would be "for high jump".
"Even having a can of alcohol in your possession, you don't have to be drinking it, that will be a breach of home detention," the judge said.
"That you Judge," Ganderton said as he left the courtroom.