Water – Pipe on the wall. Water keeps running

pipewater

Please help me to figure out about this pipe.

In our hosue, We have the water pipe coming out from the wall right next to the A/C unit. Recently, the water start running constantly, and I have no know what it is.

The following points are something I am sure about.
1. The water stops running if I turn off the main valve.
2. Water was actually dripping very sometimes like 3, or 4 years ago. It is now running 3 gallons / hours.
3. It is cold water.
4. There are two pipes and joined by some kind of a T socket.
5. The pipes are nothing to do with the A/C unit; it is coming from the ground.

Please anyone give me ideas what it is and how to stop the water.

enter image description here
enter image description here
enter image description here
enter image description here

Best Answer

Looks like it could be a flow activated trap primer:

A trap primer (or trap seal primer) is a plumbing device or valve that adds water to traps. The water seals in traps are needed to prevent sewer gases from entering buildings, but because this water is exposed to the air, it is subject to evaporation over time in infrequently used floor drains, leading to the release of sewer gas into the environment. The trap primer mitigates this problem by injecting water, either directly or indirectly, into the trap to maintain the water seal indefinitely. - Wikipedia

enter image description here

Example of one here and as well as the source of the above image (link is to a PDF, only picked this one as it was one of the first search results).

Look to see if you can find a make and/or model number on the 'Tee'. You may need to use a small mirror or camera to see the backside.

If it is now constantly flowing, there may be on obstruction inside the valve preventing it from functioning correctly. It could also be broken and in need of replacement. Depending on the valve, you may be able to just replace the internals.