Skip to content

My ESPHome configuration for my various ESPHome devices

License

Notifications You must be signed in to change notification settings

jwillikers/esphome-config

Repository files navigation

ESPHome Config

CI pre-commit

My ESPHome configuration for all my ESPHome devices.

Usage

  1. Clone the repository.

    git clone git@github.com:jwillikers/esphome-config.git
  2. Change to the repository’s directory.

    cd esphome-config
  3. Copy the secrets.yaml.template template to secrets.yaml in the ESPHome configuration directory.

    cp esphome/secrets.yaml.template esphome/secrets.yaml
  4. Ensure that only the owner can read and write the sensitive secrets.yaml file.

    chmod 0600 esphome/secrets.yaml
  5. Add your WiFi SSID and password to the secrets.yaml file. In addition to these, each device should have it’s own password for OTA updates and the fallback WiFi hotspot. Each device also requires a pre-shared encryption key for communicating securely with the Home Assistant API. See the Native API - for each device Configuration Variables section of the ESPHome documentation for details. Home Assistant will prompt you for the device’s key once the device has been updated.

The API encryption keys must be 32-bit base64 encoded strings, which can be generated with this OpenSSL command.

openssl rand -base64 32

Contributing

Contributions in the form of issues, feedback, and even pull requests are welcome. Make sure to adhere to the project’s Code of Conduct.

Open Source Software

This project is built on the hard work of countless open source contributors. Several of these projects are enumerated below.

Code of Conduct

Refer to the project’s Code of Conduct for details.

License

This repository is licensed under the GPLv3, a copy of which is provided in the license file.

© 2022-2024 Jordan Williams

Authors