Apart from the C:N ratio, oxygen and water balance is also critical in maintaining the desired temperature of 50 to 70 °C at the most active phase of decomposition. Earthworms naturally help increase oxygen levels in the compost pit. They not only ingest partly decomposed composting material and add their nutritious excreta to it, but also continually re-create aeration and drainage tunnels while moving through the composting material.
The material also needs a moisture content of 40 to 60 percent, to facilitate multiplication of beneficial microbes to make aerobic composting. By watering the pit every 2 to 4 days, you would be able to maintain the requisite oxygen/water ratio.
With all requisite ingredients carbon, nitrogen, oxygen and water maintained in proper balance, microorganisms would be able to break down the organic compost matter to produce compost.
While processing with making of compost at your home I'll recommend vertical garden tower with composter for effective waste management.