22
33Designed for environmental monitoring, Enviro+ lets you measure air quality (pollutant gases and particulates), temperature, pressure, humidity, light, and noise level. Learn more - https://shop.pimoroni.com/products/enviro-plus
44
5- [ ![ Build Status] ( https://travis-ci.com/ pimoroni/enviroplus-python.svg ?branch=master )] ( https://travis-ci .com/pimoroni/enviroplus-python )
6- [ ![ Coverage Status] ( https://coveralls.io/repos/github/pimoroni/enviroplus-python/badge.svg?branch=master )] ( https://coveralls.io/github/pimoroni/enviroplus-python?branch=master )
5+ [ ![ Build Status] ( https://img.shields.io/github/actions/workflow/status/ pimoroni/enviroplus-python/test.yml ?branch=main )] ( https://github .com/pimoroni/enviroplus-python/actions/workflows/test.yml )
6+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/pimoroni/enviroplus-python/badge.svg?branch=main )] ( https://coveralls.io/github/pimoroni/enviroplus-python?branch=main )
77[ ![ PyPi Package] ( https://img.shields.io/pypi/v/enviroplus.svg )] ( https://pypi.python.org/pypi/enviroplus )
88[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/enviroplus.svg )] ( https://pypi.python.org/pypi/enviroplus )
99
@@ -18,25 +18,24 @@ You are best using the "One-line" install method if you want all of the UART ser
1818
1919:warning : This library now supports Python 3 only, Python 2 is EOL - https://www.python.org/doc/sunset-python-2/
2020
21- ## One-line (Installs from GitHub)
22-
23- ``` bash
24- curl -sSL https://get.pimoroni.com/enviroplus | bash
25- ```
26-
27- ** Note** report issues with one-line installer here: https://github.com/pimoroni/get
28-
29- ## Or... Install and configure dependencies from GitHub:
21+ ## Install and configure dependencies from GitHub:
3022
3123* ` git clone https://github.com/pimoroni/enviroplus-python `
3224* ` cd enviroplus-python `
33- * ` sudo ./install.sh`
25+ * ` ./install.sh `
3426
3527** Note** Raspbian/Raspberry Pi OS Lite users may first need to install git: ` sudo apt install git `
3628
3729## Or... Install from PyPi and configure manually:
3830
39- * Run ` sudo python3 -m pip install enviroplus `
31+ * ` python3 -m venv --system-site-packages $HOME/.virtualenvs/pimoroni `
32+ * Run ` python3 -m pip install enviroplus `
33+
34+ And install additional dependencies:
35+
36+ ``` bash
37+ sudo apt install python3-numpy python3-smbus python3-pil python3-setuptools
38+ ```
4039
4140** Note** this will not perform any of the required configuration changes on your Pi, you may additionally need to:
4241
@@ -45,15 +44,17 @@ curl -sSL https://get.pimoroni.com/enviroplus | bash
4544
4645And if you're using a PMS5003 sensor you will need to:
4746
48- * Enable serial: ` raspi-config nonint set_config_var enable_uart 1 /boot/config.txt `
49- * Disable serial terminal: ` sudo raspi-config nonint do_serial 1 `
47+ ### Bookworm
48+
49+ * Enable serial: ` raspi-config nonint do_serial_hw 0 `
50+ * Disable serial terminal: ` raspi-config nonint do_serial_cons 1 `
5051* Add ` dtoverlay=pi3-miniuart-bt ` to your ` /boot/config.txt `
5152
52- And install additional dependencies:
53+ ### Bullseye
5354
54- ``` bash
55- sudo apt install python3-numpy python3-smbus python3-pil python3-setuptools
56- `` `
55+ * Enable serial: ` raspi-config nonint set_config_var enable_uart 1 /boot/config.txt `
56+ * Disable serial terminal: ` sudo raspi-config nonint do_serial 1 `
57+ * Add ` dtoverlay=pi3-miniuart-bt ` to your ` /boot/config.txt `
5758
5859## Alternate Software & User Projects
5960
0 commit comments