Raspberry Pi IoT Server Tutorial: InfluxDB, MQTT, Grafana, Node-RED & Docker
This tutorial will create an internet of things server on your Raspberry Pi. This server will use Mosquitto MQTT, InfluxDB, Node-RED, Graphana in docker containers. We will use the helpful IoTStack tool which will configure our docker containers for us. This tutorial will allow you to collect any kind of sensor data you like, send it over your network to this raspberry pi server and visualise it on a Grafana dashboard.
This system consists of a series of sensor nodes that send sensor data in a JSON message over the network to a Raspberry Pi via MQTT. MQTT is a network protocol where a client pushes data to a broker, such as mosquitto, and the broker pushes that data to any client that has subscribed to that topic. A topic categorises the data that is sent. Any client that is subscribed to home slash sensor will be forwarded this MQTT message. NodeRED will subscribe to this topic, interpret the json message data and then send the data to a database to be stored and used. InfluxDB will store all the sensor data. Then a Graphana front end will query the database in order to display the data we want to see and do a whole host of other things.
The written version of this tutorial and the code used is available here:
See other Raspberry Pi Tutorials here:
Timestamps
00:00 What this server will do
00:30 How will it do it?
02:16 Docker
03:59 IoTStack
06:46 InfluxDB Database
07:25 Node-RED Setup
10:15 Grafana Setup
11:58 Conclusion
You can find more embedded systems tutorials and projects on our website
-- Equipment we use regularly --
The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed.
Budget Soldering Iron: UK: US:
Breadboards: UK: US:
Jumper Cables: UK: US:
Camera: UK: US:
Lens: UK: US:
Tripod: UK: US:
All videos and tutorials on this channel and mentioned websites are for educational purposes only.
1 view
366
48
1 month ago 00:12:39 1
DIY Cardboard FM Synth (8 DX7s!) | MiniDexed & Raspberry Pi
1 month ago 00:26:46 1
Endless OS | Best Linux Distro That’s Chock Full of Apps
1 month ago 00:29:35 1
FunOS | A Balance of Features and Functionality With Low-resource Usage
2 months ago 00:05:53 1
DON’T Buy a PC Without Watching This Video! youyeetoo X1
2 months ago 00:28:04 1
PCLinuxOS | The Boomer Distro | This Classic Independent Linux Distro is Definitely Worth a Look
2 months ago 00:26:22 1
PikaOS Makes Gaming and Standard Desktop Usage on Linux Fairly Straightforward
2 months ago 00:04:13 1
Transforma tu Raspberry Pi en un detector 360º con LIDAR
2 months ago 00:45:43 1
Полный Айсберг Linux: Что скрывается под поверхностью ОС?
2 months ago 00:29:57 1
Parrot 6.2 Release, The Ethical Hacking Distro Now Introduces Rocket Launcher for Docker Containers
2 months ago 00:27:13 1
ArchCraft is Arch Linux For The Rest of Us
2 months ago 00:04:50 1
5 Best Similar Windows Like Linux OS Distros Users Should Try Out in 2024 | Replace Windows 11 & 10
2 months ago 00:15:24 1
I put ChatGPT on a Robot and let it explore the world
2 months ago 00:34:24 1
Mega OS Sierra is a Really Good Choice For Gamers and Professionals?
2 months ago 00:38:21 2
A First Look At Voyager Live/Linux , It Brings Together GNOME and XFCE Once Again
2 months ago 00:44:11 1
Solus 4.6 “Convergence” Released | Experimental Software Centers | Continued Merged Usr Migration
2 months ago 00:00:55 1
Cooling 14900K Using HEATSINK
2 months ago 00:39:52 1
Mega OS is Able to Run Both Windows and Linux Programs
2 months ago 00:10:39 1
Проверка WiFI на защищенность | WPA2 | Kali Linux | Как защититься от в3л0ма? | UnderMind