common- Configurations shared across devices
components- Sharable components that can be included in external projects through
external_componentsconfig. Seedevices/gosund-sw2/gosund-sw2.yamlfor example usage.
- Sharable components that can be included in external projects through
devices- Configs for device classes. One for each part number or type of device that shares the same config.
- Files with
-importsuffix are used by ESPHome dashboard when the device is adopted.
hardware- Platform and board base configs
scripts- Helper scripts
templates- Configs designed to be flashed to devices to enable adoption into esphome dashboards
- These templates configure devices to use MAC suffix to make each one unique
The following variables are required in your secrets.yaml:
wifi_ssid- SSID of your primary wifi networkwifi_password- Password of your primary wifi networkwifi_ssid_fallback- SSID of a fallback wifi networkwifi_password_fallback- Password of a fallback wifi networkapi_key- API key (https://esphome.io/components/api.html)ota_password- OTA update passwordweb_username- Web interface usernameweb_password- Web interface passwordlatitude- Latitude of device location (used to calculate sunrise/sunset in some devices)longitude- Longitude of device location