Updated Pi receiver to use new api and define the sensor id in the arduino sketch