MotionEye on HomeAssistant Lost Password

So, I’ve been getting into home automation/smart home stuff recently and when setting up MotionEye, I think I used the recommended password and didn’t copy it. So… I can’t really log into it anymore, so I guess it’s pretty secure! 🙂

MotionEye runs in a docker container on the Pi, so alot of the articles I found took me to a local linux dir that doesn’t exist on a Pi. You can, however, find the motion.conf file by navigating to the docker container, then just cat to see the password:

docker ps # find your motion eye addon container name
docker exec -it addon_aXXXXX_motioneye /bin/bash
cat /data/motioneye/motion.conf # your pass will be in `#@admin_password` line