Update config, README, board for v2.x
This commit is contained in:
185
microenv-many.yaml
Normal file
185
microenv-many.yaml
Normal file
@@ -0,0 +1,185 @@
|
||||
---
|
||||
|
||||
###############################################################################
|
||||
# MicroEnv v1.0 ESPHome configuration
|
||||
###############################################################################
|
||||
#
|
||||
# Copyright (C) 2025 Joshua M. Boniface <joshua@boniface.me>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
esphome:
|
||||
name: microenv
|
||||
name_add_mac_suffix: true
|
||||
friendly_name: "MicroEnv Sensor"
|
||||
project:
|
||||
name: "Joshua Boniface.microenv"
|
||||
version: "1.0"
|
||||
min_version: 2025.5.0
|
||||
|
||||
#dashboard_import:
|
||||
# package_import_url: github://joshuaboniface/microenv/microenv.yaml
|
||||
|
||||
esp32:
|
||||
board: esp32-c3-devkitm-1
|
||||
variant: esp32c3
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
preferences:
|
||||
flash_write_interval: 15sec
|
||||
|
||||
logger:
|
||||
level: VERBOSE
|
||||
baud_rate: 115200
|
||||
|
||||
api:
|
||||
reboot_timeout: 15min
|
||||
|
||||
ota:
|
||||
platform: esphome
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
|
||||
captive_portal:
|
||||
|
||||
mdns:
|
||||
disabled: false
|
||||
|
||||
wifi:
|
||||
ap: {}
|
||||
domain: ""
|
||||
output_power: 8.5dB
|
||||
reboot_timeout: 15min
|
||||
power_save_mode: none
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
sda: GPIO21
|
||||
scl: GPIO20
|
||||
scan: true
|
||||
|
||||
tca9548a:
|
||||
- address: 0x70
|
||||
id: multiplex0
|
||||
i2c_id: i2c_bus
|
||||
channels:
|
||||
- bus_id: multiplex0channel0
|
||||
channel: 2
|
||||
- bus_id: multiplex0channel1
|
||||
channel: 3
|
||||
- bus_id: multiplex0channel2
|
||||
channel: 4
|
||||
|
||||
sensor:
|
||||
- platform: sht4x
|
||||
i2c_id: multiplex0channel0
|
||||
temperature:
|
||||
name: "SHT45 Temperature A"
|
||||
id: sht45_temperature_a
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
humidity:
|
||||
name: "SHT45 Relative Humidity A"
|
||||
id: sht45_humidity_a
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
heater_max_duty: 0.0
|
||||
update_interval: 15s
|
||||
|
||||
- platform: sht4x
|
||||
i2c_id: multiplex0channel1
|
||||
temperature:
|
||||
name: "SHT45 Temperature B"
|
||||
id: sht45_temperature_b
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
humidity:
|
||||
name: "SHT45 Relative Humidity B"
|
||||
id: sht45_humidity_b
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
heater_max_duty: 0.0
|
||||
update_interval: 15s
|
||||
|
||||
- platform: sht4x
|
||||
i2c_id: multiplex0channel2
|
||||
temperature:
|
||||
name: "SHT45 Temperature C"
|
||||
id: sht45_temperature_c
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
humidity:
|
||||
name: "SHT45 Relative Humidity C"
|
||||
id: sht45_humidity_c
|
||||
accuracy_decimals: 1
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
heater_max_duty: 0.0
|
||||
update_interval: 15s
|
||||
|
||||
- platform: wifi_signal
|
||||
name: "WiFi Signal"
|
||||
update_interval: 60s
|
||||
entity_category: diagnostic
|
||||
|
||||
- platform: uptime
|
||||
name: "Uptime"
|
||||
update_interval: 60s
|
||||
entity_category: diagnostic
|
||||
|
||||
text_sensor:
|
||||
- platform: version
|
||||
name: "ESPHome Version"
|
||||
entity_category: diagnostic
|
||||
|
||||
- platform: wifi_info
|
||||
ip_address:
|
||||
name: "WiFi IP Address"
|
||||
ssid:
|
||||
name: "WiFi SSID"
|
||||
bssid:
|
||||
name: "WiFi BSSID"
|
||||
mac_address:
|
||||
name: "WiFi MAC Address"
|
||||
|
||||
button:
|
||||
- platform: restart
|
||||
name: "ESP32 Restart"
|
||||
icon: mdi:power-cycle
|
||||
entity_category: diagnostic
|
||||
|
||||
- platform: factory_reset
|
||||
name: "ESP32 Factory Reset"
|
||||
icon: mdi:restart-alert
|
||||
entity_category: diagnostic
|
||||
Reference in New Issue
Block a user