airgradienthq / arduino

Other
207 stars 110 forks source link

'pmStandard' value 'usaqi' invalid #157

Closed joostlek closed 3 months ago

joostlek commented 4 months ago

When executing the following request, the server returns with

'pmStandard' value 'usaqi' invalid
curl --location --request PUT 'http://10.0.0.115/config' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "pmStandard": "usaqi"
}'

Even though the docs say this should be supported

pnt325 commented 3 months ago

Hi @joostlek Thank for report. Correct value is us-aqi.