{"id":40575,"date":"2020-04-06T11:17:33","date_gmt":"2020-04-06T09:17:33","guid":{"rendered":"https:\/\/magazinnew.reichelt.de\/magazin\/uncategorized\/sensor-database-on-the-raspberry-pi\/"},"modified":"2023-04-13T13:33:01","modified_gmt":"2023-04-13T11:33:01","slug":"sensor-database-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/","title":{"rendered":"Sensor database on the Raspberry Pi"},"content":{"rendered":"\n<p>Anyone who wants to record sensor data over a long period of time is inevitably faced with a problem: How can the collected data be stored and presented?<br \/>InfluxDB and Grafana are actually tools designed for monitoring large servers, networks and websites.<\/p>\n\n<p>This tutorial explains how this combination can be used to visualize sensor data at home.<\/p>\n\n<h2 class=\"wp-block-heading\"><strong>The project<\/strong><\/h2>\n\n<p><strong>Suitable for: <\/strong>advanced<\/p>\n\n<p><strong>Time required:<\/strong> at least 2 h<\/p>\n\n<p><strong>What you need:<\/strong> <a href=\"https:\/\/www.reichelt.com\/gb\/en\/?ACTION=2&amp;GROUPID=8242&amp;&amp;VIEWALL=1&amp;propselect[0]=112%23General%23Design%23Standard%20%23Standard%230&amp;propselect[1]=1%23General%23Type%23Raspberry%20Pi%20%23Raspberry%20Pi%230&amp;propselect[2]=983%23General%23Category%23Board%20%23Board%230\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi<\/a> (model 2 or newer recommended), sensors or other interesting data sources<\/p>\n\n<p> <\/p>\n\n<h2 class=\"wp-block-heading\"><strong>The Tools<\/strong><\/h2>\n\n<h3 class=\"wp-block-heading\"><strong>InfluxDB<\/strong><\/h3>\n\n<p>InfluxDB is a Time Series Database (TSDB), a database which was developed especially for time series. Compared to conventional databases such as mySQL, TSDBs have several advantages:<\/p>\n\n<ul class=\"wp-block-list\"><li>Better performance and lower resource requirements<\/li><li>Special functions for the downsampling of measurement series<\/li><li>Better compression of data<\/li><\/ul>\n<p>InfluxDB also includes the program Telegraf, which collects measured values from many sources and forwards them to InfluxDB. In this tutorial Telegraf is used to collect data like the CPU usage of the Raspberry Pis. If this is not desired, the installation of Telegraf is not necessary.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Grafana<\/strong><\/h3>\n\n<p>Grafana is a platform for the visualization of time series. Data can be presented e.g. with graphs, tables and heat maps. A large selection of plugins offers many possibilities for extension. If you want to have a look at the interface before installation, you can use the live demo on <a rel=\"noreferrer noopener\" href=\"https:\/\/play.grafana.org\/\" target=\"_blank\">https:\/\/play.grafana.org<\/a>.<\/p>\n\n<h2 class=\"wp-block-heading\"><strong>Setup on the Raspberry Pi<\/strong><\/h2>\n\n<p>Due to the higher write load on the SD card caused by the database, it is recommended to install the operating system on a better data carrier, for example a USB-SSD.<br \/>At the very least, an SD card designed for high write load should be used (for example, a card for Dashcams).<\/p>\n\n<p>The installation of Raspbian will not be discussed further at this point, the tutorial is based on the version &#8220;Raspbian Buster Lite&#8221;.<\/p>\n\n<h3 class=\"wp-block-heading\">Installing the packages<\/h3>\n\n<p>The packages in the official Raspbian repositories are outdated, so the repositories of the respective developers must be added:<\/p>\n\n<pre class=\"wp-block-code\"><code>```bash\ncurl -sL https:\/\/packages.grafana.com\/gpg.key | sudo apt-key add -\ncurl -sL https:\/\/repos.influxdata.com\/influxdb.key | sudo apt-key add -\n\necho \"deb https:\/\/repos.influxdata.com\/debian stretch stable\" | sudo tee \/etc\/apt\/sources.list.d\/influxdb.list\necho \"deb  stable main\" | sudo tee \/etc\/apt\/sources.list.d\/grafana.list\n\nsudo apt-get update\nsudo apt-get install -y grafana influxdb telegraf\n\nsudo systemctl enable influxdb grafana-server telegraf\nsudo systemctl start influxdb grafana-server telegraf\n```<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\"><strong>Configuration<\/strong><\/h3>\n\n<p>By default Grafana starts a web server on port 3000, so the frontend can be reached with the browser under the URL http:\/\/:3000. The login is &#8220;admin&#8221;\/&#8221;admin&#8221; and should be changed directly at the first login. After that the home dashboard is already displayed.<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/home_dashboard.png\"><img decoding=\"async\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/home_dashboard.png\" alt=\"Home Dashboard\" class=\"wp-image-10418\" \/><\/a><\/figure>\n<p>First Grafana must be connected to InfluxDB. For this purpose, a new data source is created by clicking on &#8220;Add Data Source&#8221;, in the selection afterwards &#8220;InfluxDB&#8221; must be selected. Most of the settings can be left at the default values at first, only the URL has to be entered: http:\/\/localhost:8086. In addition, the database &#8216;telegraf&#8217; has to be entered under &#8220;InfluxDB Details&#8221;. A click on &#8220;Save &amp; Test&#8221; saves the settings, the confirmation &#8220;Data source is working&#8221; should appear.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Dashboards<\/strong><\/h3>\n\n<p>After that you can already create the first dashboard, this is done by clicking the &#8220;New Dashboard&#8221; button on the home dashboard. The first panel has already been created automatically, click &#8220;Add Query&#8221; to get to the panel menu.<\/p>\n\n<p>Telegraf should already have collected some data about the Raspberry Pi since the installation, like CPU load, RAM usage etc. To display the CPU load, for example, the measurement series &#8220;cpu&#8221; must be selected in the &#8220;FROM&#8221; line under &#8220;select measurement&#8221;. Afterwards, the field &#8220;usage_system&#8221; or &#8220;usage_user&#8221; can be selected in the line &#8220;SELECT&#8221; under &#8220;value&#8221;.<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/first_panel.png\"><img decoding=\"async\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/first_panel.png\" alt=\"First Panel\" class=\"wp-image-10420\" \/><\/a><\/figure>\n<p>Once the data has been selected, the buttons on the left are used to access further menus in which the graphical display can be configured.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Additional data sources in Telegraf<\/strong><\/h3>\n\n<p>Telegraf has a multitude of &#8220;Input Plugins&#8221;, which enable the collection of various data. Most plugins are designed for servers and measure statistics about different server applications. A funny exception to this is the &#8216;minecraft&#8217; plugin, which collects the scoreboards of players of a Minecraft server. A detailed list is available in the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/influxdata\/telegraf\/tree\/master\/plugins\/inputs\" target=\"_blank\">Telegraf source code<\/a>. To enable plugins, the configuration file &#8216;\/etc\/telegraf\/telegraf.conf&#8217; must be modified. If you want to get deeper into Telegraf, please refer to the <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/influxdata\/telegraf\/blob\/master\/docs\/CONFIGURATION.md\" target=\"_blank\">documentation<\/a>.<\/p>\n\n<h2 class=\"wp-block-heading\"><strong>Integration of sensor data<\/strong><\/h2>\n\n<h3 class=\"wp-block-heading\"><strong>Data format<\/strong><\/h3>\n\n<p>InfluxDB accepts data in the form of HTTP requests, so all network-compatible devices can easily send measured values to the database. Here, &#8216;curl&#8217; is used as an example for a sensor:<\/p>\n\n<pre class=\"wp-block-code\"><code>```bash\ncurl -i -XPOST 'http:\/\/&lt;IP-des-Pis&gt;:8086\/write?db=mydb' --data-binary 'sensor,ort=kueche temperatur=24.7'\n```<\/code><\/pre>\n\n<p>This query stores a measured value in the measurement series &#8216;sensor&#8217;, with the additional marking &#8216;location=kitchen&#8217; and the field &#8216;temperature&#8217;, with the value &#8216;24.7&#8217;. This measured value appears immediately in Grafana after setting up a dashboard.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>ESP8266 \/ ESP32<\/strong><\/h3>\n\n<p>In order to connect smaller sensors to the database, they must be sent to the database by a microcontroller. The easiest way to do this is with the ESP8266 and ESP32 controllers from Espressif, as these can communicate directly with the Raspberry via WLAN. There is also a suitable <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/tobiasschuerg\/ESP8266_Influx_DB\" target=\"_blank\">Arduino library<\/a>, so the same measured value can be transmitted in a few lines of code:<\/p>\n\n<pre class=\"wp-block-code\"><code>```c++\nInfluxData measurement(\"sensor\");\nmeasurement.addTag(\"ort\", \"kueche\");\nmeasurement.addValue(\"temperatur\", 24.7);\n\ninflux.write(measurement);\n```<\/code><\/pre>\n\n<p>A big disadvantage of these two controllers is the high current consumption due to the WLAN connection (about 80mA at 3.3V). For battery operation it is therefore absolutely necessary to use the sleep modes. Furthermore, the range is limited by the range of the WLAN network.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>LoRaWAN<\/strong><\/h3>\n\n<p>The best solution for power consumption and range is the relatively new wireless protocol LoRa (Long Range). A similar sensor with a LoRa transmitter has been tirelessly measuring the temperature in the author&#8217;s garden (with two mignon cells and every minute) for almost a year now and was able to successfully transmit data over several kilometers in range tests. However, LoRa requires special transmitters and receivers, the setup of which will be explained in upcoming How-To&#8217;s.<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/sensor_outside.png\"><img decoding=\"async\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/sensor_outside.png\" alt=\"Sensor Outside\" class=\"wp-image-10421\" \/><\/a><\/figure>\n<h2 class=\"wp-block-heading\"><strong>Further possibilities<\/strong><\/h2>\n\n<p>The article showed how a Raspberry Pi with InfluxDB and Grafana can be used to collect data from sensors and present it in an appealing way. Such a setup has been used by the author for about two years. Here are some interesting applications, which have all been integrated into the system:<\/p>\n\n<ul class=\"wp-block-list\"><li>Power, water and gas consumption<\/li><li>Indoor temperature, humidity and CO2 concentration<\/li><li>Weather station (temperature, humidity and pressure and solar panel power)<\/li><\/ul>\n<figure class=\"wp-block-gallery columns-2 wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/weather.png\"><img decoding=\"async\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/weather-1024x501.png\" alt=\"Wetter\" class=\"wp-image-10423\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/electricity.png\"><img decoding=\"async\" src=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2020\/03\/electricity-1024x500.png\" alt=\"Elektrizit&#xE4;t\" class=\"wp-image-10422\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n<hr class=\"wp-block-separator\" \/>\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anyone who wants to record sensor data over a long period of time is inevitably faced with a problem: How can the collected data be stored and presented?InfluxDB and Grafana are actually tools designed for monitoring large servers, networks and websites. This tutorial explains how this combination can be used to visualize sensor data at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":41532,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6037],"tags":[],"class_list":["post-40575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Sensor database on the Raspberry Pi - reichelt Magazin<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sensor database on the Raspberry Pi\" \/>\n<meta property=\"og:description\" content=\"Anyone who wants to record sensor data over a long period of time is inevitably faced with a problem: How can the collected data be stored and presented?InfluxDB and Grafana are actually tools designed for monitoring large servers, networks and websites. This tutorial explains how this combination can be used to visualize sensor data at [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"reichelt Magazin\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-06T09:17:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-13T11:33:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/person\\\/54edf009d7730dbe36a83d3e9948e08f\"},\"headline\":\"Sensor database on the Raspberry Pi\",\"datePublished\":\"2020-04-06T09:17:33+00:00\",\"dateModified\":\"2023-04-13T11:33:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/\"},\"wordCount\":1016,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/AdobeStock_316124285_klein.jpg\",\"articleSection\":[\"Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/\",\"name\":\"Sensor database on the Raspberry Pi - reichelt Magazin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/AdobeStock_316124285_klein.jpg\",\"datePublished\":\"2020-04-06T09:17:33+00:00\",\"dateModified\":\"2023-04-13T11:33:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/AdobeStock_316124285_klein.jpg\",\"contentUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/AdobeStock_316124285_klein.jpg\",\"width\":1200,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/projects\\\/sensor-database-on-the-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sensor database on the Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\",\"name\":\"reichelt Magazin\",\"description\":\"Das Technik Magazin\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#organization\",\"name\":\"reichelt Magazin\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/reichelt_magazin_logo_de_nl-1.svg\",\"contentUrl\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/reichelt_magazin_logo_de_nl-1.svg\",\"width\":456,\"height\":149,\"caption\":\"reichelt Magazin\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.reichelt.com\\\/magazin\\\/en\\\/#\\\/schema\\\/person\\\/54edf009d7730dbe36a83d3e9948e08f\",\"name\":\"admin\",\"sameAs\":[\"https:\\\/\\\/magazin.reichelt.de\\\/magazin\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sensor database on the Raspberry Pi - reichelt Magazin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"Sensor database on the Raspberry Pi","og_description":"Anyone who wants to record sensor data over a long period of time is inevitably faced with a problem: How can the collected data be stored and presented?InfluxDB and Grafana are actually tools designed for monitoring large servers, networks and websites. This tutorial explains how this combination can be used to visualize sensor data at [&hellip;]","og_url":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/","og_site_name":"reichelt Magazin","article_published_time":"2020-04-06T09:17:33+00:00","article_modified_time":"2023-04-13T11:33:01+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/"},"author":{"name":"admin","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/person\/54edf009d7730dbe36a83d3e9948e08f"},"headline":"Sensor database on the Raspberry Pi","datePublished":"2020-04-06T09:17:33+00:00","dateModified":"2023-04-13T11:33:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/"},"wordCount":1016,"commentCount":0,"publisher":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg","articleSection":["Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/","url":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/","name":"Sensor database on the Raspberry Pi - reichelt Magazin","isPartOf":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg","datePublished":"2020-04-06T09:17:33+00:00","dateModified":"2023-04-13T11:33:01+00:00","breadcrumb":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#primaryimage","url":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg","contentUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/AdobeStock_316124285_klein.jpg","width":1200,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/www.reichelt.com\/magazin\/en\/projects\/sensor-database-on-the-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.reichelt.com\/magazin\/en\/"},{"@type":"ListItem","position":2,"name":"Sensor database on the Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#website","url":"https:\/\/www.reichelt.com\/magazin\/en\/","name":"reichelt Magazin","description":"Das Technik Magazin","publisher":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.reichelt.com\/magazin\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#organization","name":"reichelt Magazin","url":"https:\/\/www.reichelt.com\/magazin\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/reichelt_magazin_logo_de_nl-1.svg","contentUrl":"https:\/\/www.reichelt.com\/magazin\/wp-content\/uploads\/2021\/11\/reichelt_magazin_logo_de_nl-1.svg","width":456,"height":149,"caption":"reichelt Magazin"},"image":{"@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.reichelt.com\/magazin\/en\/#\/schema\/person\/54edf009d7730dbe36a83d3e9948e08f","name":"admin","sameAs":["https:\/\/magazin.reichelt.de\/magazin"]}]}},"_links":{"self":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/40575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/comments?post=40575"}],"version-history":[{"count":14,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/40575\/revisions"}],"predecessor-version":[{"id":76294,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/posts\/40575\/revisions\/76294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/media\/41532"}],"wp:attachment":[{"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/media?parent=40575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/categories?post=40575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reichelt.com\/magazin\/en\/wp-json\/wp\/v2\/tags?post=40575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}