Where to find configuration.yaml when running from USB

First of all I must say that I’m fairly new to HA. I have a technical background, but I’m certainly not an IT specialist.

After a not so fine experience with my micro SD card because of write endurance I decided to run completely from USB. I’m not the first one and since I use the RPi 3B+ there is no hassle; just make sure the RPi has no micro SD card is plugged in and the RPi 3B+ automatically boots from USB.
I connected an SSD-drive with a SATA to USB adapter cable and flashed the correct HA version using balenaEtcher, exactly like when using a micro SD card. So I’m not using any construction using Docker (afaik). After starting up the system installed itself automatically just as expected when using a micro SD card. Home Assistant runs fine and I have installed some add-ons, integrated some equipment, defined areas (e.g. ‘home’), activated Lovelace UI and configured some cards.

So far no problems. The next step in my learning process is now to have a look at configuration.yaml. I have done a little in this in my first attempt to start using HA over a half year ago when using the micro SD card. As said this info is lost now.

There is no problem in finding this configuration.yaml, but when I have a look at it (in the standard config folder) using the add on ‘File editor’, it looks rather untouched. See below.
This surprises me since I already did some configuration.

My question now: is this normal, can I expect this content of configuration.yaml at this stage, even after I’ve made some configuration? Or is the location of the configuration.yaml that is really used in my situation somewhere else? If so, where can I find it?
I’ve extensively searched the community files, but unfortunately with no result so far.

What my configuration.yaml file looks like now:

Schermafbeelding 2020-05-09 om 11.22.49

this is the standard configuration.yaml file. When you clnfigure things through the UI it will not change the content of configuration.yaml only when you edit the file manually.

You do automatically have a docker environment when you install Home Assistant Supervised (I know that you installed this, because you said you use add-ons and they are only availabe in Home Assistant Supervised). Add-ons are just slightly modified docker containers.

Please don’t post pictures of code, instead read this and format the code correctly.

2 Likes

Thnx @Burningstone, that helps. I presume that even though I seem to be using Docker, as you pointed out, that the actual configuration.yaml file in use is in this same file at this same location?

Docker is not used when you install on and run from a micro SD card? The contents of the SSD looks exactly the same as the contents of the micro SD card after flashing it, including all the partitions on it.
And Docker is installed automatically? What is the function of Docker and why is it used?

I did paste the contents of the configuration file at first, but that made a big mess of my post. I’ve looked how to correct that, but unfortunately I couldn’t find the answer and since the question was already posted, the best way to make it readable was to post a picture. Sorry for that.
Where can I find the way to post the special characters of the configuration file without being interpreted the wrong way? Sorry if I missed it, but I couldn’t find the answer to this in your link. It tells me how to post a good question, not how to format special characters in this forum.

Sorry I don’t get this question. What you mean with “actual configuration.yaml”? There’s only one configuration.yaml file. It’s somewhere on your SSD and it will be automatically mounted to the docker container when you start Home Assistant. Now when you manually edit the configuration.yaml on your SSD,the next time you restart Home Assistant (which will restart the container) the new file will be mounted to the docker container and the changes will be done accordingly.

Whether you use docker or not doesn’t depend on if you install it on SD card or SSD,it depends on the installation type you use. If you had add-ons when you had it on an SDcard, then you had a docker install there as well.

Yes docker is installed automatically, each add-on is a docker container. I’m not going to explain what the function or advantages of Docker are, search google there are thousands of docs explaining this.

Are you kidding me? :laughing: Point 11 Format it properly
Either highlight the whole text and press the </> button at the top or put three backticks ``` at the beginning and at the and of the code.

I suggest reading up on Docker.

2 Likes

I do understand how configuration.yaml works but I took into account that there is still a configuration file somewhere else that is used elsewhere. So that is not the case. Thanks.

I certainly will. Thanks! :+1:
Sorry for asking… :woozy_face:

No, I was not kidding. I read point 11 but didn’t read it well enough. I thought it was about formatting configuration.yaml, not about formatting code in the post.
Now I know.

Thanks for helping me. I really appreciate that. And next time I’m a little more experienced now :grinning:

No need to be sorry :wink: everyone had to learn these things in the past.

glad that I was able to help you!

1 Like