set sensor values to 0 when setting sensor off