##Why? During my first attempt at creating a Home Automation System for my home, I realised I needed a flexible HTTP Server which I could easily interface with, using Python commands. Not having done ...
As mentioned in the documention, don't use Python's simple HTTPServer in production. Have a look at django instead: https://www.djangoproject.com/.