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 stopped working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 4 Posters 5.7k Views 4 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.
    • D Offline
      Dracarys
      last edited by

      Hi all,

      i have this module installed:
      https://github.com/ryck/MMM-DHT-Sensor/
      it worked fine for several years now.
      However i had to update/upgrade my Raspi 3 because other modules stopped working and now this module does not work anymore.
      6a010502-19a6-440a-b933-ba991cf05249-grafik.png

      I tried to reinsall the module and bcm2835 but it didnt help.

      Since i can readout the DHT with a python script i assume the sensor is still working. I also didnt change the (working) config so i guess the pin should be fine (GPIO6). I dont know what to do now. Does someone have a similar problem?

      Thanks and cheers!

      S ankonaskiff17A 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Dracarys
        last edited by

        @Dracarys did you redo this step in the module install
        https://github.com/ryck/MMM-DHT-Sensor/#bcm2835

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dracarys
          last edited by

          Yes i also tried that.

          1 Reply Last reply Reply Quote 0
          • ankonaskiff17A Offline
            ankonaskiff17 @Dracarys
            last edited by

            @Dracarys What is Update/Upgrade?
            Just sudo apt update the then sudo apt full-upgrade or something different? Seems odd that other modules stopped working, you updated Pi OS, I assume and now DHT sensor quits.
            What is status of the other modules that were broken that prompted an update.

            S D 2 Replies Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @ankonaskiff17
              last edited by

              @ankonaskiff17 just run my script for upgrade…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              ankonaskiff17A 1 Reply Last reply Reply Quote 0
              • ankonaskiff17A Offline
                ankonaskiff17 @sdetweil
                last edited by

                @sdetweil I was mainly curious to understand how it broke.
                I look at these MM’s as these totally encapsulated hardware/module systems where say you built one two years ago, used whatever rendition of Pi+MM+modules were out at the time. You plugged it in and off to the races.

                IF you leave it alone, don’t update Pi, don’t update MM, it should run forever (technically) until something in the hardware breaks.

                So I’m always intrigued as a learning thing for me is just to understand what were the circumstances around “It has run for years and It just quit working”

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @ankonaskiff17
                  last edited by

                  @ankonaskiff17 ok. I understand your approach

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  ankonaskiff17A 1 Reply Last reply Reply Quote 0
                  • ankonaskiff17A Offline
                    ankonaskiff17 @sdetweil
                    last edited by

                    @sdetweil Now if I had a magic wand I could wave and this ALT issue would go up in a puff of smoke that would be nice too.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @ankonaskiff17
                      last edited by

                      @ankonaskiff17 never ever tried it. the official keystroke is alt and spacebar

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      ankonaskiff17A 1 Reply Last reply Reply Quote 0
                      • ankonaskiff17A Offline
                        ankonaskiff17 @sdetweil
                        last edited by

                        @sdetweil This is where ALT comes from. First one I built I did on my own with no guidance and I expect it is why you have seen other people saying ALT doesn’t work anymore. I can only work off the documentation. Documents said hit ALT key, I hit ALT key and it works.

                        ALT Key.jpg

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @ankonaskiff17
                          last edited by

                          @ankonaskiff17 cool. never read that part of the doc.

                          also says you can’t install over ssh, but it’s the ONLY way I install mm., ever

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • ankonaskiff17A Offline
                            ankonaskiff17
                            last edited by

                            I can build my digital picture frame without going though a bunch of gyrations and that was my goal so I’m content. 3 - 4 days ago that looked grim.

                            Now to look into your comment about a server for all my pictures and see what that requires.
                            Stuff I’m likely ignorant of at this moment I’m sure.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @ankonaskiff17
                              last edited by

                              @ankonaskiff17 i had a spare machine, installed linux 10 years ago… have a 5tb external drive with the pics and and a lot of other stuff…
                              share via samba (windows file sharing)

                              and mount that on the pi (line in /etc/fstab)
                              ends up in /media/{username}/…configed_name

                              then u can link (ln) to map in to a folder some other place with a new name…

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                Dracarys @ankonaskiff17
                                last edited by

                                @ankonaskiff17 Yes sudo apt-get update and sudo apt-get upgrade. Other modules work again just the DHT wont work :(

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Dracarys
                                  last edited by

                                  Fixed it. Updating the magic mirror itself did the trick.

                                  ankonaskiff17A J 3 Replies Last reply Reply Quote 0
                                  • ankonaskiff17A Offline
                                    ankonaskiff17 @Dracarys
                                    last edited by

                                    @Dracarys As in updating to 2.24.0?
                                    Those are the best kind.

                                    1 Reply Last reply Reply Quote 0
                                    • ankonaskiff17A Offline
                                      ankonaskiff17 @Dracarys
                                      last edited by

                                      @Dracarys I want to dig in to sensor projects myself. I looked at that DHT sensor and I think it is using SPI so maybe other sensors using same interface might be amenable to using module as a building block.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        Jonae @Dracarys
                                        last edited by

                                        @Dracarys mine is still broken, updated MM to version 2.24.0 and still not working. Any solution?

                                        ankonaskiff17A 1 Reply Last reply Reply Quote 0
                                        • ankonaskiff17A Offline
                                          ankonaskiff17 @Jonae
                                          last edited by ankonaskiff17

                                          @Jonae How many wires on sensor? 3 or 4? There are some DHT sensors with 4, some with 3.
                                          If it is 4, and/or you know it is I2C ,try running ```sudo i2cdetect -y 1’‘’ .
                                          Should spit you out an address 38.

                                          If not I have a 3 wire sensor I can hook up and run through setup. My 3 wire sensor and DHT supposed to be about twins.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            Jonae @ankonaskiff17
                                            last edited by

                                            @ankonaskiff17
                                            I have a 4 wire sensor, eunning sudo i2cdetect -y 1 i am getting an error thet could not open file. Anny sugestions?

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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