For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integration

All right! Now you can do every part of the project. Let integrate them together to work as a system.

  1. Start MQTT

sudo docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto

2. Connect InfluxDB

sudo docker run -d -p 8086:8086 -v influxdb:/var/lib/influxdb --name influxdb influxdb

3. Run Telegraf

sudo docker run -v /home/pi/:/etc/telegraf:ro telegraf

4. Connect ESP3266 to the sensor

5. Run Grafana

sudo docker run -d -p 3000:3000 grafana/grafana

6. Go the browser and type:

http://<your_raspberry_pi_ip>:3000
Log in as "admin" with password 'admin'
Create datasource: select InfluxDB
Modify dashboard and save

7. All is done. You can check the connection among them together.

Last updated

Was this helpful?