Slicer Discord
WeMos/Lolin D1 + BME280 - Environmental Data Fetcher - Python-Script for RaspberryPi/Linux - HTML-Graph – 3D printable model from Thingiverse Thingiverse

WeMos/Lolin D1 + BME280 - Environmental Data Fetcher - Python-Script for RaspberryPi/Linux - HTML-Graph

3 Downloads
1 Likes
0 Makes
Go to Model
A simple script for collecting and storing the data from one or more environmental sensors (WeMos/Lolin D1 Mini with BME280 running my code https://www.thingiverse.com/thing:3152008 ) in csv-files.
Make a cron-job to run this script regularly.

Prerequisites:
- pip install requests
- One or more - depending on how many sensors you're running - csv-files.
- Running the python-script for the first time will create the files on its own
- The first line should be edited to look like this: Time(UTC),Temperature(°C),Humidity(%),Pressure(hPa)
- Put a symbolic link of the CSV-files into the HTML-folder (usually under /var/www/ )

Update 2018-10-22
I've added a HTML-file which shows the collected data in a graph using Dygraph.
Initially i wanted to make a single HTML-file which then would show all graphs on a single page, but i wasn't able to make this work. For now you have to copy and edit the file which then shows a single graph for each CSV-file you want.
If anyone is ab
Source
Thingiverse
What you need to print this: Beginner Low confidence
Why?
print-in-place design
Print-in-place
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection