Judge Harvey said he had grave reservations that Haslam cultivated that many plants for personal use as it was more than a backyard operation and was relatively sophisticated.
Had there been evidence that he was selling the drug, the judge said Haslam would have gone to jail.
Haslam went cold turkey in that he did not wish to be treated for his back and neck pains, Judge Harvey said.
Haslam had 43 previous convictions of which six were cannabis-related, he said.
Crown prosecutor David Stevens said the effects of cannabis was well-known and that premeditation was involved in the offending.
Haslam's lawyer Megan Scally submitted that although he had a history of cannabis offending, there was no conviction for commercial dealing.
He has a track record of complying with community-based sentences, she said.
Ms Scally said Haslam was trying to re-enter work in the construction sector after six years caring for his sick father.
Judge Harvey said children in the house where cannabis was recovered did not know of the drug cultivation.
He sentenced him to six months' home detention and ordered that he perform 200 hours' community work.
An order for the destruction of the growing equipment was made.