Add sleep code to sensor station code