What we see fail in the workshop: coffee machines
Automatic coffee machines usually come in for one of three reasons, and they're nearly all down to coffee oil, milk or scale rather than an electronic fault. The good news is that each of them is mostly preventable with a few minutes a week, and the early symptoms are easy to spot if you know what to listen and look for.
Jammed or leaking brew units
The brew unit compresses coffee and pushes hot water through it hundreds of times a month, and the seals and moving parts slowly pick up a coating of coffee oil and fines. When it gets bad enough, the unit sticks partway through a cycle, the pucks come out wet, or water leaks into the drip tray instead of the cup. The usual fix is a proper strip, clean and re-grease of the seals with food-safe lubricant. Rinsing the unit weekly avoids most of it. Let it dry before you slide it back in.
Blocked grinders
Grinders clog from oily dark roasts, pre-ground coffee poured into the bean hopper by mistake, or a small stone that jams the burrs. The machine usually tells you with a grinding noise that sounds different, weak or watery coffee, or a message about adding beans when the hopper's full. Clearing it usually means taking the hopper out and cleaning the burrs and the chute. Avoid shiny, oily beans and the problem mostly goes away. Keep the hopper lid closed, too, so beans stay fresh and dust stays out. Run the hopper close to empty before changing beans.
Scaled heaters and failing pumps
Scale narrows the water path through the heating block and flow meter, so the pump has to work harder to push water through. You'll notice the coffee coming out slower, cooler, or with a louder pump noise than usual. Left long enough, the pump can fail or the heater can overheat and trip its thermal fuse. Descaling when the machine asks, with the right descaler, costs very little and prevents most of this. Changing the water every day helps as well. A tank left full for days grows a film you don't want in your coffee or your pipes.