Suggestions to do after installing Home Assistant.
Use a fixed ip
Install File Editor
The yaml configuration files are less and less important. However it’s still is used to configure some things, and the File Editor (which is an official addon) makes editing just simpler.
Use a database!
By default history and log book stuff is saved in a file. This takes a while to load on raspberry pi’s. I always install MariaDB.
After installation you can add the configration in your config/configuration.yaml file:
recorder: db_url: mysql://homeassistant:password@core-mariadb/homeassistant?charset=utf8mb4
Get the weatherforecast
I’m using weather data from OpenWeather. If you don’t have one, create an account first. Now that you have created an account, you’ll need to generate an api key. I’ve named it Home Assistant. Copy the key and go to your Home Assistant!
Go to integrations and create an OpenWeatherMap integration.
The lattitude & longitude of your home should be prefilled. Let’s copy that api key and fill in the name.
The name is important as it will be used in the sensor naming. I’ve named it ‘Home’. If you want to get weather information for your work or your weekend house, name it accordingly.
One thing I like to do is giving the sensor_home_temperature a meaningful name. I usually name it ‘Outside’.