Closed spitfire closed 6 months ago
The time in notifications is wrong. Live activities and mainsail show the correct one, printer's timezone is set up correctly.
Is the timezone also correct in the mobileraker.conf file?
It is not, but to make it stranger it is set to CST, which is 6 hours behind (the CET time zone I'm in), and the notification's time is only 1 hour behind. I'll try to adjust it once the print is over, cause changing it would probably restart something and interrupt it;)
Adjusted it to CET, restarted Mobileraker companion (through mainsail) and it's still showing the same offset/timezone on the next print.
root@K1-AD93 /root [#] tail -n 5 /usr/data/printer_data/logs/mobileraker.log
2024-03-29 13:27:56,833 mobileraker.fcm INFO - Submitting 1 notifications to mobileraker server
2024-03-29 13:27:56,857 mobileraker.fcm INFO - Submitting 1 notifications to mobileraker server
2024-03-29 13:27:58,007 mobileraker.default INFO - ---- Completed Evaluations Task! ----
2024-03-29 13:27:58,032 mobileraker.default INFO - ---- Completed Evaluations Task! ----
2024-03-29 13:27:58,125 mobileraker.default INFO - ---- Completed Evaluations Task! ----
root@K1-AD93 /root [#] tail -n 5 /usr/data/printer_data/logs/moonraker.log
2024-03-29 13:26:41,145 [shell_command.py:_check_proc_success()] - Command (wget http://localhost:4408/webcam/?action=snapshot -O /usr/data/printer_data/frames/frame000199.jpg) successfully finished
2024-03-29 13:27:26,640 [websockets.py:write_to_socket()] - Websocket closed while writing: 1700357552
2024-03-29 13:27:31,649 [websockets.py:on_close()] - Websocket Closed: ID: 1700357552 Close Code: None, Close Reason: None, Pong Time Elapsed: 45.07
2024-03-29 13:27:52,937 [shell_command.py:_check_proc_success()] - Command (wget http://localhost:4408/webcam/?action=snapshot -O /usr/data/printer_data/frames/frame000200.jpg) successfully finished
2024-03-29 13:29:12,848 [shell_command.py:_check_proc_success()] - Command (wget http://localhost:4408/webcam/?action=snapshot -O /usr/data/printer_data/frames/frame000201.jpg) successfully finished
root@K1-AD93 /root [#] date
Fri Mar 29 13:30:34 CET 2024
the notification says it should finish at 13:14 (in the past), live activity says 14:14
Now it is correct ¯_(ツ)_/¯
The time in notifications is wrong. Live activities and mainsail show the correct one, printer's timezone is set up correctly.