looking for experience with gassensor SGP30

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wonk
Normal user
Posts: 20
Joined: 29 Nov 2020, 21:31

looking for experience with gassensor SGP30

#1 Post by wonk » 28 Mar 2021, 21:46

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

User avatar
Ath
Normal user
Posts: 3386
Joined: 10 Jun 2018, 12:06
Location: NL

Re: looking for experience with gassensor SGP30

#2 Post by Ath » 27 Feb 2022, 21:30

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...
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests