Here it is:
{
“country”: “US”,
“pmStandard”: “ugm3”,
“ledBarMode”: “pm”,
“abcDays”: 0,
“tvocLearningOffset”: 360,
“noxLearningOffset”: 360,
“mqttBrokerUrl”: “”,
“temperatureUnit”: “f”,
“configurationControl”: “local”,
“postDataToAirGradient”: true,
“ledBarBrightness”: 2,
“displayBrightness”: 1,
“offlineMode”: false,
“monitorDisplayCompensatedValues”: false,
“model”: “O-1PST”,
“corrections”: {
“pm02”: {
“correctionAlgorithm”: “epa_2021”,
“slr”: null
}
}
}
Looks correction haven’t been applied locally. There are two ways to do this:
- Set configuration source for the monitor on home assistant to
cloud
for a moment until the monitor receive the correction configuration, and you can set it back tolocal
- Or, you can set it manually by using http client tools (eg. cURL) and follow this steps: arduino/docs/local-server.md at master · airgradienthq/arduino · GitHub
Unfortunately neither of these methods worked.
Method 1: I set the configuration source in HA to “Cloud” and waited for hours, restarted everything. Nothing changed.
Method 2: I ran the following command according to the github page:
curl --location -X PUT “http://airgradient_.local/config” --header “Content-Type: application/json” --data “{“corrections”:{“pm02”:{“correctionAlgorithm”:“slr_PMS5003_20240417”,“slr”:{“intercept”:0,“scalingFactor”:0.02799,“useEpa2021”:true}}}}”
The windows CMD says “Success”, but the content of http://airgradient_.local/config remains unchanged. Does this correction not work with PMS5003_20240417?
BTW, my indoor monitor was able to apply the correction locally in HA without me doing any extra setting.