• 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-DHT-Sensor - Get temperature & humidity values from a DHT sensor

Scheduled Pinned Locked Moved Utilities
22 Posts 9 Posters 13.7k Views 9 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.
  • P Offline
    PaulB
    last edited by Sep 27, 2017, 7:27 PM

    Cool module,

    i would like to know whether you have an idea to my following problem:

    I did everything as recommended. Unfortunately the module is not shown on the screen.
    I checked everything as well as if the DHT22 works.
    Everything runs fine, unfortunately :D

    R 1 Reply Last reply Sep 27, 2017, 8:34 PM Reply Quote 0
    • R Offline
      ryck Module Developer @Dracarys
      last edited by Sep 27, 2017, 8:32 PM

      @Dracarys I am not seeing any update notification at all… Do you still have the issue?

      1 Reply Last reply Reply Quote 0
      • R Offline
        ryck Module Developer @PaulB
        last edited by Sep 27, 2017, 8:34 PM

        @PaulB Did you follow all the steps? Without logs is a little bit difficult to know what’s going on… Did you try to check if the sensor is working (like with a python script or something). It sound like a config.js issue…

        1 Reply Last reply Reply Quote 0
        • P Offline
          PaulB
          last edited by Sep 29, 2017, 10:29 AM

          @ryck

          Thanks for your quick reply :
          I have checked the config file as well as the set up. Checking the sensor via the console works fine.

          My next steps are deleting the module and downloading it again. Following step by step your manual.

          I keep you updated :)

          1 Reply Last reply Reply Quote 0
          • P Offline
            PaulB
            last edited by Sep 29, 2017, 11:09 AM

            @ryck

            I delete everything and set it up from scratch again.
            Unfortunately, as I start the MMM application your module is not shown on the screen. Do you have an idea where the problem is located?

            I used your config.js-example and just changed the Pinnumber from 2 to 4.

            Kind regards,
            Paul

            1 Reply Last reply Reply Quote 0
            • O Offline
              Ogret
              last edited by Oct 18, 2017, 4:18 PM

              @ryck

              Thanks for the great works.

              It’s possible to change the icons color of the temp and humidity?

              Thanks for help.

              BR

              O 1 Reply Last reply Oct 19, 2017, 9:28 AM Reply Quote 0
              • O Offline
                Ogret @Ogret
                last edited by Oct 19, 2017, 9:28 AM

                @ryck

                It’s done.

                R 1 Reply Last reply Oct 19, 2017, 9:33 AM Reply Quote 0
                • R Offline
                  ryck Module Developer @Ogret
                  last edited by Oct 19, 2017, 9:33 AM

                  @Ogret Sorry, I don’t have access to the mirror here, so I was waiting to get home today to reply to you. It’s just adding some code in the custom.css file with the right class, but seems like you already found how to do it!

                  Cheers,

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    PaulB
                    last edited by Jan 28, 2018, 4:53 PM

                    Dear @ryck,

                    I have installed your module and it works up to the point, where it shows me that “no data is returned”.

                    I guess that my wiring is wrong.
                    What do you think?

                    R 1 Reply Last reply Jan 28, 2018, 11:32 PM Reply Quote 0
                    • R Offline
                      ryck Module Developer @PaulB
                      last edited by Jan 28, 2018, 11:32 PM

                      @PaulB Hi Paul

                      That happens sometime, it’s related to the way the raspberry pulls data from the sensor, but it should be OK on the next try. Just in case, put a quick updateInterval (like 1 * 60 *1000) and see what happens…

                      Also, you can try to get a read directly from the sensor, bypassing the MagicMirror. Just clone this (https://github.com/adafruit/Adafruit_Python_DHT) somewhere and edit and execute this (https://github.com/adafruit/Adafruit_Python_DHT/blob/master/examples/simpletest.py), ie, `python simpletest.py

                      Good luck!

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