Closed Short-bus closed 7 months ago
When a TUNE command is completed, the Tiny2040 is returning the timestamp as an integer rather than a datetime formatted string.
2023-12-20 21:26:02.532935+00:00 4.415430 RPi received: tune complete azimuth 1703107560 150 2023-12-20 21:26:02.538675+00:00 0.000479 Motor azimuth received tune acknowledgement: tune complete azimuth 1703107560 150 2023-12-20 21:26:02.544821+00:00 0.000090 Motor azimuth received old format tune acknowledgement. Please update it!
The code.py uses RPi.Write('tune complete ' + self.MotorName + ' ' + str(self.LatestTuneTime) + ' ' + str(delta)) it should be corrected to RPi.Write('tune complete ' + self.MotorName + ' ' + IntToTimeString(self.LatestTuneTime) + ' ' + str(delta))
Fix and test in the December.2023 updates.
This does not impact the function of the Tune command, it is just a warning and the program already self-corrects if a bad value is received.
When a TUNE command is completed, the Tiny2040 is returning the timestamp as an integer rather than a datetime formatted string.
2023-12-20 21:26:02.532935+00:00 4.415430 RPi received: tune complete azimuth 1703107560 150 2023-12-20 21:26:02.538675+00:00 0.000479 Motor azimuth received tune acknowledgement: tune complete azimuth 1703107560 150 2023-12-20 21:26:02.544821+00:00 0.000090 Motor azimuth received old format tune acknowledgement. Please update it!
The code.py uses RPi.Write('tune complete ' + self.MotorName + ' ' + str(self.LatestTuneTime) + ' ' + str(delta)) it should be corrected to RPi.Write('tune complete ' + self.MotorName + ' ' + IntToTimeString(self.LatestTuneTime) + ' ' + str(delta))
Fix and test in the December.2023 updates.
This does not impact the function of the Tune command, it is just a warning and the program already self-corrects if a bad value is received.