Working, debugging and testing required

Polling time on the device could also be improved