Changed the ID sent in payload from int to mac address of the sensor