What we've learned here is you need to buy a new washing machine, or maybe before that, read carefully the manual of the one you have.
Thinking you can dry your clothes better than the people who engineered the entire machine and wrote its programs is honestly cracking me up. Do you think the vendors were like "you know what, we don't need this washing machine to dry well".
Even more, what kind of a marketing campaign would such a scriptable machine even have?
"Our washing machine dries really poorly, but we hope every stay at home mom can script it to dry better, so we included a web server and a REST API with it".
Well if you want it to be scriptable, you might need to spend three month's rent on a new washing machine.
And yeah, uhmm... most washing machines can run drying after washing. You just took your specific model's issue, and decided to generalize it to "must be scriptable". Which is really a giant leap to make. To recap:
1. Your specific model can't dry after washing.
2. Your specific model can't be scripted either.
3. Other models can dry after washing.
4. Other models have no scripting.
Ergo whatever you do, you're buying a new washing machine. And your problem doesn't require scripting.
You're really dedicated to being needlessly argumentative.
Wrt to your previous comment, of course I'm talking about my model of washing machine.
I genuinely cannot fathom how it's hard to work out that my point is that if they'd stuck even the most basic interface on the back, which I bet the higher end ones already have for debugging just not exposed, I could make the machine do what I want. That's not the way the world is, but it would be better if it was.
In software you should be familiar that exposing a debugging interface can be a 10 minute job. Exposing a public service can be a 3 month job. And not just for developers, but also for documentation writers, marketing, legal, and so on.
If you're an expert, then you can hack with the debug interface, many enthusiasts do things like that with their devices.
And if you're not an expert, you don't want, you can't, and you'd never need to script your washing machine.
If I were to do this it would take 4 trips to the washing machine because they didn't think to make it tick over from even washing to drying.