corrected rx/tx for mhz19, changed interval for display and sensor to 10s, turned on ABC for mhz19

This commit is contained in:
smash 2020-09-07 16:26:06 +02:00
parent 087d145c1b
commit aec04ebc08
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
**/platformio.ini **/platformio.ini
/secrets.yaml /secrets.yaml
/co2_sensor/ /co2_sensor/
/co2ampel/

View file

@ -1,5 +1,5 @@
esphome: esphome:
name: co2_sensor name: co2_sensor_lab
platform: ESP32 platform: ESP32
board: esp32doit-devkit-v1 board: esp32doit-devkit-v1
on_boot: on_boot:
@ -21,8 +21,8 @@ mqtt:
payload: offline payload: offline
uart: uart:
rx_pin: GPIO17 rx_pin: GPIO16
tx_pin: GPIO16 tx_pin: GPIO17
baud_rate: 9600 baud_rate: 9600
id: uart_mhz19 id: uart_mhz19
@ -41,8 +41,8 @@ output:
sensor: sensor:
- platform: mhz19 - platform: mhz19
update_interval: 30s update_interval: 10s
automatic_baseline_calibration: false automatic_baseline_calibration: true
uart_id: uart_mhz19 uart_id: uart_mhz19
temperature: temperature:
name: "MH-Z19 Temperature" name: "MH-Z19 Temperature"
@ -116,7 +116,7 @@ display:
model: "SSD1306 128x64" model: "SSD1306 128x64"
address: 0x3C address: 0x3C
brightness: 100% brightness: 100%
update_interval: 30s update_interval: 10s
pages: pages:
- id: boot - id: boot
lambda: |- lambda: |-