I decided a few days ago to start playing with ESPHome, so I’m a newbie with it.
Using a M1 Macbook for most of what I do. On the mac, I installed python3, ESPhome, programmed an ESP32, and am running dashboard through docker with this command
docker run --rm -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true -v "${PWD}":/config -it esphome/esphome
My issue is that dashboard wants to store and retrieve all files from
Macintosh HD/Users/myusername
But I want it to use
Macintosh HD/Users/myusername/ESPhome
So all of my ESPhome yaml files are in a dedicated directory.
I looked at docker, and it says to use Macintosh HD/Users/myusername as the data directory, so makes sense why this is happening.
Maybe this is more of a docker question, but I’m not used to the docker macos interface, I use docker and portainer on my pi.
Can anybody offer advice on how to change to data directory for dashboard?
Thanks
Randy