Python Web Services to communicate wih Devices