airgradienthq / arduino

Firmware of open-source hardware air quality monitors AirGradient ONE (indoor) and AirGradient Open Air (outdoor).
https://www.airgradient.com/documentation/
Other
220 stars 114 forks source link

Fix post failed display error when postDataToAirGradient is false #244

Closed samuelbles07 closed 2 months ago

samuelbles07 commented 2 months ago

Changes

  1. Fix showing server N/A when postDataToAirGradient is set to False. This case occur when postDataToAirGradient set to false locally while previously device is failed to post data to server. The status stayed on the display.
  2. Merge update network related status error for led bar and oled display in 1 function.