Humidity and Temp examples. Where are they?

  • Hi,

    in the Arduino IDE i am missing the Dallas Temperature examples and the humidity examples. I think everybody using it. Why is it not there?
    So confusing with all different libraries and versions for beginners.... Would be good if at least the examples are complete with the most used sketches.

    Or am i missing something?

  • Mod

    @edsteve some of the examples require external libraries. The Arduino IDE can't handle one library (MySensors in our case) needing something from another library (the Dht library for example). So if the temperature example was included in MySensors, it would not work unless the user manually installed the Dht library. In some cases, such as with the Dht library, some versions are not compatible with the MySensors code. So in addition to knowing to install the Dht library manually, the user would also need to know the correct version of the library and how to install that exact version.

    The example sketch for the temperature sensor is available on the same page as the wiring guide for that sensor,

    On that page are also instructions on how to get the correct version of the Dht library.

  • Hero Member

    @edsteve most of the examples that need other libraries are no longer included when you install Mysensors.
    If you have a look Here in the examples folder you will find what you need.

    Edit: oops you beat me to it @mfalkvidd 🙂

  • Okay. So that means all the MySensor examples in the Arduino IDE only use Mysensors.h and no external library.

    Thx for the info. That explains it.

  • Mod

    Always look at the includes in the beginning of the sketch, if you don't have that file in the library folder, you need to download the appropriate library and library manager will help you find it most of the time

Log in to reply

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