Integration
All right! Now you can do every part of the project. Let integrate them together to work as a system.
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



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

Last updated
Was this helpful?