Air Gradiant Api - Add Api endpoints for settings such as display brightness

Hello,

I’ve been using the AirGradient One with Home Assistant and the AirGradient Cloud for a while. Since I travel a lot and take the device with me, I face a problem: Home Assistant’s integration only fetches data locally. So, when I’m away, I lose access to the data in Home Assistant and only have it on the AirGradient Cloud.

I want to create a new Home Assistant integration or extend the existing one to fetch data from the AirGradient Cloud. There’s already an API: AirGradient Cloud API, but it’s missing features like display/LED brightness.

For example, when not in local mode, the device retrieves this configuration from:

http://hw.airgradient.com/sensors/airgradient:yourairgradiantserialno/one/config

For example It returns:

{
“country”: “DE”,
“pmStandard”: “ugm3”,
“co2CalibrationRequested”: false,
“ledBarTestRequested”: false,
“ledBarMode”: “co2”,
“displayMode”: “on”,
“placeOpen”: false,
“abcDays”: 8,
“tvocLearningOffset”: 12,
“noxLearningOffset”: 12,
“temperatureUnit”: “c”,
“targetFirmware”: “3.1.9”,
“ledBarBrightness”: 0,
“displayBrightness”: 0,
“model”: “I-9PSL”
}

Would it be possible to add API endpoints for settings like pmStandard, ledBarTestRequested, displayMode, abcDays (what does this mean?), tvocLearningOffset, noxLearningOffset, and CO2 calibration? These are available in the official Home Assistant plugin but are missing in the AirGradient Cloud API.

Hello , is there any update on this yet ? Is airgrdient currently planning to update the integration itself so that it can also pull the data from the cloud (2 people don’t have to work on it at the same time)?