fix api and parser for sensors by device, add request logic