Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. The basics of MySensors? (continued)

The basics of MySensors? (continued)

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • marexM marex

    @mfalkvidd I actually use a different kind of temperature/humidity sensor. I will adjust the Arduino sketch and try. Thanks a lot.

    mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by mfalkvidd
    #1

    @marex if you use a DHT sensor you can use https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examples/DhtTemperatureAndHumiditySensor
    Do install the entire library though, since the DHT library is slightly modified for MySensors needs.

    marexM 1 Reply Last reply
    0
    • mfalkviddM mfalkvidd

      @marex if you use a DHT sensor you can use https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examples/DhtTemperatureAndHumiditySensor
      Do install the entire library though, since the DHT library is slightly modified for MySensors needs.

      marexM Offline
      marexM Offline
      marex
      wrote on last edited by
      #2

      @mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.

      mfalkviddM 2 Replies Last reply
      0
      • marexM marex

        @mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        @marex the links I provided at the start show how to send and receive data.

        https://www.mysensors.org/about Describes how MySensors works overall.

        1 Reply Last reply
        0
        • marexM marex

          @mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @marex after sleeping I think I understand your question. Start by writing nothing in the setup, presentation and loop. Just use the examples as they are, following the instructions on the links I have already posted. That will get you a working gateway and working temperature nodes.

          You can then add your own code for handling communication with your phone, or just use one of the available controllers which will handle that communication as well.

          With MySensors it really is that simple.

          Note: I am moving this discussion to a separate thread, since it really has nothing to do with the MySensors 2.0 release.

          1 Reply Last reply
          3
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          13

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular