I have my home-assistant configured the way I want it to work on my Ubuntu Server, but now I am looking to take it to the next level and start graphing data, and storing it persistently in some sort of database.
I have tried to setup grafana and the influxdb database before using tutorials I googled on the internet, but I can never get them to start, and when I do, I can never figure out how to get the data to be presented the way I want it to be (graphs, logs, etc).
Is there anyone here who has a working grafana/graphite/whatever sort of persistent database and graphing solution in place that can provide a nice step by step tutorial for a newb? I have not dealt with databases or any of the associated software before.
And in addition to the great write up from @Jeff_VoVillia do note that after a full reboot you should restart Homeassistant manually as influxdb takes a bit more time to start than Homeassistant Hass will not find influxdb the first time after reboot. This can, of course, be overcome through a script but as I hardly reboot my pi doing it manually works fine for me.
Thanks for the info. How would I create a script to handle this? I also have my homebridge instance running on the same server and would love to delay the start of it until a minute or two after HA just so that everything would load correctly after a power loss.I’m new to linux startup, so i’m not sure where to start. I now i’m running systemd and have jessie, but that’s about it.