Application of a wireless sensor networks and Web2Py architecture for factory line production monitoring