diff --git a/AUTHORS.md b/AUTHORS.md index fae1ed362..81c0070d6 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -139,6 +139,7 @@ date of first contribution): * [Miroslav Šedivý](https://github.com/eumiro) * [Costas Basdekis](https://github.com/costas-basdekis) * [Joe Martella](https://github.com/martellaj) + * [Scott Lahteine](https://github.com/thinkyhead) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 56a0a5fce..a945a6c2a 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -1132,9 +1132,9 @@ Use `Javascript regular expressions Tools > File Watchers (you might have to enable this, it's a bundled plugin), add new: diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 8abfaf712..e27c1de8e 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -423,7 +423,7 @@ default_settings = { "terminalFilters": [ { "name": "Suppress temperature messages", - "regex": r"(Send: (N\d+\s+)?M105)|(Recv:\s+(ok\s+((P|B|N)\d+\s+)*)?(B|T\d*):\d+)", + "regex": r"(Send: (N\d+\s+)?M105)|(Recv:\s+(ok\s+([PBN]\d+\s+)*)?([BCLPR]|T\d*):-?\d+)", }, { "name": "Suppress SD status messages", diff --git a/src/octoprint/static/js/app/viewmodels/settings.js b/src/octoprint/static/js/app/viewmodels/settings.js index ae8074a10..1a123747c 100644 --- a/src/octoprint/static/js/app/viewmodels/settings.js +++ b/src/octoprint/static/js/app/viewmodels/settings.js @@ -406,7 +406,8 @@ $(function () { self.addTerminalFilter = function () { self.terminalFilters.push({ name: "New", - regex: "(Send:\\s+(N\\d+\\s+)?M105)|(Recv:\\s+(ok\\s+)?.*(B|T\\d*):\\d+)" + regex: + "(Send:\\s+(N\\d+\\s+)?M105)|(Recv:\\s+(ok\\s+([PBN]\\d+\\s+)*)?.*([BCLPR]|T\\d*):-?\\d+)" }); };