• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 39.7k 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.
  • T Offline
    trividar
    last edited by Nov 22, 2016, 8:56 AM

    THX @Bangee for your help. Now i got this error:

    Error

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Nov 22, 2016, 9:06 AM

      Right. Please replace the word temp with arr[1] and hum with arr[0] in line 33 in node_helper.js

      1 Reply Last reply Reply Quote 0
      • T Offline
        trividar
        last edited by trividar Nov 22, 2016, 7:01 PM Nov 22, 2016, 6:59 PM

        Now my logs looks like this after I changed line 33:

        Bild Text

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by Nov 22, 2016, 7:36 PM

          Okay, so it definitely fails retrieving data from the sensor, but the error handling does not catch this failure.

          1 Reply Last reply Reply Quote 0
          • T Offline
            trividar
            last edited by Nov 22, 2016, 7:50 PM

            I have test it with two dht22. One was mine and one I received from @Bangee who was so kind to test it before sending it and it was working at his home, but when I tried it at my home it wasn’t working. So I have no Idea what can be the failure.

            1 Reply Last reply Reply Quote 0
            • T Offline
              trividar
              last edited by Nov 27, 2016, 8:23 PM

              Hi ,
              so I just figure it out, that the motiondetector by alexyak blocking the DHT22 script. If I disable this module my DHT 22 works perfect. Somebody knows what make this problem?

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bangee Module Developer
                last edited by Nov 28, 2016, 7:23 AM

                that’s very strange!?!
                Is this module working with a PIR Sensor or a Webcam?
                Im using Paviro’s PIR Sensor to turn on an off my monitor.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trividar
                  last edited by Nov 28, 2016, 10:08 AM

                  With picamera. I installed MM on my other pi (completely new installation) and i got the same problem after i installed the motion detector. So I disabled on my MM the motion detector and it works fine on both pi’s. It’s very strange ;o(

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    trividar
                    last edited by Dec 3, 2016, 10:13 AM

                    No one an idea?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bangee Module Developer
                      last edited by Dec 4, 2016, 4:14 PM

                      I am using a PIR sensor.
                      So i can’t reproduce it.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        12/47
                        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