Skip to content

Commit

Permalink
growcab
Browse files Browse the repository at this point in the history
  • Loading branch information
pks5 committed Oct 26, 2024
1 parent da8af9e commit 9475ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion growcab/phapp/app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"app" : {
"version": "0.9.7",
"version": "0.9.8",
"id": "net.raspilab.experiments.growcab.phapp",
"name": "Grow Cabinet"
},
Expand Down
3 changes: 1 addition & 2 deletions growcab/phapp/growcab.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import sys
import time
import subprocess
#import Adafruit_DHT
import board
import adafruit_dht
import threading
Expand Down Expand Up @@ -119,7 +118,7 @@ def read_dht(self):
self.dht_thread_running = True
print("Listening to DHT sensor on pin " + str(DHT_PIN), flush=True)

while True:
while self.dht_thread_running:
try:
humidity = self.dht_device.humidity
temperature = self.dht_device.temperature
Expand Down

0 comments on commit 9475ce0

Please sign in to comment.