Check if Formlabs Form 2 3D printer is idle.
./form2idle.py astutenewt.local
When the printer is idle the exit status will be 0.
Print the local time and the estimated remaining print time in hours, minutes, and seconds:
./form2idle.py -v astutenewt.local
2023-06-09 12:00:31, 1:37:02
or as estimated time of arrival:
./form2idle.py -v -e astutenewt.local
2023-06-09 12:00:31, 2023-06-09 13:37:33
Don't exit while the printer is busy:
./form2idle.py -w astutenewt.local
When the printer is idle the exit status will be 0.