Hi folks,
I’ve got an m5stack Env3 sensor plugged into an m5stack atom lite and am trying to set it up. The sensor supports temperature, pressure, and humidity. Has anyone gotten around to setting one of these up?
My (very) rough code for the atom lite below.
esphome:
name: m-bedroom-env
friendly_name: Main Bedroom Environmental sensor
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "key"
ota:
- platform: esphome
password: "password"
wifi:
ssid: SSID
password: password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ssid
password: password
captive_portal:
i2c:
id: bus_a
sda: 21
scl: 22
scan: False
frequency: 400khz
timeout: 10ms
sensor:
- platform: sht3xd
i2c_id: bus_a
setup_priority: -200
address: 0x44
update_interval: 10s
temperature:
name: "Main Bedroom Temperature 2"
humidity:
name: "Main Bedroom Humidity"
Any help would be appreciated.