We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aab9105 commit 675c6adCopy full SHA for 675c6ad
1 file changed
Webhook_Plant_Sensor/code.py
@@ -14,7 +14,13 @@
14
from adafruit_seesaw.seesaw import Seesaw
15
import busio
16
17
+# Used to make sure that the Adafruit IO Trigger is only run once when the moisture value is below
18
+# the desired threshold, set in MIN
19
LOW = False
20
+# The minimum moisture value. If the value is below this number, it will activate the Adafruit IO
21
+# trigger. This number should match the number you set in your Adafruit IO trigger. Feel free
22
+# to mess around and try out different moisture values as how wet this actually is can vary a lot
23
+# depending on where the sensor is and the soil in the pot.
24
MIN = 500
25
26
# Set up moisture sensor with seesaw
0 commit comments