A valve for use with a showerhead assembly includes a housing having a threaded inlet for connecting to a water source and a distally located front face with nozzles. The nozzles are connected to the threaded inlet by a central conduit which is closeable by an electronically controlled valve. The valve is controlled by a processor which opens the valve based on temperature and audio signals above a predetermined decibel level.