mariogrip / octodroid

Access your OctroPrint from you android device.
GNU Affero General Public License v3.0
28 stars 13 forks source link

Connection verification sends "HOME" command. #23

Open rewolff opened 8 years ago

rewolff commented 8 years ago

This morning I tried gettiing Octodroid setup to monitor the progress of my print....

Then after getting success for the first JSON request, it goes on to: "did this home your printer?"...

my printer was printing at the time. I was NOT AMUSED that it tried to home my printer. I don't care that octoprint handled it correctly by giving priority to the running printjob.

Please just "ask the printer for the status", and when it's idle, say: your printer seems to be idle, may I try to home it? When it's printing, just say: 'your printer seems to be printing printing. Correct?" (is there an innocent command to try in that case?) I'm assuming you're verifying "write access" to the printer.

mariogrip commented 8 years ago

Right, I am checking for write access. but I can add an option to skip it. and maybe be more clear that it will try "HOME".