Working code to get sensor data and provide them to other components
non completely working version, without happyhttplibrary