The proper temperature is the average temperature range of the type of room in which the fermentation was historically done by the culture which invented the specific fermentation dish.
I know this is not what a modern cook wants to hear, but there is no easier way to put it. Recipes were invented to work at a certain temperature, and because this was such a ubiquitous part of the whole thing, and historically so hard to change, that it does not appear in the recipe itself.
For example, if you are creating a sourdough starter, you can easily stay around 20 Celsius. The range is rather wide, but the exact smell of the starter will depend on the temperature you had, as you're likely to get slightly different bacteria at 25 Celsius than at 18 Celsius.
Other recipes will need another temperature. You seem to need well above 30 Celsius for dosa batter to ferment properly. Other cases, such as sauerkraut or wine, need a temperature more common in old European cellars, between 10 and 15 Celsius. Salami might fare best if you have a bit less than that. Yogurt needs to be quite warm, but depending on the temperature you choose within the "warm" range, you will get sharp vinegary bacteria or milder lactic bacteria. And so on.
If you have a modernized recipe which directs you to use room temperature, stay in the 20-25 Celsius range. But if you are not sure the recipe has been made with climatized rooms in mind, you might need to do some research.