Got BME680, attached to Tasmota. HASS noticed all 4 sensors via MQTT and shows them nicely except the gas sensor which readings come in kOhm and apparently there is some Bosch library to translate those to air quality index. And there is even support for this sensor in HASS https://www.home-assistant.io/integrations/bme680/ but only if it is attached directly to gpio on a machine where HASS runs.
Is there an easy way to reuse those calculations for remote sensor?
Hmm, you’re right. And reading from the Bosch website they have their own (pre-compiled) software to calculate the value. It must be complex, from their forums:
Due to the complex nature of the IAQ algorithm, it requires a significant amount of RAM and ROM, and uses floating point calculation. 8-bit and 16-bit platforms are not recommended.
Actually - looks like someone has done it before using lambda under ESPHome. From what I gather this does an estimate of IAQ based on current readings, Bosch uses previous readings to calculate the value: