Skip to content

how to know if only one sensor is not working ? #28

@matthieu4294967296moineau

Description

Hello,

If the scd30 is not properly wired, then the function airSensor.begin() will return false, same for airSensor.dataAvailable() if it was disconnected after being initialised.

But if only 1 from the 3 sensors (co2, temperature, humidity) stops working, how can I know it ?

Because when calling airSensor.dataAvailable(), it will still return true for the 2 remaining sensors, and if I call airSensor.getCO2() (if it is the co2 sensor that is broken), I will get the same value over and over.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions