Or just active control? Set a desired output water temp, and let a computer constantly fiddle with the valves slightly to keep the output constant. Monitoring the current temp of the input lines would help but not be necessary.
I mostly don't like that every few minutes, I have to turn down the cold water a smidge, as fresher colder water from the ground comes up through the pipe. My shower has two valves for hot and cold separate, so I turn the hot water all the way on, then add just enough cold water to achieve human shower temps at full pressure.
You don't need a computer, or even electricity. Thermostatic shower valves are 100% mechanical, and work beautifully. There are models available that will automatically compensate for both temperature and pressure changes, keeping the output temperature constant.
Interestingly, control valves employed in this way tend to wear out very quickly or else they are slow and expensive so that they can be made more durable. Anybody working on this needs to hit that "good, fast and cheap" triple point.
This is why wax motors are commonly used as valve actuators since the only calibrations are the wax mixture, the mechanical force applicator, and the thermal resistance of various components in contact with each other
I mostly don't like that every few minutes, I have to turn down the cold water a smidge, as fresher colder water from the ground comes up through the pipe. My shower has two valves for hot and cold separate, so I turn the hot water all the way on, then add just enough cold water to achieve human shower temps at full pressure.