From 5b8e543226dd211fb8f2a605853c53444eb5d7a6 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 6 Dec 2025 12:30:16 -0500 Subject: [PATCH] added environment sensor --- esphome/environment.yml | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 esphome/environment.yml diff --git a/esphome/environment.yml b/esphome/environment.yml new file mode 100644 index 0000000..a7d2ca3 --- /dev/null +++ b/esphome/environment.yml @@ -0,0 +1,48 @@ +esphome: + name: "environment" + friendly_name: "environment" + +esp32: + board: esp32dev + framework: + type: arduino + +i2c: + sda: GPIO21 + scl: GPIO22 + scan: True + id: bus_a + +sensor: + - platform: aht10 + i2c_id: bus_a + address: 0x38 + variant: AHT20 + temperature: + name: "environment Temperature" + id: aht10_temperature + humidity: + name: "environment Humidity" + id: aht10_humidity + update_interval: 5s + +web_server: + port: 80 + +logger: + level: DEBUG + +api: + encryption: + key: !secret api_key + +ota: + - platform: esphome + password: !secret ota_password + +wifi: + ssid: !secret wifi_ssid + password: !secret wifi_password + fast_connect: on + +captive_portal: