Check if Formlabs Form 2, Form 3, or Form 4 3D printer is idle and show the remaining print time.
./form2idle.py astutenewt.localWhen the printer is idle the exit status will be 0.
If a print job is active the exit status will be 1 and the remaining print time is shown (in [HH]:MM:SS).
./form2idle.py astutenewt.local
1:37:02Show the local time and the estimated remaining print time:
./form2idle.py -v astutenewt.local
2023-06-09 12:00:31, 1:37:02or as estimated time of arrival:
./form2idle.py -v -e astutenewt.local
2023-06-09 12:00:31, 2023-06-09 13:37:33Don't exit while the printer is busy:
./form2idle.py -q -w astutenewt.localWhen the printer is idle the exit status will be 0.