I2c sensors not sending data but showing up in i2c scanner and working on arduino

Thank you everyone!
Apologies for the delay, I was trying to figure out the particle workbench, but it is taking some time.
But the new library/script from @dreamER worked! to an extent :confused:

So now, the board can read the sensor’s data, but it only outputs TVOC=0 ppb, and eCO2=400 ppm.
I saw another post: SGP30 doesn't work on Gen3 devices - #25 by irwige that outlined a possible way to fix this. It seems like its only possible by using the particle workbench, is that correct? I’ve been trying to do this in just the IDE but it doesn’t seem possible.

In addition, I read at: Arduino Test | Adafruit SGP30 TVOC/eCO2 Gas Sensor | Adafruit Learning System that it could require 12 hours of measurements to set up the baseline. So I ran it all of last night, but the outputs didnt change.

So I guess I have two questions:

  1. would it be possible to implement that fix outside of the particle workbench? It wouldn’t be the end of the world, but dealing with visual studio code is a hassle.
  2. would it be possible to just set some baseline values in EEPROM and use those?

Thanks again to everyone, just incredibly helpful all around.
-Brian