Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2022-02-16 20:13:09 +13:00
commit fc01553bbd
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
2 changed files with 18 additions and 1 deletions

View File

@ -6,7 +6,7 @@ SGP30 CO₂ and Volatile Organic Compound Sensor
:image: sgp30.jpg :image: sgp30.jpg
The ``sgp30`` sensor platform allows you to use your Sensirion SGP30 multi-pixel gas The ``sgp30`` sensor platform allows you to use your Sensirion SGP30 multi-pixel gas
(`datasheet <https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9_Gas_Sensors/Datasheets/Sensirion_Gas_Sensors_SGP30_Datasheet.pdf>`__) sensors or the SVM30 breakout-boards (`product page <https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-gas-humidity-temperature-module-svm30/>`__) with ESPHome. (`datasheet <https://sensirion.com/media/documents/984E0DD5/61644B8B/Sensirion_Gas_Sensors_Datasheet_SGP30.pdf>`__) sensors or the SVM30 breakout-boards (`product page <https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-gas-humidity-temperature-module-svm30/>`__) with ESPHome.
The :ref:`I²C Bus <i2c>` is required to be set up in your configuration for this sensor to work. The :ref:`I²C Bus <i2c>` is required to be set up in your configuration for this sensor to work.
.. figure:: images/eco2-tvoc.png .. figure:: images/eco2-tvoc.png

View File

@ -21,6 +21,23 @@ AMD64, ARM and ARM64 (AARCH64), and can be downloaded with:
docker pull esphome/esphome docker pull esphome/esphome
If you want to use `docker-compose` instead, here's a sample file:
.. code-block:: yaml
version: '3'
services:
esphome:
container_name: esphome
image: esphome/esphome
volumes:
- /path/to/esphome/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
Connecting the ESP Device Connecting the ESP Device
------------------------- -------------------------