Turn a Cheap Router into a Home Automation Server