What is the problem?
Trying to connect Raspberry Pi 3 to Anet A8 printer via UART serial connection. Was working on older version of OctoPrint
What did you already try to solve it?
SSH'd into Pi and added
dtoverlay=pi3-miniuart-bt. I also ran
sudo systemctl disable hciuart to turn off service that initializes bluetooth modem.
serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)
Changing monitoring state from "Offline" to "Detecting serial port" Serial port list: ['/dev/ttyAMA0'] Connecting to: /dev/ttyAMA0 Changing monitoring state from "Detecting serial port" to "Error: Connection error, see Terminal tab" Unexpected error while connecting to serial port: AUTO SerialException: '[Errno 13] could not open port /dev/ttyAMA0: [Errno 13] Permission denied: '/dev/ttyAMA0'' @ comm.py:_openSerial:2661 (hook default)
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)
Running newest version of OctoPrint Version 1.3.12 on Raspberry Pi 3 brand new flash via etcher. Printer is Anet A8 running a flashed version of Marlin (probably about 1 year old), not the ticking timebomb firmware it shipped with.
I was running an older version of OctoPrint (about 1 year old) on my Raspberry Pi 0W connected directly using UART. It was working perfect. I hadn't used my printer in several months due to some broken parts and waiting on the funds then the shipping from China. Finally put everything back together and booted it up today to find that it had a lot of updates, but was complaining about the environment needing update. I followed the recommended path of backing up through the menu and flashing a new image then restoring the backup I had made previously. While I was at it, I swapped a Raspberry Pi 3 into place so that I could take advantage of the Pi Cam (not connected yet). When everything was accessible again and I tried to connect to the printer I got the above error. I swapped the SD card back to the original Pi 0W to see if it is something wrong with the Pi 3, but it is now doing the same issues. I would prefer to connect through UART so that I get a direct connection and avoid issues with the USB transmission and cable, and I am designing a custom case that mounts the Pi right on top of the Anet board and don't want the extra cabling making a mess.