Philip Howard [Tue, 14 Jul 2020 10:32:43 +0000 (11:32 +0100)]
Merge pull request #77 from robmarkcole/update-mqtt
Update mqtt-all.py to detect presence of PMS5003
Robin Cole [Sat, 11 Jul 2020 10:22:04 +0000 (11:22 +0100)]
Update mqtt-all.py
Philip Howard [Thu, 18 Jun 2020 09:52:19 +0000 (10:52 +0100)]
Merge pull request #73 from pimoroni/patch-user-projects-readme
Add user projects section to README
Philip Howard [Thu, 18 Jun 2020 08:40:51 +0000 (09:40 +0100)]
Added user projects section to README
Robin [Thu, 18 Jun 2020 08:35:06 +0000 (09:35 +0100)]
Adds mqtt example (#68)
Adds mqtt example by @robmarkcole - see also: https://github.com/robmarkcole/rpi-enviro-mqtt
Philip Howard [Thu, 18 Jun 2020 08:28:35 +0000 (09:28 +0100)]
Merge pull request #72 from petermcd/example-fixes
Correcting examples
Peter McDonald [Wed, 17 Jun 2020 22:44:38 +0000 (23:44 +0100)]
Correcting examples
Philip Howard [Thu, 4 Jun 2020 14:29:44 +0000 (15:29 +0100)]
Merge pull request #69 from piofthings/master
Added supported board images and an example
Sumit Kumar Maitra [Wed, 3 Jun 2020 23:45:47 +0000 (00:45 +0100)]
Added supported board images and example
Philip Howard [Fri, 15 May 2020 10:27:51 +0000 (11:27 +0100)]
Merge pull request #64 from mendhak/issue63-missing-cffi
Include python cffi in setup dependencies
mendhak [Fri, 8 May 2020 19:38:27 +0000 (20:38 +0100)]
Include python cffi in setup dependencies
Philip Howard [Wed, 29 Apr 2020 13:58:54 +0000 (14:58 +0100)]
Merge pull request #62 from pimoroni/patch-noise-and-test-fixes
Catch #61 with tests and fix
Phil Howard [Wed, 29 Apr 2020 11:50:37 +0000 (12:50 +0100)]
Catch #61 with tests and fix
Philip Howard [Wed, 29 Apr 2020 11:08:59 +0000 (12:08 +0100)]
Merge pull request #57 from pimoroni/test-tweaks-and-linting
Test tweaks and linting
Phil Howard [Wed, 29 Apr 2020 10:56:42 +0000 (11:56 +0100)]
Drop Python 2.6
Phil Howard [Tue, 24 Mar 2020 11:23:30 +0000 (11:23 +0000)]
Move package and requires to setup.cfg
Phil Howard [Tue, 17 Mar 2020 12:31:33 +0000 (12:31 +0000)]
Test noise, fix gas
Phil Howard [Tue, 17 Mar 2020 11:37:53 +0000 (11:37 +0000)]
Test tweaks and linting
I've re-written the tests to use conftest.py to set up and tear down mock modules via fixtures.
I have also linted the examples, removing redundant linebreaks, commenting out unused variables and attempting to simplify long lines.
Phil Howard [Mon, 16 Mar 2020 11:37:40 +0000 (11:37 +0000)]
Fix noise_floor bug
Philip Howard [Fri, 13 Mar 2020 16:14:52 +0000 (16:14 +0000)]
Merge pull request #56 from roscoe81/master
Address Issue #55
Phil Howard [Fri, 13 Mar 2020 10:44:13 +0000 (10:44 +0000)]
Update README for 0.0.2
Phil Howard [Fri, 13 Mar 2020 10:43:39 +0000 (10:43 +0000)]
Prep for v0.0.2
Ross Fowler [Thu, 12 Mar 2020 22:24:29 +0000 (09:24 +1100)]
Address Issue #55
Philip Howard [Thu, 5 Mar 2020 17:22:53 +0000 (17:22 +0000)]
Merge pull request #51 from rbricheno/example-combined-add-delay
Sleep before first PMS5003 reading
Philip Howard [Wed, 4 Mar 2020 19:54:31 +0000 (19:54 +0000)]
Merge pull request #54 from spincrisis/patch-1
Fix launch bug in all-in-one-no-pm.py
Ross Lockwood [Wed, 4 Mar 2020 15:30:18 +0000 (08:30 -0700)]
Fix launch bug in all-in-one-no-pm.py
Launching all-in-one-no-pm.py results in an error due to line 57. FontSize should be replaced with the variable font_size, to run line 57 without error.
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
Robert Bricheno [Mon, 17 Feb 2020 17:27:30 +0000 (17:27 +0000)]
Sleep before first PMS5003 reading
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