Index: leahi_dialin/td/modules/air_trap.py =================================================================== diff -u -re5c5e1a8c10903e8caa793694b8f309125b2f6d8 -rdf2b51a17a2ccdaf3587f631de7623fa7fcae624 --- leahi_dialin/td/modules/air_trap.py (.../air_trap.py) (revision e5c5e1a8c10903e8caa793694b8f309125b2f6d8) +++ leahi_dialin/td/modules/air_trap.py (.../air_trap.py) (revision df2b51a17a2ccdaf3587f631de7623fa7fcae624) @@ -245,6 +245,7 @@ # If there is content... if received_message is not None: # response payload is OK or not OK + self.logger.debug("Air trap valve " + str(valve) + " set to " + str(valve_state)) return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] else: self.logger.debug("timeout!!") @@ -254,7 +255,7 @@ """ Constructs and sends a set control command to the TD air trap. - @param valve: start/stop for air trap control + @param control: start/stop for air trap control (0=stop, 1=start) @returns 1 if successful, zero otherwise """ @@ -270,6 +271,7 @@ # If there is content... if received_message is not None: # response payload is OK or not OK + self.logger.debug("Air trap control set to " + str(control)) return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] else: self.logger.debug("timeout!!")