From 383c011b6c0d6d0c4aaefcef3d8ebcd20fd9581e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Aug 2021 15:48:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Detect=20Flashforge=20Voxelab=20Aqu?= =?UTF-8?q?ila?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See thread at https://twitter.com/toms3dp/status/1422512947293732866 --- .../checks/firmware_unsafe.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/octoprint_firmware_check/checks/firmware_unsafe.py b/octoprint_firmware_check/checks/firmware_unsafe.py index dd885d0..4ed9b75 100644 --- a/octoprint_firmware_check/checks/firmware_unsafe.py +++ b/octoprint_firmware_check/checks/firmware_unsafe.py @@ -19,6 +19,7 @@ def as_dict(cls): AnycubicCheck(), CrealityCR10sCheck(), CrealityEnder3Check(), + FlashforgeVoxelabAquilaCheck(), MalyanM200Check(), Micro3DIMECheck(), Micro3DStockCheck(), @@ -136,6 +137,21 @@ class CrealityEnder3Check(AuthorCheck): authors = (" | Author: (Ender3)".lower(),) +class FlashforgeVoxelabAquilaCheck(Check): + """ + Flashforge Voxelab Aquila stock firmware + + Identified through "MACHINE_TYPE:Voxlab-1 V1" (sic!) in M115 response. + """ + + name = "flashforge_voxelab_aquila" + MACHINE_TYPE = "Voxlab-1 V1" # sic! + + def m115(self, name, data): + self._triggered = data.get("MACHINE_TYPE") == self.MACHINE_TYPE + self._active = False + + class MalyanM200Check(Check): """ Malyan M200 stock firmware prior to version 4.0