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: https://learnembeddedsystems.co.uk/easy-raspberry-pi-iot-server See other Raspberry Pi Tutorials here: https://www.youtube.com/watch?v=oqyMfGOEGwE&list 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 https://learnembeddedsystems.co.uk -- 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: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9 Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV All videos and tutorials on this channel and mentioned websites are for educational purposes only.
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: https://learnembeddedsystems.co.uk/easy-raspberry-pi-iot-server See other Raspberry Pi Tutorials here: https://www.youtube.com/watch?v=oqyMfGOEGwE&list 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 https://learnembeddedsystems.co.uk -- 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: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9 Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV All videos and tutorials on this channel and mentioned websites are for educational purposes only.