Telegraf, InfluxDB, Grafana with docker-compose

Docker is a great and easy way to run software in containers. Docker compose is a nice extension which allows to run whole systems composed of multiple containers in one command. This post shows you how you can set up a so-called “TIG” stack consisting of the open-source tools Step 0: Install Docker If youContinue reading “Telegraf, InfluxDB, Grafana with docker-compose”

What is Docker? How does it work?

In short: Docker is a platform and toolkit to develop applications that consist of multiple small containerized components that can be started, updated and replicated independently from each other. How it came to be Factor 1 – Monoliths are hard to handle Humans develop software since the early days of computers. Programming languages have evolvedContinue reading “What is Docker? How does it work?”

Setup a LAMP stack on Ubuntu (e.g. for hosting WordPress)

Mainly as a quick reminder for myself, I write down all the necessary steps to setup a LAMP stack on Ubuntu Linux. LAMP is a combination of software required to serve a dynamic PHP website. L = Linux, A = Apache Webserver, M = MySQL or MariaDB database, P = PHP Step 0: Update packageContinue reading “Setup a LAMP stack on Ubuntu (e.g. for hosting WordPress)”

Publish accelerometer sensor data on MQTT from ESP8266

Introduction This tutorial adds to the previous one, in which we wrote a sketch for a Wemos D1 mini (ESP8266) board, to read out and print accelerometer data. Now, we want to publish this data to an MQTT broker in the local network via WiFi. Prerequisites For this tutorial, we will switch to PlatformIO. Also,Continue reading “Publish accelerometer sensor data on MQTT from ESP8266”

Node-RED – Install on Linux

Introduction What is Node-RED? Node-RED is an open-source and low-code software, that allows to connect anything with anything. This means, any device that produces data and can be accessed over a network, can be included as a data source or sink in Node-RED. Messages from the devices can be modified or analyzed, processed and thenContinue reading “Node-RED – Install on Linux”

Mosquitto MQTT: Install broker on Linux

In this article, we will discuss how to install an MQTT broker. An MQTT broker (MQTT is short for Message Queue Telemetry Transport) is responsible for delivering messages in a network from publishers to subscribers. The broker receives all messages on different topics from different devices, and filters them according to the subscriptions of otherContinue reading “Mosquitto MQTT: Install broker on Linux”

Grafana – Useful Keyboad Shortcuts

Grafana is easy to use with some shortcuts and key combinations. You can use this list as a reference in the future. You can also download and print a PDF I prepared for you! You can also bring up a shortcut summary in Grafana by clicking Shift + ? in the dashboard. Key / ActionContinue reading “Grafana – Useful Keyboad Shortcuts”

Connect Grafana to InfluxDB and show data

In the previous article about how to set up InfluxDB, we have imported a sample dataset. Now, we want to show this data in Grafana by fetching it from an InfluxDB data source. Step 1: Setup the data source connection Log in to Grafana (usually on http://localhost:3000), and on the left side, click on ConfigurationContinue reading “Connect Grafana to InfluxDB and show data”

InfluxDB – Setup on Linux

InfluxDB is an open source database for time series data. This means, it is the perfect tool for storing sensor data from IoT sensors or systems. This article will show you how to install InfluxDB on Linux. Step 1: Download and install the Docker container At the time of writing (July 2020), the current stableContinue reading “InfluxDB – Setup on Linux”