Closed peterchs closed 4 years ago
This issue has been automatically closed because the issue template is missing or incomplete. Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you. Please, could you be so kind on completing the issue template in order to have more information so as to properly help you? Thank you for taking the time to report, hopefully it can be resolved soon. Support Information Wiki for more information. Chat for more user experience. Community for forum. Code of Conduct Contributing Guideline and Policy
Newly purchased SGP30 sensor is not working with current builds of Tasmota.
To diagnose and confirm the sensor was not broken I tested the SGP30 example sketch in the Arduino IDE. This worked fine.
I noticed the Adafruit_SGP30 library used by Tasmota is 1.0.3 vs 1.2.0 current version in manage libs of arduino ide.
I tested the example sketch with a downgraded version of Adafruit_SGP30 to 1.0.3. The sketch would not work and could not find the sensor.
Having confirmed that the old library version is incompatible/broken with my sensor I compiled a sensors bin of tasmota with Adafruit_SPG30 upgraded to 1.2.0 - the sensor then started working in Tasmota.
TLDR; In summary - the current Adafruit_SGP30 lib referenced in Tasmota is broken for some versions of the SGP30 device. The Adafruit_SGP30 library needs to be upgraded to latest 1.2.0.
SGP30 Sensor Purchased: https://www.aliexpress.com/item/4000575428246.html