I’m using the SGP30 library provided by pimoroni and I can use the following to get a printout of the current values:
while True:
result = sgp30.get_air_quality()
print(result)
time.sleep(1.0)
returns
................
Air Quality:
Equivalent C02: 407 (ppm)
Total VOC: 1 (ppb)
Air Quality:
Equivalent C02: 400 (ppm)
Total VOC: 0 (ppb)
Air Quality:
Equivalent C02: 406 (ppm)
Total VOC: 6 (ppb)
Is there any way to isolate specific values, such as getting JUST the TVOC value to work with?