I've had a good mealworm farm since 2008. I use plastic bin & put the lid on leaving abt 1" open for some air, & necessary humidity is kept in. I have it sitting about 4 feet from a window so they do get the experience of day & night but not direct sun cold air transfer. My house temperature ranges from 70-75 degrees. I add some chicken pellets & always keep adding 1 sliced potato per week. I do not remove the old dried out potato slices, as they usually have worm eggs on them. I do "clean" the farm 1x in late spring but do it a certain way, I have a 2nd bin & transfer worms, beetles & larvae to new bin, add a little bit of chicken feed & fresh potatoes. I move worms over from old bin to new, as they hatch & grow & I see them. 1st hatched worms are very tiny! I still add potato slices weekly to old bin as well as new bin. There's a point in time where no new worms hatch in the old bin, usually by 2 mos or so. Only then do I dump that into the compost heap.
The only thing to watch for is if you see any moldy potato or feed, remove it. I am grabbing a few worms daily anyway so look for mold daily. How I avoid that is to set the 1st potato slices so only the skin of potato is touching any pieces of chicken feed. As more time goes by & you have dried out potato slices (they get like a rock) you can place the new potato moist slices on top of those, but stagger them. If you put a moist slice down completely covered, it will get moldy.
So...basically give worms proper conditions to flourish...temperature, humidity, food. Hope this helps!