replying the identity and the state of the sensor