Drain smell and identifing washing machine sink trap type
I have read lots of answers about dealing with the smell of drains from a washing machine, sink etc...
My washing machine plumbing seems unusual with the drain away pipe going into a long white pipe that goes under the floorboards but also goes straight up for about 50cms to an end point that has a kind of cap sitting on it. The cap could be forced down but I am worried that if I do this I may create too much pressure if drain gas is a problem.
Occasionally we get a smell of drains that seems to emanate from this pipe but at other times seems to be coming up through the floorboards in the hall about 2 metres away from the machine. The smell doesn't seem to be linked to any use of any specific thing, i.e. shower, washing machine, sink. Neither does it seem to be connected to hot weather, cold, rain etc... Sometimes it doesn't smell for weeks, then it just reappears for a day, or a month.
My questions are: what kind of sink trap or vent is this that ends with a vented cap on top - if I know I can check if it is installed correctly?
Do you think such an unpredictable smell can be from the washine machine vent - if so any ideas how to fix it?
Comment on ballengerb1's post
Identified the vent I described and gave clear practical advice