Real time DHT22 sensor data visualization with RabbitMQ, Flask and D3.js on Raspberry Pi Zero

In this post I am going to detail how to create a real time data pipeline for processing sensor data. First we will connect the sensor and create the code to read it. I will use the DHT22 temperature and humidity sensor on the Raspberry Pi Zero WH. Then we’ll setup the real time data flow with Python and RabbitMQ. Finally we will use Flask and D3.js to display the data in a live dashboard in a browser.

Read more…


Make your own Kodi add-on in Python

Configure the Kodi app

In this post we will learn how to develop a Kodi add-on in Python. You can run the add-on in OpenELEC or LibreELEC on the Orange Pi or Raspberry Pi, or as a matter of fact on any device that can run Kodi. The add-on will read data from various sources, such as an API for the current Bitcoin price, and show it on the main screen.

Read more…


Store and visualize sensor data in SQLite

Store sensor data with SQLite

Very often as part of an Orange Pi or Raspberry Pi project involving sensors, it is useful to store the sensor data in some kind of way or another. A good way to store the data is in a database that you can manage and query. SQLite is a popular embedded database management system. SQLite comes in the form of a C library. Due to it’s low footprint on resources, it fits well with a device such as a Raspberry Pi or the Orange Pi.

Read more…