I just installed HA using a docker image on an RPi3 (docker-compose), and I’d like to also setup a dev environment which should be identical to prod (in config) but would still allow me to use my prod environment.
Is it even possible to run both simultaneously, specifically on a RPi? How can this be done with docker? Do I create another service (home-assistant-dev) which uses the same image as the prod one? Do I build a different image? I’m kinda lost…
In my experience as a poor programmer, you will need to do a lot of restarts of HA, the RPi is too slow and you will be bothered soon by the waiting times.
It will speed up things a lot to have the dev environment on a PC, unless you are going to use RPi-only peripherals like GPIO you will see no difference.
Docker is the easiest and faster setup, but you will be limited to tinker in the “config” folder developing custom components. If you are going to edit the main HA files you need to setup a Python venv install.