This commit is contained in:
smash 2020-09-02 15:40:29 +02:00
parent 15603def12
commit 8701bdeaf3
2 changed files with 12 additions and 7 deletions

View file

@ -0,0 +1,6 @@
nvs, data, nvs, 0x009000, 0x005000,
otadata, data, ota, 0x00e000, 0x002000,
app0, app, ota_0, 0x010000, 0x190000,
app1, app, ota_1, 0x200000, 0x190000,
eeprom, data, 0x99, 0x390000, 0x001000,
spiffs, data, spiffs, 0x391000, 0x00F000
1 nvs, data, nvs, 0x009000, 0x005000,
2 otadata, data, ota, 0x00e000, 0x002000,
3 app0, app, ota_0, 0x010000, 0x190000,
4 app1, app, ota_1, 0x200000, 0x190000,
5 eeprom, data, 0x99, 0x390000, 0x001000,
6 spiffs, data, spiffs, 0x391000, 0x00F000

View file

@ -41,6 +41,12 @@ output:
sensor:
- platform: mhz19
update_interval: 30s
automatic_baseline_calibration: false
uart_id: uart_mhz19
temperature:
name: "MH-Z19 Temperature"
id: mhz19_temp
co2:
name: "MH-Z19 CO2"
id: mhz19_co2
@ -96,13 +102,6 @@ sensor:
static int num_executions = 0;
ESP_LOGD("main", "I am at execution number %d", num_executions);
num_executions += 1;
temperature:
name: "MH-Z19 Temperature"
id: mhz19_temp
update_interval: 30s
automatic_baseline_calibration: false
uart_id: uart_mhz19
i2c:
sda: GPIO21
scl: GPIO22