Raspberry Data Logging and Graphing Software
Alternatives To Sdl_pi_datalogger
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
6 years ago2lgpl-3.0Python
Pythondict Quant250
a year ago1Python
Quant Examples Based on Backtrader.
Python Notes103
4 years agon,ullmitPython
Python related technologies used in work: crawler, data analysis, timing tasks, RPC, page parsing, decorator, built-in functions, Python objects, multi-threading, multi-process, asynchronous, redis, mongodb, mysql, openstack, etc.
5 years agoPython
2 years ago
5 years agoPython
《精通 Scrapy 网络爬虫》刘硕 书中源代码
6 years agoC++
a trading application writen in python (demo)
10 years agoPython
A collection of Python convenience functions for matplotlib, networkx and mysql
Windows On Arm64 Toolchain4
5 months agoBatchfile
Tools for Windows on ARM devices like the Surface Pro X. Such as Python, Pygame, Pillow, matplotlib, pycryptodome, opencv, PyQt6, LxRunOffline, idea-CE, Qt Creator, Dev-Sidecar, MarkText, Perl, Aria2, Nodejs, MySQL
2 years agoPython
Raspberry Data Logging and Graphing Software
Alternatives To Sdl_pi_datalogger
Select To Compare

Alternative Project Comparisons

Raspberry Pi DataLogger SwitchDoc Labs

Version 6.0

June 8, 2021: Set up to use INA3221 to measure current consumption on WeatherSense units

June 8, 2021: converted to Python3

January 25, 2020: Fixed string datatime errors and updated matplotlib to facecolor

October 4, 2019: Started conversion to Python3. Added CVSensor (INA219) support

March 25, 2018: Fixed MatPlot issues related to Raspberry Stretch Release

June 01, 2016: Set up to measure current using Grove INA3221 3 channel Current Measuring Breakout Board and display with MatPlotLib

June 11, 2016: Set up to measure voltage using Grove ADS1115 4 Channel 16 Bit ADC Board

June 15, 2016: Added configuration variables

June 18, 2016: Installed OurWeather suppot / Fixed multiple graph generation

June 30, 2016: Added software to measure three solar panels at once through an I2C Mux and Three SunAirPlus boards

July 16, 2016: Added WXLink support (Wireless link for the WeatherRack Weather Sensors to the Raspberry Pi)

September 19, 2016: Added OurWeather Solar Extender to the Database

October 20, 2016: Improved WXLink Error Checking

December 29, 2016: Added additional graphs for ADS1115 display

January 7, 2017: Calibrated scaling on O2 sensor graph

Supports the INA3221 Grove Breakout Board or SunAirPlus on Supports the ADS1115 Grove Breakout Board on Supports the OurWeather Full Weather Kit Supports the Grove 4 Channel I2C Mux Supports the SwitchDoc Labs WXLink and Mini Pro LP

SunAirPlus - INA3221 - ADS1115 - OurWeather - Grove 4 CHannel I2C Mux - WXLink -

See the blog posting on about setting up the DataLogger:

To Install:

Install the following tools and libraries:

Installing MySQL
MySQL - Use the following tutorial:

Install a User (datalogger in this case):
(you need to do "sudo mysql -r root -p" in this tutorial)

and then install the python bindings:

sudo python3 -m pip install PyMySQL sudo pip install mysql-python

Installing apscheduler

sudo pip install setuptools --upgrade sudo pip install apscheduler

Installing Apache

sudo apt-get install apache2 -y

Installing MatPlotLib

matplotlib - Install the following packages (This will take quite a while)

$ sudo apt-get install libblas-dev ## 1-2 minutes

$ sudo apt-get install liblapack-dev ## 1-2 minutes

$ sudo apt-get install python-dev ## Optional

$ sudo apt-get install libatlas-base-dev ## Optional speed up execution

$ sudo apt-get install gfortran ## 2-3 minutes

$ sudo apt-get install python-setuptools ## ?

$ sudo easy_install scipy ## 2-3 hours

$ sudo apt-get install python-matplotlib ## 1 hour

Installing httplib2

sudo apt-get install python-httplib2

Installing INA219

sudo pip install pi-ina219

Finally, copy DataLogger.html to /var/www/html

sudo cp DataLogger.html /var/www/html

and finally, set up the database:

Use phpmyadmin or sql command lines to add the included SQL file to your MySQL databases.

example: mysql -u root -p < DataLogger.sql

user: root

password: password

Obviously with these credentials, don't connect port 3306 to the Internet. Change them if you aren't sure.

Now you can run DataLogger

To Use:

Change the configuration variables to support your setup:

# configuration variables
# set to true if present, false if not

INA3221_Present = True
ADS1115_Present = True

To Add Devices:

  1. Add a configuration Variable
  2. Add device initialization code
  3. Build your custom functions file containing the read device/MySQL code and the graph building function
  4. Add your graph to the provided HTML file and copy it to /var/www/html
Popular Mysql Projects
Popular Matplotlib Projects
Popular Data Storage Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.