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
328
34
3 months ago 00:00:06 2
Rp2040 raspberry pi watch
3 months ago 00:33:44 1
Best Hacking Laptop 2023
3 months ago 00:12:02 1
15 Brilliant Raspberry Pi Zero projects to learn and try!
3 months ago 00:17:48 1
If Linux OS Fills Your Every Moment With Joy, You Might Want to Consider Setting Up Archcraft
3 months ago 00:15:34 1
AUSTRUMI - Fastest Linux distribution with 3D support for ATI, Nvidia and Intel video cards
3 months ago 00:06:36 1
Make an Arduino Temperature Sensor (Thermistor Tutorial)
3 months ago 00:10:23 1
Эмуляторы Dendy, Sega MegaDrive, SNES и Sony PlayStation. Проекты Амперки
3 months ago 00:20:08 1
Raspberry PI Pico W. Поднимаем Web Server и управляем светодиодом через Wi-Fi и браузер.
3 months ago 00:02:07 1
Meet Doly - Your New Robotic Best Friend
3 months ago 00:44:53 1
Ассемблер ARM под голое железо. Часть 6. Кадровый буфер Raspberry Pi
3 months ago 00:20:57 1
The Manjaro Linux is a breath of fresh air
3 months ago 00:00:23 1
How to install the Video Game Module❓ #electronics #flipperzero #raspberrypi #hardware #diy
3 months ago 00:24:08 2
Arch Without the Hassle of Having to Configure Everything to Make It Suitable for Activities, Gaming
3 months ago 00:21:29 3
Ctlos Linux: From Russia with love - iso image based on Arch Linux ⚡️
3 months ago 00:16:45 1
DOS Gaming MIDI: Roland MT-32 / SoundCanvas SC-55 / SC-88, mt32-pi & SoundBlaster Hanging Note Fix
3 months ago 00:17:58 2
Go Nuts With Nutyx: A Customizable LinuxOS
3 months ago 00:22:32 1
Distro Focused on Stability, Constant Performance on PCs of Any Range, Without Losing Functionality
3 months ago 00:57:14 1
HOWTO: Make a POWERFUL smart TELESCOPE! Better than much bigger telescopes!
3 months ago 00:26:25 1
USB Разветвители HARPER от простого к мощному (USB HUB - 04P/04MB/07MB)
3 months ago 00:02:43 1
Самодельный манипулятор на Arduino, Raspberry с ROS2 для обучения школьников. Механика - Часть 1!
3 months ago 00:07:27 1
Building a Lego-powered Submarine 4.0 - automatic depth control
3 months ago 00:08:07 1
Делаем Аркадный Автомат своими руками
3 months ago 00:19:14 3
Tired of the Limitations and Issues of Windows 11? If Yes, Then It’s Time to Explore Nitrux
3 months ago 00:25:19 3
Just Starting on Your Linux Journey, This Rosa Linux Will Help You Immensely for Home Use Purposes