Does anyone else have problems updating the firmware to 3.1.5? Every time I try it keeps rolling back to 3.1.4
When I try flashing it from AirGradient ONE (I-9PSL) and Open Air (O-1PST) Firmware Versions it says it is successfull. I then restart the device, it shows 3.1.5 and that a new firmware is available and starts downloading.
When this is done, it restarts and shows 3.1.4
Here is the log:
OTA message: 100
Connection closed, all data received
of bytes written: 1374592
0
OTA message:
OTA update performed, restarting …
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40382540
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x438
load:0x403cc710,len:0x918
load:0x403ce710,len:0x25f4
entry 0x403cc710
Serial nr: XXXXXXXXXXX
[Configure] Info: Reading file…
[Configure] Info: Reading file: success
[Configure] Info: Parse file to JSON
[Configure] Info: {“country”:“DK”,“pmStandard”:“ugm3”,“ledBarMode”:“co2”,“abcDays”:8,“tvocLearningOffset”:12,“noxLearningOffset”:12,“mqttBrokerUrl”:"",“temperatureUnit”:“c”,“configurationControl”:“both”,“postDataToAirGradient”:true,“ledBarBrightness”:10,“displayBrightness”:20,“offlineMode”:false,“model”:“I-9PSL”}
Detected ONE_INDOOR
[OledDisplay] Info: begin
Firmware Version: 3.1.4
LED bar brightness: 10
Init SGP41 success
Set S8 AbcDays successful
[ApiClient] Info: begin
*wm:AutoConnect
*wm:Connecting to SAVED AP: xxx
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: xxx
[WifiConnector] Info: Wait for configure portal
[WifiConnector] Info: WiFi Connected: xxx IP: xxx
[LocalServer] Info: Init: airgradient_XXXXXXXXXXX.local
Mqtt uri is empty
Connect to MQTT broker failed
[ApiClient] Info: Post uri: http://hw.airgradient.com/sensors/airgradient:XXXXXXXXXXX/measures
[ApiClient] Info: Post data: {“wifi”:-40,“boot”:0}
firmwareCheckForUpdate:
firmwareCheckForUpdate: Perform
checking for new OTA update @ http://hw.airgradient.com/sensors/airgradient:XXXXXXXXXXX/generic/os/firmware.bin?current_firmware=3.1.4
Firmware is already up to date
1
OTA message:
[Configure] Info: Parse configure: {“country”:“DK”,“pmStandard”:“ugm3”,“co2CalibrationRequested”:false,“ledBarTestRequested”:false,“ledBarMode”:“co2”,“displayMode”:“on”,“placeOpen”:false,“abcDays”:8,“tvocLearningOffset”:12,“noxLearningOffset”:12,“temperatureUnit”:“c”,“targetFirmware”:“3.1.4”,“ledBarBrightness”:10,“displayBrightness”:20,“model”:“I-9PSL”}
[Configure] Info: Parse configure success
LED bar brightness: 10
Display brightness: 20