It's best to follow the instructions on your washing machine. If the manual says to only use a certain type of laundry detergent, then I wouldn't risk it by using homemade detergent. Better safe than sorry!