Skip to content

Connecting to wifi broken since 3.3.6Β #315

@sheld0r73

Description

@sheld0r73

My airgradient one updated last night to firmware 3.3.6
Since then it won't connect to my wifi

For testing purposes I've installed 3.0.8 directly from airgradient which is working perfectly fine
However this old version doesn't support home assistant

Below is the log from firmware 3.3.6
I don't understand why it assignes the IP 0.0.0.0
I'm providing the airgradient with a fixed IP and as said everything is working fine with 3.0.8

I can flash between those two versions as often as I like and the result will be always the same
3.0.8 is working but 3.3.6 doesn't connect to the wifi

OTA progress: 94
OTA progress: 97
OTA progress: 99
OTA progress: 100
[OTAWifi] Info: Download iamge binary complete, applying image...
[OTA] Info: Finishing... Total binary data length written: 1727616
[OTA] Info: OTA successful, MAKE SURE TO REBOOT!
OTA update performed, restarting ...
Guru Meditation Error: Core  0 panic'ed (Load access fault). Exception was unhandled.

Core  0 register dump:
MEPC    : 0x4201caa8  RA      : 0x420144ea  SP      : 0x3fcb5590  GP      : 0x3fc8e800  
TP      : 0x3fc705fc  T0      : 0x00000800  T1      : 0x40389898  T2      : 0x0000000e  
S0/FP   : 0x3fc920b0  S1      : 0x00000000  A0      : 0x00000000  A1      : 0x00000000  
A2      : 0x00000000  A3      : 0x00000001  A4      : 0x600c0000  A5      : 0x00000000  
A6      : 0x00000000  A7      : 0x60013000  S2      : 0x3fc99000  S3      : 0x3fc9a000  
S4      : 0x3fc997ac  S5      : 0x3c132000  S6      : 0x3fc92000  S7      : 0x3c13e000  
S8      : 0x4211f000  S9      : 0x0000aa53  S10     : 0x00000000  S11     : 0x00000000  
T3      : 0x00000078  T4      : 0x00000001  T5      : 0x3fcb5390  T6      : 0x00000001  
MSTATUS : 0x00001881  MTVEC   : 0x40380001  MCAUSE  : 0x00000005  MTVAL   : 0x00000230  
MHARTID : 0x00000000  

Stack memory:
3fcb5590: 0x3fc99000 0x3fc93000 0x3fc92000 0x420008e6 0x00000000 0x0000aa53 0x4211f000 0x00000000
3fcb55b0: 0x00000000 0x000ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4204b754
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x438
load:0x403cc710,len:0x918
load:0x403ce710,len:0x25f4
entry 0x403cc710
Serial nr: XXXserialXXX
Reset reason: ESP_RST_TASK_WDT
[Configure] Info: Reading file...
[Configure] Info: Reading file: success
[Configure] Info: Parse file to JSON
[Configure] Info: corrections not found
[Configure] Info: {"country":"TH","pmStandard":"ugm3","ledBarMode":"co2","abcDays":8,"tvocLearningOffset":12,"noxLearningOffset":12,"mqttBrokerUrl":"","httpDomain":"","temperatureUnit":"c","disableCloudConnection":false,"configurationControl":"both","postDataToAirGradient":true,"ledBarBrightness":100,"displayBrightness":100,"offlineMode":false,"monitorDisplayCompensatedValues":false}
Detected ONE_INDOOR
[OledDisplay] Info: begin
Firmware Version: 3.3.6
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x42080086
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x438
load:0x403cc710,len:0x918
load:0x403ce710,len:0x25f4
entry 0x403cc710
Serial nr: XXXserialXXX
Reset reason: ESP_RST_UNKNOWN
[Configure] Info: Reading file...
[Configure] Info: Reading file: success
[Configure] Info: Parse file to JSON
[Configure] Info: corrections not found
[Configure] Info: {"country":"TH","pmStandard":"ugm3","ledBarMode":"co2","abcDays":8,"tvocLearningOffset":12,"noxLearningOffset":12,"mqttBrokerUrl":"","httpDomain":"","temperatureUnit":"c","disableCloudConnection":false,"configurationControl":"both","postDataToAirGradient":true,"ledBarBrightness":100,"displayBrightness":100,"offlineMode":false,"monitorDisplayCompensatedValues":false}
Detected ONE_INDOOR
[OledDisplay] Info: begin
Firmware Version: 3.3.6
LED bar brightness: 100
Init SGP41 success
initializing PM sensor
cleared 0 byte(s)
setting active mode
7 byte(s) written
Set S8 AbcDays successful
[AGSERIAL] Info: IICSerial initialized
[AGSERIAL] Warning: IICSerial failed open serial line, retry..
[AGSERIAL] Warning: IICSerial failed open serial line, retry..
[AGSERIAL] Warning: IICSerial failed open serial line, retry..
[AGSERIAL] Error: IICSerial failed open serial line, give up..
Cellular module not available, using wifi
*wm:AutoConnect 
*wm:Connecting to SAVED AP: MyWiFi24
*wm:AutoConnect: SUCCESS 
*wm:STA IP Address:
[WifiConnector] Info: Wait for configure portal
**[WifiConnector] Info: WiFi Connected: MyWiFi24 IP: 0.0.0.0**
[LocalServer] Info: Init: airgradient_XXXserialXXX.local
MQTT is not configured, skipping initialization of MQTT client
[AgWifiClient] Info: Post measures to https://hw.airgradient.com/sensors/airgradient:XXXserialXXX/measures
[AgWifiClient] Error: Failed post measures to server with response code 400
[AgWifiClient] Info: Fetch configuration from https://hw.airgradient.com/sensors/airgradient:XXXserialXXX/one/config
[AgWifiClient] Error: Failed fetch configuration from server with return code 400
Display brightness: 100
Success create networking task
Firmware update starting...

p.s. the airgradient is stuck in a loop with 3.3.6
once it's done with the firmware update it'll reboot and try again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions