{T("P89")}
diff --git a/src/targets/Printer3D/Marlin-embedded/TargetContext.js b/src/targets/Printer3D/Marlin-embedded/TargetContext.js
index 65eed938..4aee2d9c 100644
--- a/src/targets/Printer3D/Marlin-embedded/TargetContext.js
+++ b/src/targets/Printer3D/Marlin-embedded/TargetContext.js
@@ -226,6 +226,13 @@ const TargetContextProvider = ({ children }) => {
value: cap.value,
})
})
+ } else if (isSensor(data)) {
+ const result = getSensor(data)
+ setSensorData({ S: result })
+ add2SensorDataList({
+ temperatures: { S: result },
+ time: new Date(),
+ })
}
} else if (type === "core") {
if (isSensor(data)) {
diff --git a/src/targets/Printer3D/Marlin/TargetContext.js b/src/targets/Printer3D/Marlin/TargetContext.js
index 44b16542..0696c014 100644
--- a/src/targets/Printer3D/Marlin/TargetContext.js
+++ b/src/targets/Printer3D/Marlin/TargetContext.js
@@ -237,6 +237,13 @@ const TargetContextProvider = ({ children }) => {
value: cap.value,
})
})
+ } else if (isSensor(data)) {
+ const result = getSensor(data)
+ setSensorData({ S: result })
+ add2SensorDataList({
+ temperatures: { S: result },
+ time: new Date(),
+ })
}
} else if (type === "core") {
if (isSensor(data)) {
diff --git a/src/targets/Printer3D/Repetier/TargetContext.js b/src/targets/Printer3D/Repetier/TargetContext.js
index a133f4bc..69890b41 100644
--- a/src/targets/Printer3D/Repetier/TargetContext.js
+++ b/src/targets/Printer3D/Repetier/TargetContext.js
@@ -195,6 +195,13 @@ const TargetContextProvider = ({ children }) => {
value: cap.value,
})
})
+ } else if (isSensor(data)) {
+ const result = getSensor(data)
+ setSensorData({ S: result })
+ add2SensorDataList({
+ temperatures: { S: result },
+ time: new Date(),
+ })
}
} else if (type === "core") {
if (isSensor(data)) {
diff --git a/src/targets/Printer3D/Smoothieware/TargetContext.js b/src/targets/Printer3D/Smoothieware/TargetContext.js
index 965cad89..33da7e98 100644
--- a/src/targets/Printer3D/Smoothieware/TargetContext.js
+++ b/src/targets/Printer3D/Smoothieware/TargetContext.js
@@ -191,6 +191,13 @@ const TargetContextProvider = ({ children }) => {
})
})
//console.log(printerCapabilities)
+ } else if (isSensor(data)) {
+ const result = getSensor(data)
+ setSensorData({ S: result })
+ add2SensorDataList({
+ temperatures: { S: result },
+ time: new Date(),
+ })
}
} else if (type === "core") {
if (isSensor(data)) {