airgradienthq / arduino

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

Configuration always save configure on power up #179

Closed pnt325 closed 3 months ago

pnt325 commented 5 months ago

On the power up device load load configuration and check parameter value is valid or not. If not set all the value to default then save again. With the device without internet connecter after powerup to sync configuration from cloud the country value always invalid cause default value is empty while valid value must be uppercase with 2 character