Skip to content

Pwutseltronics/Metergrafiekjes-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose file with the resulting (short-term) dashboard next to it Long-term energy consumption dashboard

Metergrafiekjes docker-compose

The goal of this docker-compose is to deliver a configuration to view data coming from the Metertrekker firmware.

Installation

  1. Download this repository (or git clone [email protected]:Pwutseltronics/Metergrafiekjes-docker-compose.git)
  2. Make sure you have docker-compose available
  3. Open the (extracted) folder of the repository
  4. Optional: edit docker-compose.yml to suit your own preferences
  5. docker-compose up -d

This will work on a Raspberry Pi and most other Linux computers. If you want to run this on a different environment (like a NAS or Docker Desktop), refer to guides for the respective host software. It should work fine, but the way of setting it up will be different.

But I already have an MQTT broker!

To use your own MQTT broker instead of the eclipse-mosquitto container:

  1. In docker-compose.yml, comment or delete the entire mosquitto section
  2. In telegraf.conf, change tcp://mosquitto:1883 to the address of your MQTT broker. To access a service on the host device, the IP address should be 172.17.0.1. More info here.

Usage

If you have correctly executed the steps under Installation, you can now access Grafana at port 3000 of the device you have installed it on, e.g. http://[IP address]:3000. Log in with the default username and password (both admin). You will be asked to enter a new password; this is not required but strongly recommended if you want to make the dashboard reachable externally (e.g. via port-forwarding on your router).

Once you have logged in, you will see the Grafana home page. Click Home in the top of the screen and select Energie or Energie lange-termijn. Voilà, you now have fancy energy consumption graphs!

Releases

No releases published

Packages

No packages published