In doing so, he filmed three victims - one male and two females including the 13-year-old - while they were naked.
Defence lawyer John Sandston asked for home detention, saying the offending was not of a "physical nature" and that a four-year-old still living with McMaster was "unlikely to be a potential victim".
Police did not believe electronic monitoring would provide a sufficient deterrent to re-offending.
The judge said the 13-year-old was disgusted, angry, upset and could no longer trust people like she used to, especially men of McMaster's age or who looked like him.
Residents of his home did not oppose his detention there, but Child, Youth and Family did, Zohrab said.
McMaster was given leave to convert his sentence to home detention if a different, suitable address could be found, Fairfax reported.