Code Monkey home page Code Monkey logo

koenvervloesem / m5stack-air-quality-esphome Goto Github PK

View Code? Open in Web Editor NEW
43.0 6.0 9.0 2.34 MB

ESPHome configuration for M5Stack's PM2.5 Air Quality Kit with the PMSA003 particulate matter sensor and the SHT20 temperature and humidity sensor

Home Page: https://koenvervloesem.github.io/M5Stack-Air-Quality-ESPHome/

License: MIT License

Makefile 16.60% C++ 83.40%
esphome esphome-config esp32 esp32-arduino m5stack sht20 pmsa003 air-quality sensors mqtt

m5stack-air-quality-esphome's Introduction

m5stack-air-quality-esphome's People

Contributors

dependabot[bot] avatar koenvervloesem avatar thedesp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

m5stack-air-quality-esphome's Issues

Install via browser did not work

I tried to install my chrome browser. Was able to connect via USB, erase and the install completed however when I saw and clicked the next button it went back to the start page and looking at logs there is problems. I am not an engineer so do not know how to proceed.

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 0 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3247][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4347][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5378][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6418][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7439) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7439) task_wdt: - loopTask (CPU 1)
E (7439) task_wdt: Tasks currently running:
E (7439) task_wdt: CPU 0: IDLE
E (7439) task_wdt: CPU 1: IDLE
E (7439) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 1 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3246][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4346][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5377][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6417][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7438) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7438) task_wdt: - loopTask (CPU 1)
E (7438) task_wdt: Tasks currently running:
E (7438) task_wdt: CPU 0: IDLE
E (7438) task_wdt: CPU 1: IDLE
E (7438) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 2 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3398][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4498][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5529][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6569][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7588) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7588) task_wdt: - loopTask (CPU 1)
E (7588) task_wdt: Tasks currently running:
E (7588) task_wdt: CPU 0: IDLE
E (7588) task_wdt: CPU 1: IDLE
E (7588) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 3 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 7 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3408][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4508][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5539][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6579][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7599) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7599) task_wdt: - loopTask (CPU 1)
E (7599) task_wdt: Tasks currently running:
E (7599) task_wdt: CPU 0: IDLE
E (7599) task_wdt: CPU 1: IDLE
E (7599) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 4 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 6 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3254][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4354][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5385][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6425][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7446) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7446) task_wdt: - loopTask (CPU 1)
E (7446) task_wdt: Tasks currently running:
E (7446) task_wdt: CPU 0: IDLE
E (7446) task_wdt: CPU 1: IDLE
E (7446) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 5 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 5 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3247][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4347][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5378][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6418][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7439) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7439) task_wdt: - loopTask (CPU 1)
E (7439) task_wdt: Tasks currently running:
E (7439) task_wdt: CPU 0: IDLE
E (7439) task_wdt: CPU 1: IDLE
E (7439) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 6 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 59][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 4 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!
[ 3255][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 4355][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[ 5386][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[ 6426][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[D][sensor:127]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
E (7447) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7447) task_wdt: - loopTask (CPU 1)
E (7447) task_wdt: Tasks currently running:
E (7447) task_wdt: CPU 0: IDLE
E (7447) task_wdt: CPU 1: IDLE
E (7447) task_wdt: Aborting.

abort() was called at PC 0x400ff368 on core 0

Backtrace:0x40083e49:0x3ffbeaac |<-CORRUPTED

ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
E (217) psram: PSRAM ID read error: 0xffffffff
[I][logger:258]: Log initialized
[C][ota:469]: There have been 7 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[I][i2c.arduino:175]: Performing I2C bus recovery
[C][spi:023]: Setting up SPI bus...
[C][uart.arduino_esp32:077]: Setting up UART...
[ 60][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[D][ledc.output:051]: Calculating resolution bit-depth for frequency 1000.000000
[D][ledc.output:056]: Resolution calculated as 16
[E][display:109]: Could not allocate buffer for display!
[D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[C][light:036]: Setting up light 'Display Backlight'...
[D][light:035]: 'Display Backlight' Setting:
[D][light:040]: Color mode:
[D][light:046]: State: ON
[D][light:084]: Transition length: 1.0s
[ 1440][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[E][SHT20:021]: Sensor is not connected
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]: Local MAC: 08:B6:1F:87:43:C4
[C][wifi:210]: Setting up AP...
[C][wifi:212]: AP SSID: 'm5stack-air-quality-kit-8743c4'
[C][wifi:213]: AP Password: '12345678'
[C][wifi:222]: IP Address: 192.168.4.1
[D][wifi:386]: Starting scan...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]: Address: m5stack-air-quality-kit.local:3232
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 3 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:386]: Starting scan...
[I][app:062]: setup() finished successfully!

Doesn't seem to work anymore

Trying to just install doesn't work right now and just boot loops. Am I missing something, or is this just user error?

INFO Successfully compiled program.
Found multiple options for uploading, please choose one:
  [1] /dev/ttyACM0 (USB Single Serial)
  [2] Over The Air (m5stack-air-quality-kit.local)
(number): 1
esptool.py v4.7.0
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-D0WDQ6-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:b6:1f:87:3a:54
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00010000 to 0x000f9fff...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 958032 bytes to 621449...
Wrote 958032 bytes (621449 compressed) at 0x00010000 in 14.2 seconds (effective 538.2 kbit/s)...
Hash of data verified.
Warning: Image file at 0x1000 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=16MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 18912 bytes to 13028...
Wrote 18912 bytes (13028 compressed) at 0x00001000 in 0.5 seconds (effective 280.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.0 seconds (effective 498.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 655.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
[03:05:02]\x80x\x80\xf8\xf8\x80\x80x\xf8\x80xxx\x80xx\x80xx\x80xxxx\x80x\x80xx\x80x\x80xx\x80x\x80x\x80xxx\x80xx\x80x\xf8x\xf8p: 0, SPIWP:0xee
[03:05:02]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[03:05:02]mode:DIO, clock div:1
[03:05:02]load:0x3fff0030,len:1344
[03:05:02]load:0x40078000,len:13864
[03:05:02]load:0x40080400,len:3608
[03:05:02]entry 0x400805f0
[03:05:02]E (219) psram: PSRAM ID read error: 0xffffffff
[03:05:02][I][logger:359]: Log initialized
[03:05:02][C][ota:483]: There have been 0 suspected unsuccessful boot attempts.
[03:05:02][D][esp32.preferences:114]: Saving 1 preferences to flash...
[03:05:02][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[03:05:02][D][ili9xxx:036]: Command EF, length 3, bits 03
[03:05:02][D][ili9xxx:036]: Command CF, length 3, bits 00
[03:05:02][D][ili9xxx:036]: Command ED, length 4, bits 64
[03:05:02][D][ili9xxx:036]: Command E8, length 3, bits 85
[03:05:02][D][ili9xxx:036]: Command CB, length 5, bits 39
[03:05:02][D][ili9xxx:036]: Command F7, length 1, bits 20
[03:05:02][D][ili9xxx:036]: Command EA, length 2, bits 00
[03:05:02][D][ili9xxx:036]: Command C0, length 1, bits 23
[03:05:02][D][ili9xxx:036]: Command C1, length 1, bits 10
[03:05:02][D][ili9xxx:036]: Command C5, length 2, bits 3E
[03:05:02][D][ili9xxx:036]: Command C7, length 1, bits 86
[03:05:02][D][ili9xxx:036]: Command 36, length 1, bits 08
[03:05:02][D][ili9xxx:036]: Command 37, length 1, bits 00
[03:05:02][D][ili9xxx:036]: Command 3A, length 1, bits 55
[03:05:02][D][ili9xxx:036]: Command B1, length 2, bits 00
[03:05:02][D][ili9xxx:036]: Command B6, length 3, bits 08
[03:05:02][D][ili9xxx:036]: Command F2, length 1, bits 00
[03:05:02][D][ili9xxx:036]: Command 26, length 1, bits 01
[03:05:02][D][ili9xxx:036]: Command E0, length 15, bits 0F
[03:05:02][D][ili9xxx:036]: Command E1, length 15, bits 00
[03:05:02][D][ili9xxx:036]: Command 11, length 0, bits 29
[03:05:02][D][ili9xxx:036]: Command 29, length 0, bits 00
[03:05:02][I][app:029]: Running through setup()...
[03:05:02][I][i2c.arduino:183]: Performing I2C bus recovery
[03:05:02][D][spi:039]: Setting up SPI bus...
[03:05:02][C][uart.arduino_esp32:077]: Setting up UART...
[03:05:02][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1000.000000
[03:05:02][D][ledc.output:060]: Resolution calculated as 16
[03:05:02][D][ili9xxx:034]: Setting up ILI9xxx
[03:05:02][D][spi_device:379]: mode 0, data_rate 40000kHz
[03:05:02][D][ili9xxx:030]: Wrote MADCTL 0x08
[03:05:02][E][display:017]: Could not allocate buffer for display!
[03:05:02][D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[03:05:02][C][light:035]: Setting up light 'Display Backlight'...
[03:05:02][D][light:036]: 'Display Backlight' Setting:
[03:05:02][D][light:041]:   Color mode: 
[03:05:02][D][light:047]:   State: ON
[03:05:02][D][light:085]:   Transition length: 1.0s
[03:05:03][  1613][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:03][E][SHT20:021]: Sensor is not connected
[03:05:03][C][wifi:038]: Setting up WiFi...
[03:05:03][C][wifi:051]: Starting WiFi...
[03:05:03][C][wifi:052]:   Local MAC: 08:B6:1F:87:3A:54
[03:05:04][C][wifi:254]: Setting up AP...
[03:05:04][C][wifi:256]:   AP SSID: 'm5stack-air-quality-kit-873a54'
[03:05:04][C][wifi:257]:   AP Password: '12345678'
[03:05:04][C][wifi:266]:   IP Address: 192.168.4.1
[03:05:04][D][wifi:459]: Starting scan...
[03:05:04][C][ota:096]: Over-The-Air Updates:
[03:05:04][C][ota:097]:   Address: m5stack-air-quality-kit.local:3232
[03:05:04][C][ota:103]:   OTA version: 2.
[03:05:04][C][api:025]: Setting up Home Assistant API server...
[03:05:04][D][wifi:459]: Starting scan...
[03:05:04][I][app:062]: setup() finished successfully!
[03:05:04][W][component:214]: Component display took a long time for an operation (0.10 s).
[03:05:04][W][component:215]: Components should block for at most 20-30ms.
[03:05:05][  3570][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:07][  4670][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:07][D][sensor:094]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[03:05:08][  5701][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:09][  6741][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:09][D][sensor:094]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
[03:05:09]E (7752) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[03:05:09]E (7752) task_wdt:  - loopTask (CPU 1)
[03:05:09]E (7752) task_wdt: Tasks currently running:
[03:05:09]E (7752) task_wdt: CPU 0: IDLE
[03:05:09]E (7752) task_wdt: CPU 1: IDLE
[03:05:09]E (7752) task_wdt: Aborting.
[03:05:09]
[03:05:09]abort() was called at PC 0x401008dc on core 0
[03:05:09]
[03:05:09]
[03:05:09]Backtrace:0x40083e39:0x3ffbeaac |<-CORRUPTED
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40083e39: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
[03:05:09]
[03:05:09]
[03:05:09]
[03:05:09]
[03:05:09]ELF file SHA256: 0000000000000000
[03:05:09]
[03:05:09]Rebooting...
[03:05:09]ets Jul 29 2019 12:21:46
[03:05:09]
[03:05:09]rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
[03:05:09]configsip: 0, SPIWP:0xee
[03:05:09]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[03:05:09]mode:DIO, clock div:1
[03:05:09]load:0x3fff0030,len:1344
[03:05:09]load:0x40078000,len:13864
[03:05:09]load:0x40080400,len:3608
[03:05:09]entry 0x400805f0
[03:05:10]E (219) psram: PSRAM ID read error: 0xffffffff
[03:05:10][I][logger:359]: Log initialized
[03:05:10][C][ota:483]: There have been 1 suspected unsuccessful boot attempts.
[03:05:10][D][esp32.preferences:114]: Saving 1 preferences to flash...
[03:05:10][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[03:05:10][D][ili9xxx:036]: Command EF, length 3, bits 03
[03:05:10][D][ili9xxx:036]: Command CF, length 3, bits 00
[03:05:10][D][ili9xxx:036]: Command ED, length 4, bits 64
[03:05:10][D][ili9xxx:036]: Command E8, length 3, bits 85
[03:05:10][D][ili9xxx:036]: Command CB, length 5, bits 39
[03:05:10][D][ili9xxx:036]: Command F7, length 1, bits 20
[03:05:10][D][ili9xxx:036]: Command EA, length 2, bits 00
[03:05:10][D][ili9xxx:036]: Command C0, length 1, bits 23
[03:05:10][D][ili9xxx:036]: Command C1, length 1, bits 10
[03:05:10][D][ili9xxx:036]: Command C5, length 2, bits 3E
[03:05:10][D][ili9xxx:036]: Command C7, length 1, bits 86
[03:05:10][D][ili9xxx:036]: Command 36, length 1, bits 08
[03:05:10][D][ili9xxx:036]: Command 37, length 1, bits 00
[03:05:10][D][ili9xxx:036]: Command 3A, length 1, bits 55
[03:05:10][D][ili9xxx:036]: Command B1, length 2, bits 00
[03:05:10][D][ili9xxx:036]: Command B6, length 3, bits 08
[03:05:10][D][ili9xxx:036]: Command F2, length 1, bits 00
[03:05:10][D][ili9xxx:036]: Command 26, length 1, bits 01
[03:05:10][D][ili9xxx:036]: Command E0, length 15, bits 0F
[03:05:10][D][ili9xxx:036]: Command E1, length 15, bits 00
[03:05:10][D][ili9xxx:036]: Command 11, length 0, bits 29
[03:05:10][D][ili9xxx:036]: Command 29, length 0, bits 00
[03:05:10][I][app:029]: Running through setup()...
[03:05:10][I][i2c.arduino:183]: Performing I2C bus recovery
[03:05:10][D][spi:039]: Setting up SPI bus...
[03:05:10][C][uart.arduino_esp32:077]: Setting up UART...
[03:05:10][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1000.000000
[03:05:10][D][ledc.output:060]: Resolution calculated as 16
[03:05:10][D][ili9xxx:034]: Setting up ILI9xxx
[03:05:10][D][spi_device:379]: mode 0, data_rate 40000kHz
[03:05:10][D][ili9xxx:030]: Wrote MADCTL 0x08
[03:05:10][E][display:017]: Could not allocate buffer for display!
[03:05:10][D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[03:05:10][C][light:035]: Setting up light 'Display Backlight'...
[03:05:10][D][light:036]: 'Display Backlight' Setting:
[03:05:10][D][light:041]:   Color mode: 
[03:05:10][D][light:047]:   State: ON
[03:05:10][D][light:085]:   Transition length: 1.0s
[03:05:11][  1570][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:11][E][SHT20:021]: Sensor is not connected
[03:05:11][C][wifi:038]: Setting up WiFi...
[03:05:11][C][wifi:051]: Starting WiFi...
[03:05:11][C][wifi:052]:   Local MAC: 08:B6:1F:87:3A:54
[03:05:11][C][wifi:254]: Setting up AP...
[03:05:11][C][wifi:256]:   AP SSID: 'm5stack-air-quality-kit-873a54'
[03:05:11][C][wifi:257]:   AP Password: '12345678'
[03:05:12][C][wifi:266]:   IP Address: 192.168.4.1
[03:05:12][D][wifi:459]: Starting scan...
[03:05:12][C][ota:096]: Over-The-Air Updates:
[03:05:12][C][ota:097]:   Address: m5stack-air-quality-kit.local:3232
[03:05:12][C][ota:103]:   OTA version: 2.
[03:05:12][C][api:025]: Setting up Home Assistant API server...
[03:05:12][D][wifi:459]: Starting scan...
[03:05:12][I][app:062]: setup() finished successfully!
[03:05:13][  3354][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:14][  4454][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:14][D][sensor:094]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[03:05:15][  5485][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:16][  6525][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:16][D][sensor:094]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
[03:05:17]E (7548) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[03:05:17]E (7548) task_wdt:  - loopTask (CPU 1)
[03:05:17]E (7548) task_wdt: Tasks currently running:
[03:05:17]E (7548) task_wdt: CPU 0: IDLE
[03:05:17]E (7548) task_wdt: CPU 1: IDLE
[03:05:17]E (7548) task_wdt: Aborting.
[03:05:17]
[03:05:17]abort() was called at PC 0x401008dc on core 0
[03:05:17]
[03:05:17]
[03:05:17]Backtrace:0x40083e39:0x3ffbeaac |<-CORRUPTED
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40083e39: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
[03:05:17]
[03:05:17]
[03:05:17]
[03:05:17]
[03:05:17]ELF file SHA256: 0000000000000000
[03:05:17]
[03:05:17]Rebooting...
[03:05:17]ets Jul 29 2019 12:21:46
[03:05:17]
[03:05:17]rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
[03:05:17]configsip: 0, SPIWP:0xee
[03:05:17]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[03:05:17]mode:DIO, clock div:1
[03:05:17]load:0x3fff0030,len:1344
[03:05:17]load:0x40078000,len:13864
[03:05:17]load:0x40080400,len:3608
[03:05:17]entry 0x400805f0
[03:05:17]E (219) psram: PSRAM ID read error: 0xffffffff
[03:05:17][I][logger:359]: Log initialized
[03:05:17][C][ota:483]: There have been 2 suspected unsuccessful boot attempts.
[03:05:17][D][esp32.preferences:114]: Saving 1 preferences to flash...
[03:05:17][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[03:05:17][D][ili9xxx:036]: Command EF, length 3, bits 03
[03:05:18][D][ili9xxx:036]: Command CF, length 3, bits 00
[03:05:18][D][ili9xxx:036]: Command ED, length 4, bits 64
[03:05:18][D][ili9xxx:036]: Command E8, length 3, bits 85
[03:05:18][D][ili9xxx:036]: Command CB, length 5, bits 39
[03:05:18][D][ili9xxx:036]: Command F7, length 1, bits 20
[03:05:18][D][ili9xxx:036]: Command EA, length 2, bits 00
[03:05:18][D][ili9xxx:036]: Command C0, length 1, bits 23
[03:05:18][D][ili9xxx:036]: Command C1, length 1, bits 10
[03:05:18][D][ili9xxx:036]: Command C5, length 2, bits 3E
[03:05:18][D][ili9xxx:036]: Command C7, length 1, bits 86
[03:05:18][D][ili9xxx:036]: Command 36, length 1, bits 08
[03:05:18][D][ili9xxx:036]: Command 37, length 1, bits 00
[03:05:18][D][ili9xxx:036]: Command 3A, length 1, bits 55
[03:05:18][D][ili9xxx:036]: Command B1, length 2, bits 00
[03:05:18][D][ili9xxx:036]: Command B6, length 3, bits 08
[03:05:18][D][ili9xxx:036]: Command F2, length 1, bits 00
[03:05:18][D][ili9xxx:036]: Command 26, length 1, bits 01
[03:05:18][D][ili9xxx:036]: Command E0, length 15, bits 0F
[03:05:18][D][ili9xxx:036]: Command E1, length 15, bits 00
[03:05:18][D][ili9xxx:036]: Command 11, length 0, bits 29
[03:05:18][D][ili9xxx:036]: Command 29, length 0, bits 00
[03:05:18][I][app:029]: Running through setup()...
[03:05:18][I][i2c.arduino:183]: Performing I2C bus recovery
[03:05:18][D][spi:039]: Setting up SPI bus...
[03:05:18][C][uart.arduino_esp32:077]: Setting up UART...
[03:05:18][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1000.000000
[03:05:18][D][ledc.output:060]: Resolution calculated as 16
[03:05:18][D][ili9xxx:034]: Setting up ILI9xxx
[03:05:18][D][spi_device:379]: mode 0, data_rate 40000kHz
[03:05:18][D][ili9xxx:030]: Wrote MADCTL 0x08
[03:05:18][E][display:017]: Could not allocate buffer for display!
[03:05:18][D][binary_sensor:034]: 'M5_BtnB': Sending initial state OFF
[03:05:18][C][light:035]: Setting up light 'Display Backlight'...
[03:05:18][D][light:036]: 'Display Backlight' Setting:
[03:05:18][D][light:041]:   Color mode: 
[03:05:18][D][light:047]:   State: ON
[03:05:18][D][light:085]:   Transition length: 1.0s
[03:05:19][  1570][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:19][E][SHT20:021]: Sensor is not connected
[03:05:19][C][wifi:038]: Setting up WiFi...
[03:05:19][C][wifi:051]: Starting WiFi...
[03:05:19][C][wifi:052]:   Local MAC: 08:B6:1F:87:3A:54
[03:05:19][C][wifi:254]: Setting up AP...
[03:05:19][C][wifi:256]:   AP SSID: 'm5stack-air-quality-kit-873a54'
[03:05:19][C][wifi:257]:   AP Password: '12345678'
[03:05:20][C][wifi:266]:   IP Address: 192.168.4.1
[03:05:20][D][wifi:459]: Starting scan...
[03:05:20][C][ota:096]: Over-The-Air Updates:
[03:05:20][C][ota:097]:   Address: m5stack-air-quality-kit.local:3232
[03:05:20][C][ota:103]:   OTA version: 2.
[03:05:20][W][ota:107]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[03:05:20][C][api:025]: Setting up Home Assistant API server...
[03:05:20][D][wifi:459]: Starting scan...
[03:05:20][I][app:062]: setup() finished successfully!
[03:05:21][  3362][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:22][  4462][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:22][D][sensor:094]: 'Temperature': Sending state 128.86732 °C with 2 decimals of accuracy
[03:05:23][  5493][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:24][  6533][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
[03:05:24][D][sensor:094]: 'Humidity': Sending state 118.00000 % with 2 decimals of accuracy
[03:05:25]E (7556) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[03:05:25]E (7556) task_wdt:  - loopTask (CPU 1)
[03:05:25]E (7556) task_wdt: Tasks currently running:
[03:05:25]E (7556) task_wdt: CPU 0: IDLE
[03:05:25]E (7556) task_wdt: CPU 1: IDLE
[03:05:25]E (7556) task_wdt: Aborting.
[03:05:25]
[03:05:25]abort() was called at PC 0x401008dc on core 0
[03:05:25]
[03:05:25]
[03:05:25]Backtrace:0x40083e39:0x3ffbeaac |<-CORRUPTED
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40083e39: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
[03:05:25]
[03:05:25]
[03:05:25]
[03:05:25]
[03:05:25]ELF file SHA256: 0000000000000000
[03:05:25]
[03:05:25]Rebooting...
[03:05:25]ets Jul 29 2019 12:21:46
[03:05:25]
[03:05:25]rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
[03:05:25]configsip: 0, SPIWP:0xee
[03:05:25]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[03:05:25]mode:DIO, clock div:1
[03:05:25]load:0x3fff0030,len:1344
[03:05:25]load:0x40078000,len:13864
[03:05:25]load:0x40080400,len:3608
[03:05:25]entry 0x400805f0
[03:05:25]E (219) psram: PSRAM ID read error: 0xffffffff
[03:05:25][I][logger:359]: Log initialized
[03:05:25][C][ota:483]: There have been 3 suspected unsuccessful boot attempts.

m5stack_air_quality.yaml not giving expected result: display not working

When uploading the firmware based on your m5stack_air_quality.yaml my M5stack display stays black. The backlight is working and the device is also recognized by Home-Assistant and my router though. The middle button is switching off the display too. So everything is working okay, except for the display.

To get the display to work I had to define the colors like this:

color:
  - id: RED
    red: 100%
    green: 0%
    blue: 0%
  - id: BLUE
    red: 0%
    green: 0%
    blue: 100%
  - id: WHITE
    red: 100%
    green: 100%
    blue: 100%

and remove the old color definitions in the lambda

display:
  - platform: ili9341
    id: m5stack_display
    model: M5Stack
    cs_pin: 14
    dc_pin: 27
    led_pin: 32
    reset_pin: 33
    rotation: 0
    lambda: |-
      it.rectangle(0,  0, it.get_width(), it.get_height(), BLUE);
      it.rectangle(0, 22, it.get_width(), it.get_height(), BLUE);   // header bar
      it.print(it.get_width() / 2, 11, id(font_roboto_medium22), RED, TextAlign::CENTER, "Particulate matter");
      [...]

Incorrect temperature as noted in your Readme

I believe you may be having an issue with temperature because uFire's library does not respect the polling rate of the SHT20. In your SHT20 class's update method you are asking for temperature(), humidity(), vpd(), and dew_point(). If you look at uFire's code this will poll for the temperature 3 times. Even limiting yourself to once per second still exceeds the recommended polling rate. Does your temperature reading get better if you call your update at a slower rate?

Display no longer working with current ESPHOme version

Hi,

I recompiled my code with the latest ESPHome version 2023.11.3

The display no longer works. It stays "black". Pressing buttons doesn't help either.

image

This is the (test) code I used, Any suggestions on what's wrong (the device works fine, no HW issue) THANK YOU !!!

`esphome:
name: m5stack-test
friendly_name: m5stack test
platform: ESP32
board: m5stack-core-esp32

Enable logging

logger:

Enable Home Assistant API

api:
encryption:
key: "gpjuhv2JrMwqJv0bmLgs4gQg4Y4CVm9RT5aBenud9RY="

ota:
password: "b63b7141d7c6b173ed066b98706242d0"

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: "M5Stack-Test Fallback Hotspot"
password: "VAPrYAGk5uXM"

captive_portal:

web_server:
port: 80

spi:
clk_pin: 18
mosi_pin: 23
miso_pin: 19

font:

  • file: "fonts/Roboto-Medium.ttf"
    id: font_roboto_medium22
    size: 22
    glyphs: '!"%()+,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz/³µ'

color:

  • id: RED
    red: 100%
    green: 0%
    blue: 0%
  • id: BLUE
    red: 0%
    green: 0%
    blue: 100%
  • id: WHITE
    red: 100%
    green: 100%
    blue: 100%

display:

  • platform: ili9xxx
    id: m5stack_display
    model: M5Stack
    cs_pin: 14
    dc_pin: 27

led_pin: 32

reset_pin: 33
rotation: 0
lambda: |-
  it.rectangle(0,  0, it.get_width(), it.get_height(), BLUE);
  it.rectangle(0, 22, it.get_width(), it.get_height(), BLUE);   // header bar
  it.print(it.get_width() / 2, 11, id(font_roboto_medium22), RED, TextAlign::CENTER, "Particulate matter");

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.