diff options
| author | Luke Hoersten <[email protected]> | 2018-02-05 20:56:12 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2018-02-05 20:56:12 -0600 |
| commit | 68dd05b177deaef710c41db9f0a551492a8a62d3 (patch) | |
| tree | ae1ccb17f8860e8e43b44b7f47b089543dd46a0d | |
| parent | 8aa49c8d31c05cf7a331be74e7b67b880d4c063e (diff) | |
Stable doorbell-off range fell for some reason. Cold weather?
| -rwxr-xr-x | src/doord.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doord.py b/src/doord.py index 452a679..26ab398 100755 --- a/src/doord.py +++ b/src/doord.py @@ -42,7 +42,7 @@ def read_doorbell(thread_local): analog_value = automationhat.analog.one.read() doorbell_on_state = 6.0 < analog_value and analog_value <= 6.22 - if analog_value < 7.59: + if analog_value < 7.55: print("doorbell analog value: {}; ringing: {}; ring range: (6.0, 6.22]".format(analog_value, doorbell_on_state)) if doorbell_on_state != thread_local.doorbell_on_state: |
