I am working on a Debian Bookworm system. This means, to use python3 with additional packages, I have to use a virtual environment.
Using a virtual environment is explained in many places on the web e.g. https://linuxconfig.org/how-to-set-up-a-python-virtual-environment-on-debian-10-buster
To get my environment running I have to run
source ~/ESPhome/bin/activate
Then in my working directory (where the yaml-files reside) I only need three commands:
to create a new yaml file [myproject].yaml:
esphome wizard [myproject].yaml
to compile and upload:
esphome run [myproject].yaml
to check for errors:
esphome config [myproject].yaml
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.