logging improved

This commit is contained in:
Remy Moll
2021-06-30 15:34:43 +02:00
parent 2d62aa55ff
commit 57f1f77327
7 changed files with 53 additions and 22 deletions

View File

@@ -30,6 +30,7 @@ try:
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.IN)
except ImportError:
logger.warn("Simulating sensor modules")
dht11 = TempSim()
GPIO = LightSim()