MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-DHT22 Humidity and Temperature Module

    Scheduled Pinned Locked Moved Utilities
    47 Posts 14 Posters 43.8k Views 14 Watching
    Loading More Posts
    • 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.
    • R Offline
      ryck Module Developer
      last edited by

      Hi. I have the same issue, no response in the module or in the command line…

      I am also using a PIR sensor, maybe it’s related?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        Johans @ryck
        last edited by

        @ Bangee
        installed modules as described in read.me file but I get no reading of temp or hum.
        sensor is working, tested with AdaFruit example

        sudo ./AdafruitDHT.py 2302 27 (Data connected to gpio 27)
        I get a perfect temp & hum reading, so i’m shure sensor is working.
        i’m using an RPI3 - according to wiring pin, wpi 2 = gpio27 = physical pin 13.
        I think wiring is OK.

        only clock and this module installed.

        1 Reply Last reply Reply Quote 0
        • P Offline
          PaulB
          last edited by

          Hey guys :) Hope you are all good.
          Finally I have the time to work on this module again :)
          I had the same errors like you before and unsuprisingly did not found a solution for it.

          Is someone in this thread still active?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            Johans @PaulB
            last edited by

            @PaulB - glad you have found some time to work on it.
            Yes I still have the problem with reading the data in the MM.
            Hope you can find the cause. I would like to help you, but i’m not a programmer.
            The only thing I could help on is perhaps some beta testing.
            Cheers.
            Johan

            1 Reply Last reply Reply Quote 0
            • DocVooDooD Offline
              DocVooDoo
              last edited by

              Hey, i have the same problem.
              With “./Adafruit_Python_DHT/examples/AdafruitDHT.py 22 27” comes the Temperatur “Temp=20.1* Humidity=29.3%”
              The DHT22 is Pinned on PIN 13 (27) (WiringPi 2). On the Mirror is the Temperatur and the Humidity undefined.
              Whats the Problem? I found nothing…

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                ryck Module Developer @DocVooDoo
                last edited by

                @DocVooDoo Then I don’t know, maybe there is something wrong with the module…

                Have you tried mine? https://github.com/ryck/MMM-DHT-Sensor

                DocVooDooD 1 Reply Last reply Reply Quote 0
                • DocVooDooD Offline
                  DocVooDoo @ryck
                  last edited by

                  @ryck Hi. yes, a minute ago. He says “no data returned”.

                  R 1 Reply Last reply Reply Quote 1
                  • R Offline
                    ryck Module Developer @DocVooDoo
                    last edited by

                    @DocVooDoo sometimes the raspberry pi needs some time to pick up the values… try to increase the update time (ie, 30 seconds) and wait for it to update a couple of times…

                    DocVooDooD 1 Reply Last reply Reply Quote 0
                    • DocVooDooD Offline
                      DocVooDoo @ryck
                      last edited by

                      @ryck nothing has changed. i have “node serveronly” running, and the log says “Error: failed to read sensor at Error (native)”
                      but the sensor works… look

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        ryck Module Developer @DocVooDoo
                        last edited by

                        @DocVooDoo Weird… did you follow all the instructions? ie, install bcm2835, npm install, etc?

                        DocVooDooD 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 2 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy