Improved duration format
Changed the way we handle the devices to avoid duplicated pushes
Some improvements
Merge pull request #117 from maxirosson/dev

Changed the way we handle the devices to avoid duplicated pushes