Ok so last thursday my Airgradient One diy sensor became unavailable in Home Assistant (via the official integration) but had been working flawlessly for almost a year previously. no updates anywhere or changes in hardware. so I erased+ flashed the One back to latest stable firmware, and while trying to get the intergration to work I left in running in debug mode on the knowledge base page: (AirGradient Monitor Firmware Updates | AirGradient Knowledge Base)
and I noticed that every time I clicked “download logs” to, well, download the logs, the unit would reboot with the following dumping into the log:
[19:36:55]
[19:36:55]CO2 = 888.00 ppm
[19:36:55]Temperature = 21.72 C
[19:36:55]Relative Humidity = 44.55
[19:36:55]TVOC Index = 101.0
[19:36:55]TVOC Raw = 30226.7
[19:36:55]NOx Index = 1.0
[19:36:55]NOx Raw = 17726.4
[19:36:55][1] Atmospheric PM 1.0 = 0.00 ug/m3
[19:36:55][1] Atmospheric PM 2.5 = 0.00 ug/m3
[19:36:55][1] Atmospheric PM 10 = 0.00 ug/m3
[19:36:55][1] Standard Particle PM 1.0 = 0.00 ug/m3
[19:36:55][1] Standard Particle PM 2.5 = 0.00 ug/m3
[19:36:55][1] Standard Particle PM 10 = 0.00 ug/m3
[19:36:55][1] Particle Count 0.3 = 74.7
[19:36:55][1] Particle Count 0.5 = 60.7
[19:36:55][1] Particle Count 1.0 = 11.0
[19:36:55][1] Particle Count 2.5 = 0.0
[19:36:55][1] Particle Count 5.0 = 0.0
[19:36:55][1] Particle Count 10 = 0.0
[19:36:55]
<~~I clicked Download logs here~~>
[19:36:56]ESP-ROM:esp32c3-api1-20210207
[19:36:56]Build:Feb 7 2021
[19:36:56]rst:0x15 (USB_UART_CHIP_RESET),boot:0xd (SPI_FAST_FLASH_BOOT)
[19:36:56]Saved PC:0x40380256
[19:36:56]SPIWP:0xee
[19:36:56]mode:DIO, clock div:1
[19:36:56]load:0x3fcd5810,len:0x438
[19:36:56]load:0x403cc710,len:0x918
[19:36:56]load:0x403ce710,len:0x25f4
[19:36:56]entry 0x403cc710
[19:36:57]Serial nr: <~~~~snip~~~~>
[19:36:57]Reset reason: ESP_RST_UNKNOWN
[19:36:57][Configure] Info: Reading file...
[19:36:57][Configure] Info: Reading file: success
[19:36:57][Configure] Info: Parse file to JSON
[19:36:57][Configure] Info: Correction algorithm: epa_2021
[19:36:57][Configure] Info: PM2.5 correction updated
[19:36:57][Configure] Info: atmp correction field not found on configuration
[19:36:57][Configure] Info: rhum correction field not found on configuration
[19:36:57][Configure] Info: {"country":"US","pmStandard":"ugm3","ledBarMode":"co2","abcDays":8,"tvocLearningOffset":12,"noxLearningOffset":12,"mqttBrokerUrl":"","httpDomain":"","temperatureUnit":"f","disableCloudConnection":false,"extendedPmMeasures":false,"configurationControl":"both","postDataToAirGradient":true,"ledBarBrightness":100,"displayBrightness":100,"offlineMode":false,"monitorDisplayCompensatedValues":false,"model":"I-9PSL","corrections":{"pm02":{"correctionAlgorithm":"epa_2021","slr":null}}}
[19:36:58]Detected ONE_INDOOR
[19:36:58][OledDisplay] Info: begin
[19:36:58]Firmware Version: 3.6.2
[19:37:03]LED bar brightness: 100
[19:37:04]Init SGP41 success
[19:37:04]initializing PM sensor
[19:37:04]cleared 0 byte(s)
[19:37:04]setting active mode
[19:37:04]7 byte(s) written
[19:37:05]Set S8 AbcDays successful
[19:37:05]S8 type ID: 0x10E
[19:37:05]S8 serial number: <~~~~snip~~~~>
[19:37:05]S8 memory map version: 0x31
[19:37:08][AGSERIAL] Info: IICSerial initialized
[19:37:08][AGSERIAL] Warning: IICSerial failed open serial line, retry..
[19:37:08][AGSERIAL] Warning: IICSerial failed open serial line, retry..
[19:37:09][AGSERIAL] Warning: IICSerial failed open serial line, retry..
[19:37:09][AGSERIAL] Error: IICSerial failed open serial line, give up..
[19:37:09]Cellular module not available, using wifi
[19:37:09]Attempt connect to configured ssid: <~~~~snip~~~~>
[19:37:09][LocalServer] Info: Init: airgradient_<~~~~snip~~~~>.local
[19:37:11]MQTT is not configured, skipping initialization of MQTT client
[19:37:11]
[19:37:11]---- PAYLOAD
[19:37:11] {"boot":0,"bootCount":0,"wifi":-41,"ledMode":"co2","serialno":"<~~~~snip~~~~>","firmware":"3.6.2","model":"I-9PSL"}
[19:37:11]-----
[19:37:11][AgWifiClient] Info: Post measures to https://hw.airgradient.com/sensors/airgradient:<~~~~snip~~~~>/measures
[19:37:13][AgWifiClient] Info: Success post measures to server with response code 429
[19:37:13][AgWifiClient] Info: Fetch configuration from https://hw.airgradient.com/sensors/airgradient:<~~~~snip~~~~>/one/config
[19:37:14][AgWifiClient] Info: Success fetch configuration from server, still needs to be parsed and validated
[19:37:14][Configure] Info: Parsing configuration: {"country":"US","pmStandard":"ugm3","co2CalibrationRequested":false,"ledBarTestRequested":false,"ledBarMode":"co2","displayMode":"on","placeOpen":true,"abcDays":8,"tvocLearningOffset":12,"noxLearningOffset":12,"temperatureUnit":"f","targetFirmware":"3.6.2","ledBarBrightness":100,"displayBrightness":100,"corrections":{"pm02":{"correctionAlgorithm":"epa_2021","slr":null},"atmp":{"correctionAlgorithm":"none","slr":null},"rhum":{"correctionAlgorithm":"none","slr":null}},"model":"I-9PSL"}
[19:37:14][Configure] Info: Parse configuration success
[19:37:14][Configure] Info: no satellites configured
[19:37:14][Configure] Info: Correction algorithm: epa_2021
[19:37:14][Configure] Info: atmp correction algorithm: none
[19:37:14][Configure] Info: rhum correction algorithm: none
[19:37:14]LED bar brightness: 100
[19:37:16]Display brightness: 100
[19:37:18][OTAWifi] Info: http://hw.airgradient.com/sensors/airgradient:<~~~~snip~~~~>/generic/os/firmware.bin?current_firmware=3.6.2
[19:37:18]Success create networking task
[19:37:19][OTAWifi] Info: Firmware is already up to date
[19:37:21]
[19:37:21]WiFi RSSI -40
[19:37:28]Last process timeout, clear buffer and last handle package
[19:37:28]PMS sensor connected
[19:37:28]
[19:37:28]CO2 = 886.00 ppm
[19:37:28]Temperature = 21.72 C
[19:37:28]Relative Humidity = 44.63
[19:37:28]TVOC Index = 0.0
[19:37:28]TVOC Raw = 30287.0
[19:37:28]NOx Index = 0.0
[19:37:28]NOx Raw = 18356.0
[19:37:28][1] Atmospheric PM 1.0 = 0.00 ug/m3
[19:37:28][1] Atmospheric PM 2.5 = 0.00 ug/m3
[19:37:28][1] Atmospheric PM 10 = 0.00 ug/m3
[19:37:28][1] Standard Particle PM 1.0 = 0.00 ug/m3
[19:37:28][1] Standard Particle PM 2.5 = 0.00 ug/m3
[19:37:28][1] Standard Particle PM 10 = 0.00 ug/m3
[19:37:28][1] Particle Count 0.3 = 94.0
[19:37:28][1] Particle Count 0.5 = 64.0
[19:37:28][1] Particle Count 1.0 = 12.0
[19:37:28][1] Particle Count 2.5 = 2.0
[19:37:28][1] Particle Count 5.0 = 0.0
[19:37:28][1] Particle Count 10 = 0.0
[19:37:28]
[19:37:31]WiFi RSSI -36
anyone have any ideas cause I’m six hours deep on this now and I’m at my wits end 0.0