2nd relay
This commit is contained in:
parent
aa37ba500c
commit
935097a26c
34
plants.yaml
34
plants.yaml
@ -33,11 +33,21 @@ wifi:
|
||||
ssid: "Esp32S3N16R8 Fallback Hotspot"
|
||||
password: "v41VUZA7A1VA"
|
||||
|
||||
# light:
|
||||
# - platform: status_led
|
||||
# name: "Switch state"
|
||||
# pin: GPIO2
|
||||
# restore_mode: ALWAYS_OFF
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: GPIO15
|
||||
inverted: true
|
||||
name: "water pump relay"
|
||||
name: "light pump"
|
||||
- platform: gpio
|
||||
pin: GPIO17
|
||||
inverted: true
|
||||
name: "heavy pump"
|
||||
|
||||
# temperature probe
|
||||
one_wire:
|
||||
@ -45,6 +55,13 @@ one_wire:
|
||||
pin: GPIO16
|
||||
id: probe1
|
||||
|
||||
# # ATH20+BMP280
|
||||
# i2c:
|
||||
# sda: 17
|
||||
# scl: 18
|
||||
# scan: true
|
||||
# id: probe_ath_bmp_1
|
||||
|
||||
sensor:
|
||||
- platform: dallas_temp
|
||||
one_wire_id: probe1
|
||||
@ -60,5 +77,20 @@ sensor:
|
||||
name: "soil moisture sensor, analog"
|
||||
update_interval: 30s
|
||||
attenuation: auto
|
||||
# - platform: bmp280_i2c
|
||||
# i2c_id: probe_ath_bmp_1
|
||||
# update_interval: 60s
|
||||
# temperature:
|
||||
# name: "BMP temp"
|
||||
# oversampling: 2x
|
||||
# pressure:
|
||||
# name: "BMP Pressure"
|
||||
# - platform: aht10
|
||||
# i2c_id: probe_ath_bmp_1
|
||||
# update_interval: 60s
|
||||
# temperature:
|
||||
# name: "AHT20 temp"
|
||||
# id: aht20_temp
|
||||
# accuracy_decimals: 1
|
||||
|
||||
captive_portal:
|
||||
|
Loading…
x
Reference in New Issue
Block a user