Page 1 of 1

looking for experience with gassensor SGP30

Posted: 28 Mar 2021, 21:46
by wonk
Hi,
does anybody have experience?
How do I have to calibrate this sensor?
I found: reading the sensors calibration data after about 12 hours of work.
When I want to get realistic data: Do I have to store this calibration data in the sepcial registers before working?
Gruss, wonk

Re: looking for experience with gassensor SGP30

Posted: 27 Feb 2022, 21:30
by Ath
This is a rather old post, but no answer yet, so I've taken a look at the plugin source to see what can be done.

New Baseline values are set from the Values fields at initialization of the plugin, but only if these values are both unequal to 0.
On recent releases of ESPEasy, you can't set these values without first changing the Tools/Advanced setting "Allow TaskValueSet on all plugins" to checked/enabled.
Then you can use these commands to set the baseline:

Code: Select all

// Disable the plugin
TaskDisable,SGP30
// Set the values
TaskValueSet,SGP30,TVOC,<tvocvalue>
TaskValueSet,SGP30,eCO2,<eco2value>
// Enable the plugin, so the values will be set as baseline
TaskEnable,SGP30
These commands can be typed in the Command line on the Tools page. (the // comment lines are there for explanation only :idea:)

How to determine these baseline values is a task I can't advise on, though...