diff --git a/relay.py b/relay.py index 344245e..dfa48b9 100644 --- a/relay.py +++ b/relay.py @@ -33,7 +33,7 @@ def main(): # print(data) # For testing. the_reading = data.get("reading") # print(the_reading) # For testing. - if the_reading > 33: + if the_reading > 48: # Print for testing. # print(f"[INFO] Light is on -- {the_reading}.") GPIO.output(relay_pin, GPIO.HIGH)