I succesfully managed to get to this point. Let me know if something is missing or not clear and I will be sure to modify the instructions Just create a user in Grafana with viewer rights and add the following with the Direct link rendered image URL from step 11 above.camera: NVIDIA G-SYNC technology that synchronizes your displays refresh rate with the. I use it instead of the Speedtest component within Home Assistant to avoid flooding my Raspberry Pi 3’s ethernet connection every time the test would just pointed out that we can also use generic camera component that does not require API keys. (full explanation In description, All option are disabled by default). Included is a 3rd container (Speedtest) which can obviously be left out if so desired.My host volume folders are relative to where my docker-compose.yml file is located.It is my own preference to use network_mode: host rather than specifying ports in a domestic setup.Image: atribe/speedtest-for-influxdb-and-grafana:latest grafana/grafana.ini:/etc/grafana/grafana.iniĬommand: -config /etc/grafana/grafana.ini influxdb/nf:/etc/influxdb/nf:roĬommand: -config /etc/influxdb/nf On top of that, I used docker-compose to put it all together.Īs I’m not good at putting together guides/tutorials like this one, I’ll just share my docker-compose.yml file for anyone who might be interested: version: '2' As it was my first real encounter with Docker, it took some trial and error to get it right. I had the same requirements (and the same observation about outdated tutorials on the web) a while back when I set up InfluxDB and Grafana. Navigate to and you should see the Grafana login screen. Now that Home Assistant is communicating with InfluxDB (check for errors, if any, in Home Assistant logs), we can configure Grafana. I am adding only two entities to start off. I am using the default settings, but feel free to change them. ![]() v /volume1/docker/grafana:/var/lib/grafana \Īdd InfluxDB to Home Assistant and restart Home Assistant. Start Grafana container (change /volume1/docker/grafana to the desired path): docker run -d -p 3000:3000 \ ![]() Now that the InfluxDB web UI is deprecated, run the Influx client using: docker exec -it influxdb influxĬreate a new database for Home Assistant and exit the Influx client: CREATE DATABASE home_assistant v /volume1/docker/influxdb/:/var/lib/influxdb \ Run the following command to start the InfluxDB container (change /volume1/docker/influxdb/ to the desired path): docker run -d \ So, here’s my version of how to get everything set up with the official images. Moreover, many of the tutorials still show the InfluxDB admin GUI, which is no longer available. Specifically, I did not want to use third-party images, which may not be maintained, and not use panel iframes to display the plots. I know there are already a few tutorials on setting up InfluxDB and Grafana with Home Assistant, but they did not meet my requirements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |