added string sending sensor type