I don't think you understand what you really have to code to have an automated system.
There are so many things you have to test for....
Not to mention what happens when the connection dies, the computer hangs, the power goes out, the cable goes out, etc...