InfluxDB, Grafana & Home Assistant - Part 2

preview_player
Показать описание
If you like what you see..... buy me a coffee!

Visit my Teespring store front as well.....

This video is part 2 of the 3 part series on setting up InfluxDB, and Grafana to display awesome graphs from Home Assistant data.

Here are a few links to get you started....

(0:00) Intro

(1:45) First things first, lets grafana in a docker container.

(make sure you add a volume in the docker volumes section for grafana_data)

grafana:
container_name: grafana
restart: always
ports:
- 3000:3000
volumes:
- grafana_data:/var/lib/grafana
image: grafana/grafana

Once that is done, save it and then....

sudo docker-compose up -d

then you can jump over to portainer to check and make sure everything installed correctly.

(3:50) Now you can login to grafana and check it out....

http://(IP OF DOCKER HOST):3000
Default username is admin and password is admin.

(4:52) At this point, follow along with the video to get your database added into Grafana.

(6:08) Lastly, follow along with the video again to get some graphs added using Home Assistant data.

Thats it!

If you like the video, please subscribe to my channel. If you have any questions or comments, hit me up in the comments below. As always, if there are any videos out there you would like to see that I don't already have out there, let me know in the comments as well and I will see what I can do!
Рекомендации по теме
Комментарии
Автор

How long does it keep the data? If you have logger deleting the data in Home Assistant does it also remove it from Grafana? Any way to keep some of the data permanently? Cheers

shaunwhiteley
Автор

When I go to test the database, it says Error: Bad Gateway. I am thinking it has something to do with the port number 8086. I cannot open that port by SSH or any other method. How can I troubleshoot this?

TheNCGardener
welcome to shbcf.ru