enable moisture sensing
This commit is contained in:
parent
a9f099b8ca
commit
c528fad47a
|
@ -23,9 +23,9 @@ class environment:
|
|||
else:
|
||||
self.t_alerted = False
|
||||
|
||||
if self.sensors.get_humidity_pct() > 60.0:
|
||||
if self.sensors.get_humidity_pct() > 80.0:
|
||||
if not self.h_alerted:
|
||||
#self.lcd.play_video("keke_cute_noise")
|
||||
self.lcd.play_video("kanon_hurt")
|
||||
self.h_alerted = True
|
||||
else:
|
||||
self.h_alerted = False
|
||||
|
|
Loading…
Reference in New Issue