{"id":2326,"date":"2022-06-10T14:28:46","date_gmt":"2022-06-10T12:28:46","guid":{"rendered":"https:\/\/timvis.de\/blog\/?p=2326"},"modified":"2022-06-15T10:53:52","modified_gmt":"2022-06-15T08:53:52","slug":"environmental-data-server","status":"publish","type":"post","link":"https:\/\/timvis.de\/blog\/2022\/06\/environmental-data-server\/","title":{"rendered":"Custom: Environmental Data Server"},"content":{"rendered":"<p>Data for air quality, CO\u2082-Levels, VOC through the gas sensor and further measures of temp\/humidty\/pressure are available in the network for further integration. They can be obtained through a websocket server or as OSC messages. Ethernet or Wifi. Plug and Play.<\/p>\n<p><!--more--><\/p>\n<h3>Hardware from the pool<\/h3>\n<ul>\n<li>The low-spec Raspberry Pi 1 Model B is more than enough for the task.<\/li>\n<li><a class=\"wp-editor-md-post-content-link\" title=\"Bosch BME 688\" href=\"https:\/\/www.bosch-sensortec.com\/products\/environmental-sensors\/gas-sensors\/bme688\/\">Bosch BME 688<\/a> 4-in-1 air quality sensor with AI<\/li>\n<li>USB Wifi Dongle<\/li>\n<\/ul>\n<h3>Software\/System<\/h3>\n<ul>\n<li>Raspberry Pi OS console running headless (without desktop and display attached).<\/li>\n<li>Custom python script for everything, which is automatically started as <em>systemd service<\/em>.<\/li>\n<li>Libraries had to be compiled to integrate <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.bosch-sensortec.com\/software-tools\/software\/bme688-software\">Bosch BSEC Software<\/a> for the AI functionality.<\/li>\n<li>The update interval is 3 seconds due to energy saving sensor readouts.<\/li>\n<li>For the OSC and Wifi functionality a one-time manual setup is needed.<\/li>\n<li>The sensor in the pic below receives heat from the Raspberry Pi and should be placed somewhere else of course.<\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"1280\" src=\"https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01.jpg\" alt=\"\" class=\"wp-image-2497\" srcset=\"https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01.jpg 1920w, https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01-512x341.jpg 512w, https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01-200x133.jpg 200w, https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01-768x512.jpg 768w, https:\/\/timvis.de\/blog\/wp-content\/uploads\/2022\/06\/01-1536x1024.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Data for air quality, CO\u2082-Levels, VOC through the gas sensor and further measures of temp\/humidty\/pressure are available in the network for further integration. They can be obtained through a websocket server or as OSC messages. Ethernet or Wifi. Plug and Play.<\/p>\n","protected":false},"author":2,"featured_media":2497,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"lazy_load_responsive_images_disabled":false,"footnotes":""},"categories":[107,4,109,116],"tags":[],"class_list":["post-2326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding","category-custom_technology","category-network","category-rpi-use-case"],"_links":{"self":[{"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/posts\/2326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/comments?post=2326"}],"version-history":[{"count":0,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/posts\/2326\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/media\/2497"}],"wp:attachment":[{"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/media?parent=2326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/categories?post=2326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/timvis.de\/blog\/wp-json\/wp\/v2\/tags?post=2326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}