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.

    trying to setup a DHT22/am2302 not getting readings

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 631 Views 3 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.
    • S Offline
      spoonbe
      last edited by

      well i’m trying to get my Sensor to work but can’t seem to figure out what i’m doing wrong.

      I’m pretty new to all of this

      the Mirror is setup and working fine
      added a Sr501 PIR sensor and that one is working fine, so wiring up the Temp Sensor should be right

      but this sensor is giving me some trouble. I think that i ran through all the installation steps
      some modules give me errors and the mirror won’t load at all showing on top electron

      Some modules show up on the mirror but don’t give me readings
      i’m a bit lost at this point.

      these are the ones i tried
      https://github.com/Bangee44/MMM-DHT22
      https://github.com/bernardpletikosa/MMM-DHT-Sensor
      https://github.com/nebulx29/MMM-dht22
      https://github.com/glitch452/MMM-LocalTemperature

      could really use some help

      BKeyportB 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @spoonbe
        last edited by

        @spoonbe have you tried using the sensor with another program or service to see if it’s the problem?

        https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/ for example.

        The "E" in "Javascript" stands for "Easy"

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          spoonbe @BKeyport
          last edited by

          @BKeyport i’ll have a look at that

          1 Reply Last reply Reply Quote 0
          • FoziF Offline
            Fozi Project Sponsor
            last edited by

            You need to put a 10k pull-up resistor between The GND and data for the DHT11. The AM2302 is identical to the DHT11, but is shipped on a small PCB, which already has the resistor included.

            HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @Fozi
              last edited by

              @Fozi I wonder if that’s why I’m having problems getting readings from time to time. I’ve got a DHT on a board, but I don’t think it’s got anything other than direct wiring to the pins you solder to.

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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