{"id":414,"date":"2021-07-04T19:24:37","date_gmt":"2021-07-04T19:24:37","guid":{"rendered":"https:\/\/andrejacobs.org\/?p=414"},"modified":"2022-04-11T20:22:59","modified_gmt":"2022-04-11T20:22:59","slug":"convert-home-assistant-to-use-mariadb-as-the-database","status":"publish","type":"post","link":"https:\/\/andrejacobs.org\/home-automation\/convert-home-assistant-to-use-mariadb-as-the-database\/","title":{"rendered":"Convert Home Assistant to use MariaDB as the database"},"content":{"rendered":"\n

Photo by Markus Winkler<\/a> on Unsplash<\/a><\/p>\n\n\n\n

Overview<\/h2>\n

Currently my Home Assistant is using the default SQLite database for recording sensor data but I would like to use MariaDB instead. This is part of my Day 14 of 100 Days of STEM<\/a>.<\/p>\n

NOTE:<\/strong> My Home Assistant setup is running on a Raspberry Pi 3 using a SSD drive, so using MariaDB will be fine in my case.<\/p>\n

VERY IMPORTANT: You will lose all the previous recorded sensor data if you switch databases.<\/strong><\/p>\n

Objectives<\/h2>\n

My overall objectives to achieve over the next couple of days are:<\/p>\n