All of my indoor plants are infested with tiny flies in the compost. They really are becoming unbearable as they can be found all over the house. Fairly sure they are mushroom flies as I can see the larvae in the compost. I know that keeping soil dry might help but I have cucumber,chilli and squash that need regular water. Had the same problem last year. Have tried spraying with general bug repellent but no good. Is there anything I can use to get rid of these horrible pests?
Try to keep the pots moist but not wet and allow the compost to dry, without the plants wilting, but almost to the point of wilting. Just occasionally.
It is not necessary to keep cucumber, chilli and squash that wet.