Created
January 11, 2021 17:25
-
-
Save derglow/c82ccb384266477152be4ac2aaa6fbe5 to your computer and use it in GitHub Desktop.
ESPHome pH Probe Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensor: | |
#pH sensor | |
- platform: adc | |
pin: GPIO34 | |
name: "Reef pH" | |
attenuation: 6db | |
unit_of_measurement: "pH" | |
update_interval: 5s | |
accuracy_decimals: 2 | |
filters: | |
- calibrate_linear: | |
# Map 0.0 (from sensor) to 0.0 (true value) | |
- 1.68 -> 6.86 | |
- 1.21 -> 9.18 | |
- sliding_window_moving_average: | |
window_size: 60 | |
send_every: 60 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment