From 935097a26c0207d4fa0b1070d1caffd41c2ab617 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Mon, 3 Feb 2025 22:38:34 +0100 Subject: [PATCH] 2nd relay --- plants.yaml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/plants.yaml b/plants.yaml index dcf662c..ff22b41 100644 --- a/plants.yaml +++ b/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: