Short answer: you can make an old washing machine “smart” with a Raspberry Pi 4, but you should not try to replace its internal controller or directly wire GPIO into mains. The safe way is to treat the machine as a black box and let the Pi monitor and optionally “press buttons” or switch power from the outside.



I’ll give you a practical, but...