Andreas' Blog

Adventures of a software engineer/architect

Collect IoT data from Arduino in InfluxDB

2021-01-29 5 min read anoff

Did you add some fancy sensors to your Arduino board? If you have internet connectivity via ESP8266 or similar chips you can easily collect and visualize your sensor readings using InfluxDB. This blog post will cover how to send data from Arduino to InfluxDB Cloud (v2) but also to your self-hosted InfluxDB instance (v1).

Continue reading

Setting up Grafana on Raspberry Pi with Docker (compose)

2021-01-05 4 min read anoff

In previous blog posts I showed you how to setup a Raspberry Pi with docker-compose support and how to run InfluxDB on your Raspberry Pi. This tutorial will add Grafana to your Pi-stack and give you a complete monitoring setup. The InfluxDB+Grafana stack is heavily used in DevOps scenarios but also extremely useful if you want to visualize any kind of timeseries data at home; power consumption, smart home events, computer uptime, amount of devices in your network, weather in your basement … endless opportunities at your fingertips!

Continue reading

How to setup Raspberry Pi as home server with Docker support

2020-12-29 6 min read anoff

This blog post will cover how to setup a Raspberry Pi with Docker support. It will also cover some basic steps that will make it easier to work with your RasPi later on. This setup will work completely without monitor/keyboard for your Raspberry but you need a LAN connection to it. I wrote most commands so they are easily pastable and do not require too much interactive work - you should however carefully read what is going on with each of those commands before you fire them off!

Continue reading

Programming ESP and other Arduino compatible chips using VS Code on MacOS

2020-12-28 4 min read anoff

When you are developing microcontroller based projects as a hobbyist you often end up with the Arduino ecosystem and might be tempted to use their IDE. This post will explain how you can develop, program & debug Arduino compatible devices using VS Code. Even though this post is written with a MacOS walk-through it should be valid for other operation systems as well.

Continue reading