Skip to content

Conversation

@Kostadin
Copy link

Created a new combined.py that 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.

Photo:
Combined mode

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.
@Gadgetoid
Copy link
Member

Thank you for taking the time to put this together and raise a PR!

@Gadgetoid Gadgetoid merged commit 527495f into pimoroni:master Oct 30, 2019
@nophead
Copy link

nophead commented Nov 9, 2019

This PR doesn't work properly on Python 3 because the row and column calculations need to use // to force integer division.

Also it is possible to show °C and kΩ simply by pasting these characters into the units list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants