I am using an installation of hassio on an RPi as a slave that just controls the rpi’s gpios.
My main HA is on an Asus Tinker Board but i still have not figured out how to use its gpios.
I want to completely disable the Recorder, History and Logbook components on the slave HA, in order to reduce load on the sd card and anyway, everything is recorded on the main HA.
I went to comment out the recorder: and history: parts form configuration.yaml but i noticed that they are now missing on a new installation.
history: and logbook: will automatically load the recorder: component even if not explicitly called out in your configuration. best way to disable all of them is to only load the components you need and check their manifest.json on github to see what other components they may load. There could be other components that rely on the recorder and load it as a dependency. You can always set the recorder options with a blank include: section to force it to exclude everything and not include anything in the recorder database.
I was under the impression, that if i commented all three components out, it would not load them at all.
The argument that some random component might call the recorder is valid though.
This seems like it would do the job but it would still create a DB file right?
Correct. The database file would be created, but with nothing in it. Yes it’s a workaround, but if there’s a component you use that relies on the recorder and loads it as a dependency, there’s not much you can do except make a custom component so it doesn’t use the recorder, or create an empty database.
Hmm no, when changing default_config to frontend, it will only load a small amount of required components (such as api and auth).
It will not load recorder, logger and such. Effectively not creating a database, I am using this setup
If your response was to me, my response was to the OP regarding setting up the recorder but not putting anything in the include:. The workaround I described is if they are forced to load the recorder component because some other component loads it. That work around would still create a database, albeit an empty one. In your case, yes you’re right, only loading specific components that do not load the recorder component would mean the database is never created.
Well, renaming default_config to frontend is essentially the same as comment out default_config and adding frontend.
Frontend is required for having a, errr, frontend
The rest is optional.