EVA-2020-02-2.git
4 years agoMerge pull request #33 from pimoroni/noise
Philip Howard [Wed, 5 Feb 2020 14:01:24 +0000 (14:01 +0000)]
Merge pull request #33 from pimoroni/noise

Noise library and examples for basic FFT and frequency binning

4 years agoMerge pull request #45 from hotplot/patch-1
Philip Howard [Tue, 10 Dec 2019 13:08:50 +0000 (13:08 +0000)]
Merge pull request #45 from hotplot/patch-1

Remove inappropriate sleep between reads

4 years agoRemove inappropriate sleep between reads
Sam Birch [Mon, 9 Dec 2019 08:55:42 +0000 (21:55 +1300)]
Remove inappropriate sleep between reads

The PMS5003 seems to buffer unread samples. If you are reading at a lower rate than it takes readings, then a progressively larger delay will occur between changes in actual PM levels and indicated PM levels.

To see the issue:
1) run this example with the `time.sleep(1)` *included*
2) wait a few minutes
3) burn a piece of paper near the sensor and wait for the reported PM levels to spike

With the sleep included, there is a delay between introducing smoke and seeing reported levels rise (often a few minutes or longer). With the sleep removed you will see reported levels update almost immediately.

The correct way to use the sensor is to read as fast as the sensor allows, and not make any assumptions about what rate samples will be published at

5 years agoMerge pull request #37 from Kostadin/pms5003_graphing_fix
Philip Howard [Wed, 30 Oct 2019 14:59:36 +0000 (14:59 +0000)]
Merge pull request #37 from Kostadin/pms5003_graphing_fix

Fixed graphing problem for PMS5003 results

5 years agoMerge pull request #39 from Kostadin/combined_mode_example
Philip Howard [Wed, 30 Oct 2019 14:51:24 +0000 (14:51 +0000)]
Merge pull request #39 from Kostadin/combined_mode_example

Added a new combined mode example

5 years agoAdded a new combined mode example
Kostadin [Sat, 26 Oct 2019 11:45:18 +0000 (14:45 +0300)]
Added a new combined mode example

This is a modification of all-in-one.py. It adds another mode where all EnviroPlus and PMS5003 sensor readings are combined on one screen.

Each variable that is displayed can have custom warning limits assigned which change the color of the text according to a predefined RGB palette. It allows for a quick glance of all sensor readings at once in order to jugde if everything is OK in the air or to quickly pinpoint a sensor reading that requires attention.

In addition, the new combined mode saves each reading as soon as it is received for graphing later. As in all-in-one.py, moving your finger close to the proximity sensor switches the mode.

5 years agoFixed graphing problem for PMS5003 results
Kostadin [Sat, 26 Oct 2019 10:26:47 +0000 (13:26 +0300)]
Fixed graphing problem for PMS5003 results

The PMS5003 library returns integers. This causes the current formula for color scaling of the graph to not work properly because of integer division instead of float division. Converting the PMS5003 results from int to float solves the problem.

5 years agoAdd deps for noise measurement
Phil Howard [Wed, 16 Oct 2019 09:44:48 +0000 (10:44 +0100)]
Add deps for noise measurement

5 years agoFix noise-profile example
Phil Howard [Wed, 16 Oct 2019 09:42:21 +0000 (10:42 +0100)]
Fix noise-profile example

5 years agoAdd DocStrings and linting
Phil Howard [Wed, 16 Oct 2019 09:41:23 +0000 (10:41 +0100)]
Add DocStrings and linting

5 years agoAdd dtoverlay for mic
Phil Howard [Wed, 16 Oct 2019 09:41:10 +0000 (10:41 +0100)]
Add dtoverlay for mic

5 years agoTidy up noise examples
Phil Howard [Tue, 17 Sep 2019 10:52:42 +0000 (11:52 +0100)]
Tidy up noise examples

5 years agoNoise library and examples for basic FFT and frequency binning
Phil Howard [Tue, 17 Sep 2019 10:45:48 +0000 (11:45 +0100)]
Noise library and examples for basic FFT and frequency binning

5 years agoTransitional fix for new LTR559 library
Phil Howard [Thu, 12 Sep 2019 09:02:32 +0000 (10:02 +0100)]
Transitional fix for new LTR559 library

5 years agoMerge branch 'master' of github.com:pimoroni/enviroplus-python
Phil Howard [Tue, 20 Aug 2019 15:36:17 +0000 (16:36 +0100)]
Merge branch 'master' of github.com:pimoroni/enviroplus-python

5 years agoMerge pull request #20 from makeupsomething/patch-1
Philip Howard [Tue, 20 Aug 2019 15:35:39 +0000 (16:35 +0100)]
Merge pull request #20 from makeupsomething/patch-1

Fix typo

5 years agoMerge branch 'cipy-use-generic-variables'
Phil Howard [Tue, 20 Aug 2019 15:34:31 +0000 (16:34 +0100)]
Merge branch 'cipy-use-generic-variables'

5 years agoReplaced exception pass with log warning
Phil Howard [Tue, 20 Aug 2019 15:34:23 +0000 (16:34 +0100)]
Replaced exception pass with log warning

5 years agoMerge branch 'use-generic-variables' of git://github.com/cipy/enviroplus-python into...
Phil Howard [Tue, 20 Aug 2019 15:28:38 +0000 (16:28 +0100)]
Merge branch 'use-generic-variables' of git://github.com/cipy/enviroplus-python into cipy-use-generic-variables

5 years agoMerge branch 'cipy-improved-logging'
Phil Howard [Tue, 20 Aug 2019 15:22:17 +0000 (16:22 +0100)]
Merge branch 'cipy-improved-logging'

5 years agoMerged cipy-improved-logging, omitted luftdaten.py for now
Phil Howard [Tue, 20 Aug 2019 15:22:05 +0000 (16:22 +0100)]
Merged cipy-improved-logging, omitted luftdaten.py for now

5 years agoDropped obsolete .decode()
Phil Howard [Tue, 20 Aug 2019 15:17:12 +0000 (16:17 +0100)]
Dropped obsolete .decode()

5 years agoMerge branch 'cipy-master'
Phil Howard [Tue, 20 Aug 2019 15:15:32 +0000 (16:15 +0100)]
Merge branch 'cipy-master'

5 years agoMerged cipy-master
Phil Howard [Tue, 20 Aug 2019 15:15:24 +0000 (16:15 +0100)]
Merged cipy-master

5 years agoMerge branch 'topshed-master'
Phil Howard [Tue, 20 Aug 2019 15:11:33 +0000 (16:11 +0100)]
Merge branch 'topshed-master'

5 years agoMerge branch 'master' of git://github.com/topshed/enviroplus-python into topshed...
Phil Howard [Tue, 20 Aug 2019 15:08:53 +0000 (16:08 +0100)]
Merge branch 'master' of git://github.com/topshed/enviroplus-python into topshed-master

5 years agoSwitch temp comp method for #28
Phil Howard [Mon, 19 Aug 2019 09:52:04 +0000 (10:52 +0100)]
Switch temp comp method for #28

5 years ago+x
Phil Howard [Mon, 19 Aug 2019 09:39:05 +0000 (10:39 +0100)]
+x

5 years agoMerge branch 'master' into improved-logging
Ciprian Manea [Sun, 18 Aug 2019 19:25:58 +0000 (22:25 +0300)]
Merge branch 'master' into improved-logging

5 years agocatching the correct ReadTimeoutError for pms5003
Ciprian Manea [Sun, 18 Aug 2019 19:18:58 +0000 (22:18 +0300)]
catching the correct ReadTimeoutError for pms5003

5 years agoAdding delay to avoid rate-limiting by Luftdaten
Sandy Macdonald [Tue, 13 Aug 2019 14:27:16 +0000 (15:27 +0100)]
Adding delay to avoid rate-limiting by Luftdaten

5 years agoimproved logging with timestamps (instead of print)
Ciprian Manea [Mon, 5 Aug 2019 18:17:29 +0000 (21:17 +0300)]
improved logging with timestamps (instead of print)

5 years agouse generic variables in -no-pm code too
Ciprian Manea [Sun, 4 Aug 2019 08:17:53 +0000 (11:17 +0300)]
use generic variables in -no-pm code too

5 years agouse generic variables; handle pms5003.ReadTimeoutError
Ciprian Manea [Sun, 4 Aug 2019 08:08:54 +0000 (11:08 +0300)]
use generic variables; handle pms5003.ReadTimeoutError

5 years agoallow temperature reads to converge a bit faster
Ciprian Manea [Sat, 3 Aug 2019 22:49:01 +0000 (01:49 +0300)]
allow temperature reads to converge a bit faster

5 years agotesting all examples, with corrections for Python3 support
Ciprian Manea [Sat, 3 Aug 2019 22:27:29 +0000 (01:27 +0300)]
testing all examples, with corrections for Python3 support

5 years agoUpdate luftdaten.py
Richard Hayler [Sat, 3 Aug 2019 19:48:26 +0000 (20:48 +0100)]
Update luftdaten.py

added decoding of bytestring to provide Python3 compatibility.

5 years agoUpdate all-in-one.py
Richard Hayler [Sat, 3 Aug 2019 19:47:08 +0000 (20:47 +0100)]
Update all-in-one.py

added decoding of bytestring to provide Python3 compatibility.

5 years agoUpdate all-in-one-no-pm.py
Richard Hayler [Sat, 3 Aug 2019 19:43:47 +0000 (20:43 +0100)]
Update all-in-one-no-pm.py

added decoding of bytestring to provide Python3 compatibility.

5 years agoFix typo
makeupsomething [Thu, 1 Aug 2019 06:09:58 +0000 (15:09 +0900)]
Fix typo

5 years agoMerge pull request #12 from pimoroni/patch-adc
Philip Howard [Wed, 17 Jul 2019 12:21:26 +0000 (13:21 +0100)]
Merge pull request #12 from pimoroni/patch-adc

Add support for breakout ADC channel

5 years agoExpand test coverage, bugfix
Phil Howard [Wed, 17 Jul 2019 09:17:28 +0000 (10:17 +0100)]
Expand test coverage, bugfix

5 years agoMerge pull request #14 from tanyafish/master
Philip Howard [Tue, 16 Jul 2019 13:47:06 +0000 (14:47 +0100)]
Merge pull request #14 from tanyafish/master

add example for those without a PM sensor

5 years agoMerge pull request #1 from tanyafish/tanyafish-patch-1
Tanya Fish [Tue, 16 Jul 2019 13:33:20 +0000 (14:33 +0100)]
Merge pull request #1 from tanyafish/tanyafish-patch-1

Create all-in-one-no-pm.py

5 years agoCreate all-in-one-no-pm.py
Tanya Fish [Tue, 16 Jul 2019 13:21:11 +0000 (14:21 +0100)]
Create all-in-one-no-pm.py

Example for all of the sensors built in, omitting the optional particulate matter sensor.

5 years agoMerge branch 'master' of github.com:pimoroni/enviroplus-python into patch-adc
Phil Howard [Tue, 16 Jul 2019 10:52:08 +0000 (11:52 +0100)]
Merge branch 'master' of github.com:pimoroni/enviroplus-python into patch-adc

5 years agoEnsure required dependencies are installed
Philip Howard [Fri, 12 Jul 2019 20:13:41 +0000 (21:13 +0100)]
Ensure required dependencies are installed

5 years agoAdd example to demo ADC channel usage
Phil Howard [Fri, 12 Jul 2019 12:54:25 +0000 (13:54 +0100)]
Add example to demo ADC channel usage

5 years agoAdd ADC channel support into gas module
Phil Howard [Fri, 12 Jul 2019 12:54:01 +0000 (13:54 +0100)]
Add ADC channel support into gas module

5 years agoCreate RESOURCES_DIR early
Philip Howard [Wed, 10 Jul 2019 10:31:34 +0000 (11:31 +0100)]
Create RESOURCES_DIR early

5 years agoInstall improvements
Phil Howard [Wed, 10 Jul 2019 09:58:27 +0000 (10:58 +0100)]
Install improvements

5 years agoMerge branch 'installer-patch-1'
Phil Howard [Wed, 10 Jul 2019 09:18:08 +0000 (10:18 +0100)]
Merge branch 'installer-patch-1'

5 years agoBootstrap with python-configparser from apt
Phil Howard [Sat, 6 Jul 2019 13:16:10 +0000 (14:16 +0100)]
Bootstrap with python-configparser from apt

5 years agoAdd pip for #6, correct indendation
Philip Howard [Sat, 6 Jul 2019 13:07:53 +0000 (14:07 +0100)]
Add pip for #6, correct indendation

5 years agoPackaging fixes from boilerplate
Phil Howard [Thu, 4 Jul 2019 20:19:35 +0000 (21:19 +0100)]
Packaging fixes from boilerplate

5 years agoconfig.txt probably doesn't support inline comments #9
Phil Howard [Thu, 4 Jul 2019 13:43:45 +0000 (14:43 +0100)]
config.txt probably doesn't support inline comments #9

5 years agoAdd setuptools minimum version trap
Phil Howard [Thu, 4 Jul 2019 12:55:41 +0000 (13:55 +0100)]
Add setuptools minimum version trap

5 years agoMerge pull request #8 from sepulworld/bug/adding_python_setuptools
Philip Howard [Thu, 4 Jul 2019 10:18:04 +0000 (11:18 +0100)]
Merge pull request #8 from sepulworld/bug/adding_python_setuptools

adding install notes for python-pil, python-setuptools

5 years agoadding install notes for python-pil, python-setuptools
zane [Thu, 4 Jul 2019 06:12:37 +0000 (23:12 -0700)]
adding install notes for python-pil, python-setuptools

5 years agoAdd PIL for #6
Phil Howard [Wed, 3 Jul 2019 21:51:51 +0000 (22:51 +0100)]
Add PIL for #6

5 years agoMerge pull request #5 from pimoroni/pimstaller-v2
Philip Howard [Wed, 3 Jul 2019 13:27:01 +0000 (14:27 +0100)]
Merge pull request #5 from pimoroni/pimstaller-v2

Switch to v2 installer

5 years agoBack up to /boot to survive OLI rm
Phil Howard [Wed, 3 Jul 2019 12:54:17 +0000 (13:54 +0100)]
Back up to /boot to survive OLI rm

5 years agoRecommend OLI install
Phil Howard [Wed, 3 Jul 2019 12:40:54 +0000 (13:40 +0100)]
Recommend OLI install

5 years agoAdd links & blurb to README
Phil Howard [Wed, 3 Jul 2019 12:33:48 +0000 (13:33 +0100)]
Add links & blurb to README

5 years agoUpdate README install instructions
Phil Howard [Wed, 3 Jul 2019 12:29:31 +0000 (13:29 +0100)]
Update README install instructions

5 years agoAdd Raspbian Lite dependencies for #6
Phil Howard [Wed, 3 Jul 2019 12:21:25 +0000 (13:21 +0100)]
Add Raspbian Lite dependencies for #6

5 years agoSwitch to v2 installer
Phil Howard [Tue, 2 Jul 2019 12:07:36 +0000 (13:07 +0100)]
Switch to v2 installer

5 years agoDecode fix for #3
Phil Howard [Tue, 25 Jun 2019 21:49:46 +0000 (22:49 +0100)]
Decode fix for #3

5 years agoMerge pull request #2 from andrewgleave/master
Philip Howard [Mon, 24 Jun 2019 18:13:30 +0000 (19:13 +0100)]
Merge pull request #2 from andrewgleave/master

Fix PM10 label unit

5 years agoFix PM10 label unit
Andrew Gleave [Mon, 24 Jun 2019 15:08:26 +0000 (16:08 +0100)]
Fix PM10 label unit

5 years agoFix in lieu of #1
Phil Howard [Mon, 17 Jun 2019 11:19:44 +0000 (12:19 +0100)]
Fix in lieu of #1

5 years agoUpdated README.rst
Phil Howard [Fri, 14 Jun 2019 15:11:00 +0000 (16:11 +0100)]
Updated README.rst

5 years agoExclude fonts from DoS check
Phil Howard [Fri, 14 Jun 2019 15:10:42 +0000 (16:10 +0100)]
Exclude fonts from DoS check

5 years agoUpdate README.md
Sandy Macdonald [Fri, 14 Jun 2019 12:30:39 +0000 (13:30 +0100)]
Update README.md

5 years agoflake8 fiddling
Sandy Macdonald [Fri, 14 Jun 2019 12:26:56 +0000 (13:26 +0100)]
flake8 fiddling

5 years agoImprovements to compensated temperature code
Sandy Macdonald [Fri, 14 Jun 2019 09:30:18 +0000 (10:30 +0100)]
Improvements to compensated temperature code

5 years agoAdding all-in-one example
Sandy Macdonald [Thu, 13 Jun 2019 21:36:10 +0000 (22:36 +0100)]
Adding all-in-one example

5 years agoFix for PMS5003 ReadTimeoutError
Sandy Macdonald [Thu, 13 Jun 2019 11:44:11 +0000 (12:44 +0100)]
Fix for PMS5003 ReadTimeoutError

5 years agoTweaking temp compensation value
Sandy Macdonald [Thu, 13 Jun 2019 10:53:25 +0000 (11:53 +0100)]
Tweaking temp compensation value

5 years agoEnable i2c and SPI
Phil Howard [Thu, 13 Jun 2019 09:33:21 +0000 (10:33 +0100)]
Enable i2c and SPI

5 years agoMerge branch 'master' of github.com:pimoroni/enviroplus-python
Phil Howard [Thu, 13 Jun 2019 09:15:24 +0000 (10:15 +0100)]
Merge branch 'master' of github.com:pimoroni/enviroplus-python

5 years agoUpdated install/uninstall scripts
Phil Howard [Thu, 13 Jun 2019 09:15:10 +0000 (10:15 +0100)]
Updated install/uninstall scripts

5 years agoAdding new Luftdaten example
Sandy Macdonald [Wed, 12 Jun 2019 21:14:19 +0000 (22:14 +0100)]
Adding new Luftdaten example

5 years agoChanging references to MICS6812 to MICS6814
Sandy Macdonald [Tue, 11 Jun 2019 10:52:33 +0000 (11:52 +0100)]
Changing references to MICS6812 to MICS6814

5 years agoUpdate gas.py
Sandy Macdonald [Tue, 11 Jun 2019 10:27:52 +0000 (11:27 +0100)]
Update gas.py

5 years agoAdding a couple of new examples
Sandy Macdonald [Sat, 8 Jun 2019 09:07:18 +0000 (10:07 +0100)]
Adding a couple of new examples

5 years agoREADME board name change
Phil Howard [Fri, 7 Jun 2019 11:10:53 +0000 (12:10 +0100)]
README board name change

5 years agorename envirophatplus -> enviroplus
Phil Howard [Fri, 7 Jun 2019 11:10:16 +0000 (12:10 +0100)]
rename envirophatplus -> enviroplus

5 years agoAdded examples
Phil Howard [Fri, 7 Jun 2019 11:04:09 +0000 (12:04 +0100)]
Added examples

5 years agoClarified pin use, fixed missing setup
Phil Howard [Fri, 7 Jun 2019 09:49:37 +0000 (10:49 +0100)]
Clarified pin use, fixed missing setup

5 years agoStart gas and tests
Phil Howard [Thu, 6 Jun 2019 23:22:14 +0000 (00:22 +0100)]
Start gas and tests

5 years agoSynced with bootstrap
Phil Howard [Thu, 6 Jun 2019 13:26:49 +0000 (14:26 +0100)]
Synced with bootstrap

5 years agoScript for setting up git remotes
Phil Howard [Tue, 4 Jun 2019 14:05:57 +0000 (15:05 +0100)]
Script for setting up git remotes

5 years agoFixed linting error
Phil Howard [Tue, 4 Jun 2019 11:38:15 +0000 (12:38 +0100)]
Fixed linting error

5 years agoGet lib name automatically for install endpoints
Phil Howard [Tue, 4 Jun 2019 10:00:44 +0000 (11:00 +0100)]
Get lib name automatically for install endpoints

5 years agoMerge branch 'master' of github.com:pimoroni/boilerplate-python
Phil Howard [Mon, 3 Jun 2019 12:55:03 +0000 (13:55 +0100)]
Merge branch 'master' of github.com:pimoroni/boilerplate-python

5 years agoFixed badge URLs
Phil Howard [Mon, 3 Jun 2019 12:54:51 +0000 (13:54 +0100)]
Fixed badge URLs

5 years agoFixes/improvements from pypa/sampleproject
Phil Howard [Thu, 30 May 2019 14:48:43 +0000 (14:48 +0000)]
Fixes/improvements from pypa/sampleproject

5 years agoDocumentation
Phil Howard [Fri, 24 May 2019 12:44:20 +0000 (13:44 +0100)]
Documentation

5 years agoInitial Commit
Phil Howard [Fri, 24 May 2019 11:46:04 +0000 (12:46 +0100)]
Initial Commit