example to access sensors with api rest