My personal configs for ESPHome devices.
- Clone this repo and use it as the ESPHome config folder: e.g.,
git clone https://github.com/scsole/esphome-devices.git esphome && cd esphome
- Create a valid secrets file:
cp secrets.yaml.example secrets.yaml
- Start building configs
Install uv if you haven't already done so.
- Clone this repo
- Create a valid secrets file
- Create a virtual environment
- Activate the virtual environment
- Install the esphome requirements
- Start building configs
git clone https://github.com/scsole/esphome-devices.git
cd esphome-devices
cp secrets.yaml.example secrets.yaml
uv venv
source .venv/bin/activate # .venv\Scripts\activate under Windows
uv pip install wheel # only needed under Windows and macOS
uv pip install esphome
esphome dashboard ./
- Append the following wifi section to the config using the device's current name as the
old_name
- Update the name and other desired values under
substitutions
- Compile and upload to device
- Remove the wifi section from the config
wifi:
use_address: old_name.local