Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Created October 1, 2021 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/a9fc4e5d52b017eddec9389f3f2a1f73 to your computer and use it in GitHub Desktop.
Save cerebrate/a9fc4e5d52b017eddec9389f3f2a1f73 to your computer and use it in GitHub Desktop.
Super-basic environmental sensor node for ESPHome.
substitutions:
deviceName: env-office
deviceFriendlyName: Office Environment Sensor
description: Environment sensor for my office
version: 1.0.0
packages:
device: !include packages/esp8266-huzzah.yaml
base: !include packages/base.yaml
# I2C bus
i2c:
# Sensors
sensor:
# BME280 environment sensor
- platform: bme280
temperature:
name: Office Temperature
humidity:
name: Office Humidity
pressure:
name: Office Pressure
# TSL2561 ambient light sensor
- platform: tsl2561
name: Office Illuminance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment