From 64ad2236d32835ca8095a5f478bdfba2143f9ba2 Mon Sep 17 00:00:00 2001 From: "Eduardo Romero Q." Date: Wed, 17 Sep 2025 09:09:20 +0100 Subject: [PATCH] Update Settings.h Add Moonraker compatibility --- printermonitor/Settings.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/printermonitor/Settings.h b/printermonitor/Settings.h index 0d0229a..ceca414 100644 --- a/printermonitor/Settings.h +++ b/printermonitor/Settings.h @@ -23,6 +23,7 @@ SOFTWARE. // Additional Contributions: /* 15 Jan 2019 : Owen Carter : Add psucontrol setting */ +/* 13 Feb 2022 : Robert von Könemann @vknmnn: Add define to enable Moonraker Backend */ /****************************************************************************** * Printer Monitor is designed for the Wemos D1 ESP8266 @@ -47,6 +48,7 @@ SOFTWARE. #include "TimeClient.h" #include "RepetierClient.h" #include "OctoPrintClient.h" +#include "MoonrakerClient.h" #include "OpenWeatherMapClient.h" #include "WeatherStationFonts.h" #include "FS.h" @@ -58,8 +60,9 @@ SOFTWARE. // Start Settings //****************************** -// OctoPrint / Repetier Monitoring -- Monitor your 3D OctoPrint or Repetier Server +// OctoPrint / Repetier Monitoring -- Monitor your 3D OctoPrint, Repetier or Moonraker Server //#define USE_REPETIER_CLIENT // Uncomment this line to use the Repetier Printer Server -- OctoPrint is used by default and is most common +#define USE_MOONRAKER_CLIENT // Uncomment this line to connect to a Moonraker/Klipper Printer Server String PrinterApiKey = ""; // ApiKey from your User Account on OctoPrint / Repetier String PrinterHostName = "octopi";// Default 'octopi' -- or hostname if different (optional if your IP changes) String PrinterServer = ""; // IP or Address of your OctoPrint / Repetier Server (DO NOT include http://)