Be mindful of what is plugged into the same electrical circuit as your raspberry-pi. Other appliances (such as refrigerators, freezers, and air conditioners) could be causing you grief.
Still reading? More detail.
This is not a request for help, but a variation on this post which I can no longer reply to. Moderators, feel free to move this around if needed.
The problem is simple. A "SerialException"
device reports readiness to read but returned no data occurs in the Octopi logs. I tried everything in here, including swapping USB cables multiple times, trying several different Raspberry Pi power supply's, and even reformatting the SD card. Nothing worked, I continued to get the error on every single print (each print was minimum 4 hours.)
Well, it turns out that I had the Raspberry Pi plugged into the same electrical circuit as some appliances in my house. Namely, a chest freezer. I was eventually able to figure out that when the freezers compressor kicked on, the Raspberry Pi would report the Serial Exception. Why? Perhaps some electrical engineers can help with that, I assume the spike in current temporarily drawn by the appliance caused the Raspberry Pi to be momentarily under-powered, and when communicating over a serial link to the printer the Pi was adversely affected.
I can think of two:
- Move the raspberry pi to a different circuit within your house. This is what I did (I was able to run an extension cord to another outlet on another circuit to test the theory) and I've been printing for over a week now without issue.
- I would think putting the Raspberry Pi on a small UPS would help in this problem. It should help in providing consistent, clean power to the Pi and make your system less susceptible to other appliances that might be causing issues. Haven't tested it, but maybe?
I hope that this helps others. Now that Octoprint is working properly, I absolutely love it.