add current time to message header and sensors thread