Working version complete with the correct sensor IDs