Updated chlorine Pump

This commit is contained in:
2024-05-10 12:37:19 +02:00
parent 9fac30e714
commit 056990076e
6 changed files with 205 additions and 37 deletions

51
chlorPump.yaml Normal file
View File

@@ -0,0 +1,51 @@
esphome:
name: chlorine-pump
project:
name: nbsgamesat.chlorine-pump
version: "0.2"
esp8266:
board: nodemcuv2
# Enable logging
logger:
ota:
password: !secret cp_password
external_components:
- source:
type: local
path: external_components/
components: [ analog_orp ]
api:
encryption:
key: !secret cp_key
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
output:
- platform: gpio
pin: D3
id: pump_switch
binary_sensor:
- platform: gpio
id: pool_pump
pin: D2
sensor:
- platform: analog_orp
name: Chlorine
id: chlorine_sensor
pin: A0
zero_point: 640
inverted: true
update_interval: 2s
# GPIO A0 to acd
# Here is space for any display implementation that could possibliy be. Have fun OK