diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 7dbe50c50..e1abfc54a 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -608,7 +608,7 @@ class Server(object): (port, baudrate) = self._settings.get(["serial", "port"]), self._settings.getInt(["serial", "baudrate"]) printer_profile = printerProfileManager.get_default() connectionOptions = printer.__class__.get_connection_options() - if port in connectionOptions["ports"]: + if port in connectionOptions["ports"] or port == "AUTO": printer.connect(port=port, baudrate=baudrate, profile=printer_profile["id"] if "id" in printer_profile else "_default") except: self._logger.exception("Something went wrong while attempting to automatically connect to the printer")