WeMos/Lolin D1 + BME280 - Environmental Data Fetcher - Python-Script for RaspberryPi/Linux - HTML-Graph
thingiverse
A Simple Script for Collecting Data from Environmental Sensors --------------------------------------------------------- This script collects data from one or more environmental sensors, such as WeMos/Lolin D1 Mini with BME280, running my code available at https://www.thingiverse.com/thing:3152008. To run this script regularly, create a cron job to execute it. Prerequisites: * Install requests using pip. * One or more CSV files are required, depending on the number of sensors being used. Running the python script for the first time will automatically create these files. * Edit the first line of each CSV file to resemble this format: Time(UTC),Temperature(°C),Humidity(%),Pressure(hPa) * Create a symbolic link to the CSV files in the HTML folder, usually located at /var/www. Update 2018-10-22 A new HTML file has been added that displays collected data in a graph using Dygraph. Initially, I aimed to create a single HTML file showing all graphs on one page but was unable to achieve this. To view multiple graphs, copy and edit the file for each CSV file. Update 2018-11-21 The script has been edited and tested for use with Python 3.
With this file you will be able to print WeMos/Lolin D1 + BME280 - Environmental Data Fetcher - Python-Script for RaspberryPi/Linux - HTML-Graph with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on WeMos/Lolin D1 + BME280 - Environmental Data Fetcher - Python-Script for RaspberryPi/Linux - HTML-Graph.