Philip Howard [Tue, 3 Mar 2020 12:32:06 +0000 (12:32 +0000)]
Merge pull request #53 from pimoroni/enviro-non-plus
Migrate to Python 3, Fix Assets
Philip Howard [Mon, 2 Mar 2020 10:51:20 +0000 (10:51 +0000)]
Merge branch 'master' into enviro-non-plus
sandyjmacdonald [Mon, 24 Feb 2020 13:46:54 +0000 (13:46 +0000)]
Python 3-related fixes, moving to pip fonts, fixing Astral errors.
Sandy Macdonald [Wed, 19 Feb 2020 10:10:53 +0000 (10:10 +0000)]
Adding Python 3 shebang
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
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
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
sandyjmacdonald [Fri, 8 Nov 2019 20:26:45 +0000 (20:26 +0000)]
Adding all in one weather and light display example
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
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
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.
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.
Phil Howard [Wed, 16 Oct 2019 09:44:48 +0000 (10:44 +0100)]
Add deps for noise measurement
Phil Howard [Wed, 16 Oct 2019 09:42:21 +0000 (10:42 +0100)]
Fix noise-profile example
Phil Howard [Wed, 16 Oct 2019 09:41:23 +0000 (10:41 +0100)]
Add DocStrings and linting
Phil Howard [Wed, 16 Oct 2019 09:41:10 +0000 (10:41 +0100)]
Add dtoverlay for mic
Phil Howard [Tue, 17 Sep 2019 10:52:42 +0000 (11:52 +0100)]
Tidy up noise examples
Phil Howard [Tue, 17 Sep 2019 10:45:48 +0000 (11:45 +0100)]
Noise library and examples for basic FFT and frequency binning
Phil Howard [Thu, 12 Sep 2019 09:02:32 +0000 (10:02 +0100)]
Transitional fix for new LTR559 library
Phil Howard [Tue, 20 Aug 2019 15:36:17 +0000 (16:36 +0100)]
Merge branch 'master' of github.com:pimoroni/enviroplus-python
Philip Howard [Tue, 20 Aug 2019 15:35:39 +0000 (16:35 +0100)]
Merge pull request #20 from makeupsomething/patch-1
Fix typo
Phil Howard [Tue, 20 Aug 2019 15:34:31 +0000 (16:34 +0100)]
Merge branch 'cipy-use-generic-variables'
Phil Howard [Tue, 20 Aug 2019 15:34:23 +0000 (16:34 +0100)]
Replaced exception pass with log warning
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
Phil Howard [Tue, 20 Aug 2019 15:22:17 +0000 (16:22 +0100)]
Merge branch 'cipy-improved-logging'
Phil Howard [Tue, 20 Aug 2019 15:22:05 +0000 (16:22 +0100)]
Merged cipy-improved-logging, omitted luftdaten.py for now
Phil Howard [Tue, 20 Aug 2019 15:17:12 +0000 (16:17 +0100)]
Dropped obsolete .decode()
Phil Howard [Tue, 20 Aug 2019 15:15:32 +0000 (16:15 +0100)]
Merge branch 'cipy-master'
Phil Howard [Tue, 20 Aug 2019 15:15:24 +0000 (16:15 +0100)]
Merged cipy-master
Phil Howard [Tue, 20 Aug 2019 15:11:33 +0000 (16:11 +0100)]
Merge branch 'topshed-master'
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
Phil Howard [Mon, 19 Aug 2019 09:52:04 +0000 (10:52 +0100)]
Switch temp comp method for #28
Phil Howard [Mon, 19 Aug 2019 09:39:05 +0000 (10:39 +0100)]
+x
Ciprian Manea [Sun, 18 Aug 2019 19:25:58 +0000 (22:25 +0300)]
Merge branch 'master' into improved-logging
Ciprian Manea [Sun, 18 Aug 2019 19:18:58 +0000 (22:18 +0300)]
catching the correct ReadTimeoutError for pms5003
Sandy Macdonald [Tue, 13 Aug 2019 14:27:16 +0000 (15:27 +0100)]
Adding delay to avoid rate-limiting by Luftdaten
Ciprian Manea [Mon, 5 Aug 2019 18:17:29 +0000 (21:17 +0300)]
improved logging with timestamps (instead of print)
Ciprian Manea [Sun, 4 Aug 2019 08:17:53 +0000 (11:17 +0300)]
use generic variables in -no-pm code too
Ciprian Manea [Sun, 4 Aug 2019 08:08:54 +0000 (11:08 +0300)]
use generic variables; handle pms5003.ReadTimeoutError
Ciprian Manea [Sat, 3 Aug 2019 22:49:01 +0000 (01:49 +0300)]
allow temperature reads to converge a bit faster
Ciprian Manea [Sat, 3 Aug 2019 22:27:29 +0000 (01:27 +0300)]
testing all examples, with corrections for Python3 support
Richard Hayler [Sat, 3 Aug 2019 19:48:26 +0000 (20:48 +0100)]
Update luftdaten.py
added decoding of bytestring to provide Python3 compatibility.
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.
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.
makeupsomething [Thu, 1 Aug 2019 06:09:58 +0000 (15:09 +0900)]
Fix typo
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
Phil Howard [Wed, 17 Jul 2019 09:17:28 +0000 (10:17 +0100)]
Expand test coverage, bugfix
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
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
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.
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
Philip Howard [Fri, 12 Jul 2019 20:13:41 +0000 (21:13 +0100)]
Ensure required dependencies are installed
Phil Howard [Fri, 12 Jul 2019 12:54:25 +0000 (13:54 +0100)]
Add example to demo ADC channel usage
Phil Howard [Fri, 12 Jul 2019 12:54:01 +0000 (13:54 +0100)]
Add ADC channel support into gas module
Philip Howard [Wed, 10 Jul 2019 10:31:34 +0000 (11:31 +0100)]
Create RESOURCES_DIR early
Phil Howard [Wed, 10 Jul 2019 09:58:27 +0000 (10:58 +0100)]
Install improvements
Phil Howard [Wed, 10 Jul 2019 09:18:08 +0000 (10:18 +0100)]
Merge branch 'installer-patch-1'
Phil Howard [Sat, 6 Jul 2019 13:16:10 +0000 (14:16 +0100)]
Bootstrap with python-configparser from apt
Philip Howard [Sat, 6 Jul 2019 13:07:53 +0000 (14:07 +0100)]
Add pip for #6, correct indendation
Phil Howard [Thu, 4 Jul 2019 20:19:35 +0000 (21:19 +0100)]
Packaging fixes from boilerplate
Phil Howard [Thu, 4 Jul 2019 13:43:45 +0000 (14:43 +0100)]
config.txt probably doesn't support inline comments #9
Phil Howard [Thu, 4 Jul 2019 12:55:41 +0000 (13:55 +0100)]
Add setuptools minimum version trap
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
zane [Thu, 4 Jul 2019 06:12:37 +0000 (23:12 -0700)]
adding install notes for python-pil, python-setuptools
Phil Howard [Wed, 3 Jul 2019 21:51:51 +0000 (22:51 +0100)]
Add PIL for #6
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
Phil Howard [Wed, 3 Jul 2019 12:54:17 +0000 (13:54 +0100)]
Back up to /boot to survive OLI rm
Phil Howard [Wed, 3 Jul 2019 12:40:54 +0000 (13:40 +0100)]
Recommend OLI install
Phil Howard [Wed, 3 Jul 2019 12:33:48 +0000 (13:33 +0100)]
Add links & blurb to README
Phil Howard [Wed, 3 Jul 2019 12:29:31 +0000 (13:29 +0100)]
Update README install instructions
Phil Howard [Wed, 3 Jul 2019 12:21:25 +0000 (13:21 +0100)]
Add Raspbian Lite dependencies for #6
Phil Howard [Tue, 2 Jul 2019 12:07:36 +0000 (13:07 +0100)]
Switch to v2 installer
Phil Howard [Tue, 25 Jun 2019 21:49:46 +0000 (22:49 +0100)]
Decode fix for #3
Philip Howard [Mon, 24 Jun 2019 18:13:30 +0000 (19:13 +0100)]
Merge pull request #2 from andrewgleave/master
Fix PM10 label unit
Andrew Gleave [Mon, 24 Jun 2019 15:08:26 +0000 (16:08 +0100)]
Fix PM10 label unit
Phil Howard [Mon, 17 Jun 2019 11:19:44 +0000 (12:19 +0100)]
Fix in lieu of #1
Phil Howard [Fri, 14 Jun 2019 15:11:00 +0000 (16:11 +0100)]
Updated README.rst
Phil Howard [Fri, 14 Jun 2019 15:10:42 +0000 (16:10 +0100)]
Exclude fonts from DoS check
Sandy Macdonald [Fri, 14 Jun 2019 12:30:39 +0000 (13:30 +0100)]
Update README.md
Sandy Macdonald [Fri, 14 Jun 2019 12:26:56 +0000 (13:26 +0100)]
flake8 fiddling
Sandy Macdonald [Fri, 14 Jun 2019 09:30:18 +0000 (10:30 +0100)]
Improvements to compensated temperature code
Sandy Macdonald [Thu, 13 Jun 2019 21:36:10 +0000 (22:36 +0100)]
Adding all-in-one example
Sandy Macdonald [Thu, 13 Jun 2019 11:44:11 +0000 (12:44 +0100)]
Fix for PMS5003 ReadTimeoutError
Sandy Macdonald [Thu, 13 Jun 2019 10:53:25 +0000 (11:53 +0100)]
Tweaking temp compensation value
Phil Howard [Thu, 13 Jun 2019 09:33:21 +0000 (10:33 +0100)]
Enable i2c and SPI
Phil Howard [Thu, 13 Jun 2019 09:15:24 +0000 (10:15 +0100)]
Merge branch 'master' of github.com:pimoroni/enviroplus-python
Phil Howard [Thu, 13 Jun 2019 09:15:10 +0000 (10:15 +0100)]
Updated install/uninstall scripts
Sandy Macdonald [Wed, 12 Jun 2019 21:14:19 +0000 (22:14 +0100)]
Adding new Luftdaten example
Sandy Macdonald [Tue, 11 Jun 2019 10:52:33 +0000 (11:52 +0100)]
Changing references to MICS6812 to MICS6814
Sandy Macdonald [Tue, 11 Jun 2019 10:27:52 +0000 (11:27 +0100)]
Update gas.py
Sandy Macdonald [Sat, 8 Jun 2019 09:07:18 +0000 (10:07 +0100)]
Adding a couple of new examples
Phil Howard [Fri, 7 Jun 2019 11:10:53 +0000 (12:10 +0100)]
README board name change
Phil Howard [Fri, 7 Jun 2019 11:10:16 +0000 (12:10 +0100)]
rename envirophatplus -> enviroplus
Phil Howard [Fri, 7 Jun 2019 11:04:09 +0000 (12:04 +0100)]
Added examples
Phil Howard [Fri, 7 Jun 2019 09:49:37 +0000 (10:49 +0100)]
Clarified pin use, fixed missing setup
Phil Howard [Thu, 6 Jun 2019 23:22:14 +0000 (00:22 +0100)]
Start gas and tests
Phil Howard [Thu, 6 Jun 2019 13:26:49 +0000 (14:26 +0100)]
Synced with bootstrap
Phil Howard [Tue, 4 Jun 2019 14:05:57 +0000 (15:05 +0100)]
Script for setting up git remotes
Phil Howard [Tue, 4 Jun 2019 11:38:15 +0000 (12:38 +0100)]
Fixed linting error
Phil Howard [Tue, 4 Jun 2019 10:00:44 +0000 (11:00 +0100)]
Get lib name automatically for install endpoints