My main use of Home Assistant - and I am both grateful and in awe of the persons designing and developing this! - is to monitor a ground source heat pump. However, I have added a few sensors and the like along the way but nothing too clever regarding automations.
As I need to see any effects of changes to the heat pump, I hang on to many months of history. This has caused numerous problems including corrupting SD cards. I also moved the database to mySql to improve performance.
With a minimal knowledge of Unix and nothing on Docker, I decided to install Ubuntu on an older Samsung laptop as it automatically installed Windows 10 at some point and just gave hassle.
Every few weeks I end up bouncing the Rpi and occasionally dropping the database and recreating it so I thought a new installation would help matters. As the programs for the heat pump talk via MQTT then that should not be a problem - just point it at the Ubuntu broker.
Looking at recent articles on Ubuntu installation, I decided to stick HA in a Docker container even though I did not know what one was! Bit daft, I know! It is up and running - albeit without the “supervised” part I was expecting - and I have installed Portainer to attempt to manage Docker.
As I need to transfer the original configuration.yaml file to the new system, I went looking for it. Found it here:
It worries me that if I use FileZilla to download that and tweak it then return it to the container, Docker may get upset!
I note too that the supervised version of HA could give me a snapshot I could use to transfer the config. I seem to have missed a trick here.
I would be very grateful if someone could point me to a way to transfer the yaml file - chunk of which looks like this:
sensor 1: - platform: mqtt state_topic: "heatpump/0001" name: "GT01 - Rad Return" unit_of_measurement: "c" - platform: mqtt state_topic: "heatpump/0F61" name: "GT01 - Rad Return On" unit_of_measurement: "c" - platform: mqtt state_topic: "heatpump/0F64" name: "GT01 - Rad Return Off" unit_of_measurement: "c"
Have I bitten off more than I can chew? I would rather not delve into the internals of Docker as I am getting on a bit and, although having decades of IT support experience, it has mainly been on OpenVMS!
Any pointers - even to a specific part in a Docker manual - would be gratefully received!
Thank you for keep up this brilliant work.