I'm not very knowledgeable with this stuff so was curious about a couple things in my new home construction. In the first picture, I'd like to know what the yellow valve(circled in red) is for. In the second pictures, I'd like to know what the device circled in red is. Its attached to the white pipe for support, the white pipe is not attached to anything. The orange pipe is for the sprinkler system. There is a grey electric wire coming from the device connects to the water meter.