diff --git a/client/src/App.js b/client/src/App.js
index d850543..0a9a5ee 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -714,6 +714,51 @@ function Soil({name, sensorName, end, duration}) {
}
+function WH51Soil({name, sensorName, end, duration}) {
+ const [data, loading, tickFormatter] = useSensor('soil', sensorName, end, duration);
+
+ return (
+ x.moisture?.toFixed(1)}
+ loading={loading}
+ >
+
+
+
+
+
+ v.toFixed(1) + units[name]}
+ labelFormatter={timeStr => moment(timeStr).tz('America/Edmonton').format('ddd MMM DD h:mm A')}
+ separator=': '
+ />
+
+
+
+
+
+ );
+}
+
+
function Graphs({end, duration}) {
const api_key = localStorage.getItem('api_key', false);
@@ -745,6 +790,7 @@ function Graphs({end, duration}) {
+