Error compiling NodeManager DHT22 sensor

  • Error compiling DHT22 sensor

    I'm trying to make a simple DHT22 sensor Nodemanagersketch


    But when I try to compile I get a warning in the NodeManager.cpp file:

    and in the bottom field 'class DHT' has no member named 'setup'

    Does anyone know what I'm doing wrong?

  • Contest Winner

    Hi @Getz99, are you sure MODULE_DHT is enabled? Also ensure that you are using the right DHT package referenced in the documentation. Please note the package has changed from v1.6 to v1.7. Thanks!

  • Thanks @user2684 for your reply,
    I was using the wrong package, downloaded the latest version and now it works!

    Thanks again for your help and for the development of NodeManager!

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.