Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. OpenHardware.io
  3. 💬 Insulated Whole House Fan

💬 Insulated Whole House Fan

Scheduled Pinned Locked Moved OpenHardware.io
mysensorswhole house fan
72 Posts 11 Posters 13.2k Views 11 Watching
  • 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.
  • rechin304R rechin304

    This is the output that i get. Maybe you can understand why. And this is a clean example. Anyone have make temp DHT11 to work in version2 ?

    Starting sensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=27)
    TSM:FPAR
    TSP:MSG:SEND 27-27-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 27-27-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 25-25-27 s=255,c=3,t=8,pt=1,l=1,sg=0:1
    TSP:MSG:FPAR RES (ID=25, dist=1)
    TSP:MSG:PAR OK (ID=25, dist=2)
    TSP:MSG:READ 0-0-27 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    TSP:MSG:FPAR RES (ID=0, dist=0)
    TSP:MSG:PAR OK (ID=0, dist=1)
    TSM:FPAR:OK
    TSM:ID
    TSM:CHKID:OK (ID=27)
    TSM:UPL
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:MSG:READ 0-0-27 s=255,c=3,t=25,pt=1,l=1,sg=0:1
    TSP:MSG:PONG RECV (hops=1)
    TSP:CHKUPL:OK
    TSM:UPL:OK
    TSM:READY
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
    TSP:MSG:SEND 27-27-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:0
    TSP:MSG:READ 0-0-27 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    TSP:MSG:READ 0-0-27 s=255,c=3,t=6,pt=0,l=1,sg=0:M
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=ok:TemperatureAndHumidity
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1
    TSP:MSG:SEND 27-27-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok:
    TSP:MSG:SEND 27-27-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
    Request registration...
    TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
    TSP:MSG:READ 0-0-27 s=255,c=3,t=27,pt=1,l=1,sg=0:1
    Node registration=1
    Init complete, id=27, parent=0, distance=1, registration=1```
    

    If i get the sensor out i get this

    Init complete, id=27, parent=0, distance=1, registration=1
    Failed reading temperature from DHT!
    Failed reading humidity from DHT
    
    petewillP Offline
    petewillP Offline
    petewill
    Admin
    wrote on last edited by
    #17

    @rechin304 Something is most likely wrong with your wiring or the sensor. I am using a DHT22 without any issues in my rain gauge which is on 2.0 (I'm using the most recent beta release). Try connecting a 4.7k resistor between the data pin and power on the DHT like this.
    0_1478303148400_upload-1d245d6b-aad9-4841-8307-485c9caf5056

    My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

    1 Reply Last reply
    0
    • enloE Offline
      enloE Offline
      enlo
      wrote on last edited by
      #18

      @petewill wow, your screen case looks amazing! Is that acryl glass? Did you build that yourself too?

      petewillP 1 Reply Last reply
      0
      • enloE enlo

        @petewill wow, your screen case looks amazing! Is that acryl glass? Did you build that yourself too?

        petewillP Offline
        petewillP Offline
        petewill
        Admin
        wrote on last edited by
        #19

        @enlo Thanks. Yeah, it's acrylic glass (Plexiglas). It was a pain to use though as I couldn't clean off the paint very well. My next project I'm working on I'm going to try to use regular glass.

        My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

        1 Reply Last reply
        0
        • rechin304R rechin304

          This is the output that i get. Maybe you can understand why. And this is a clean example. Anyone have make temp DHT11 to work in version2 ?

          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=27)
          TSM:FPAR
          TSP:MSG:SEND 27-27-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
          TSM:FPAR
          TSP:MSG:SEND 27-27-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
          TSP:MSG:READ 25-25-27 s=255,c=3,t=8,pt=1,l=1,sg=0:1
          TSP:MSG:FPAR RES (ID=25, dist=1)
          TSP:MSG:PAR OK (ID=25, dist=2)
          TSP:MSG:READ 0-0-27 s=255,c=3,t=8,pt=1,l=1,sg=0:0
          TSP:MSG:FPAR RES (ID=0, dist=0)
          TSP:MSG:PAR OK (ID=0, dist=1)
          TSM:FPAR:OK
          TSM:ID
          TSM:CHKID:OK (ID=27)
          TSM:UPL
          TSP:PING:SEND (dest=0)
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
          TSP:MSG:READ 0-0-27 s=255,c=3,t=25,pt=1,l=1,sg=0:1
          TSP:MSG:PONG RECV (hops=1)
          TSP:CHKUPL:OK
          TSM:UPL:OK
          TSM:READY
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
          TSP:MSG:SEND 27-27-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:0
          TSP:MSG:READ 0-0-27 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
          TSP:MSG:READ 0-0-27 s=255,c=3,t=6,pt=0,l=1,sg=0:M
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=ok:TemperatureAndHumidity
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1
          TSP:MSG:SEND 27-27-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok:
          TSP:MSG:SEND 27-27-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
          Request registration...
          TSP:MSG:SEND 27-27-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
          TSP:MSG:READ 0-0-27 s=255,c=3,t=27,pt=1,l=1,sg=0:1
          Node registration=1
          Init complete, id=27, parent=0, distance=1, registration=1```
          

          If i get the sensor out i get this

          Init complete, id=27, parent=0, distance=1, registration=1
          Failed reading temperature from DHT!
          Failed reading humidity from DHT
          
          flyswiftlyF Offline
          flyswiftlyF Offline
          flyswiftly
          wrote on last edited by
          #20

          @rechin304 said:

          dht.setup(DHT_DATA_PIN);
          if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
          Serial.println("Warning: UPDATE_INTERVAL is smaller than supported by the sensor!");
          }
          // Sleep for the time of the minimum sampling period to give the sensor time to power up
          // (otherwise, timeout errors might occure for the first reading)
          sleep(dht.getMinimumSamplingPeriod());

          For what it's worth, I just went through a very long debug session trying to get a simple dht11 based sensor built and working. For reasons I don't even pretend to understand, the one thing I changed that allows it to work is changing the 'sleep' command in this section of the setup function to a 'wait' command.

          rechin304R 1 Reply Last reply
          0
          • flyswiftlyF flyswiftly

            @rechin304 said:

            dht.setup(DHT_DATA_PIN);
            if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
            Serial.println("Warning: UPDATE_INTERVAL is smaller than supported by the sensor!");
            }
            // Sleep for the time of the minimum sampling period to give the sensor time to power up
            // (otherwise, timeout errors might occure for the first reading)
            sleep(dht.getMinimumSamplingPeriod());

            For what it's worth, I just went through a very long debug session trying to get a simple dht11 based sensor built and working. For reasons I don't even pretend to understand, the one thing I changed that allows it to work is changing the 'sleep' command in this section of the setup function to a 'wait' command.

            rechin304R Offline
            rechin304R Offline
            rechin304
            wrote on last edited by
            #21

            @flyswiftly thanks for trying,

            in my case still i do not see any data. What library do you use ? The one from MySensorsArduinoExamples-master.zip ?

            flyswiftlyF 1 Reply Last reply
            0
            • rechin304R rechin304

              @flyswiftly thanks for trying,

              in my case still i do not see any data. What library do you use ? The one from MySensorsArduinoExamples-master.zip ?

              flyswiftlyF Offline
              flyswiftlyF Offline
              flyswiftly
              wrote on last edited by
              #22

              @rechin304

              What library do you use ? The one from MySensorsArduinoExamples-master.zip ?

              Actually, no. It turns out when I looked through my IDE that I am using the prior version of the DHT library. That did also force me to comment out the read sensor line just to make it compile. Maybe the combination of the two changes is what does the trick. I hadn't made those changes together, so I missed the possible significance of this change:

              void loop()      
              {  
                // Force reading sensor, so it works also after sleep()
              //  dht.readSensor(true);
              
              

              Running a diff on both the library you point out and the one I'm using shows that adding that bool to the readSendor function is the only code difference.

              rechin304R 1 Reply Last reply
              0
              • flyswiftlyF flyswiftly

                @rechin304

                What library do you use ? The one from MySensorsArduinoExamples-master.zip ?

                Actually, no. It turns out when I looked through my IDE that I am using the prior version of the DHT library. That did also force me to comment out the read sensor line just to make it compile. Maybe the combination of the two changes is what does the trick. I hadn't made those changes together, so I missed the possible significance of this change:

                void loop()      
                {  
                  // Force reading sensor, so it works also after sleep()
                //  dht.readSensor(true);
                
                

                Running a diff on both the library you point out and the one I'm using shows that adding that bool to the readSendor function is the only code difference.

                rechin304R Offline
                rechin304R Offline
                rechin304
                wrote on last edited by
                #23

                @flyswiftly
                I also did that try an older version library for DHT and receive data. So conclusion is that on current (latest) DHT library for DHT11 is not working. Now I'm on a business trip to China for a week and With this chance i will buy there DHT 22 to be sure. I will be back in a week with conclusion.

                1 Reply Last reply
                0
                • rechin304R Offline
                  rechin304R Offline
                  rechin304
                  wrote on last edited by rechin304
                  #24

                  I can confirm that DHT library that is in example do not work with DHT11 and DHT22 in my case, using other (older) library i can see data.

                  petewillP 1 Reply Last reply
                  0
                  • rechin304R rechin304

                    I can confirm that DHT library that is in example do not work with DHT11 and DHT22 in my case, using other (older) library i can see data.

                    petewillP Offline
                    petewillP Offline
                    petewill
                    Admin
                    wrote on last edited by
                    #25

                    @rechin304 Sorry, just to make sure I understand, are you saying it works with a DHT22 or not? I may still be on an old library too.

                    My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                    rechin304R 1 Reply Last reply
                    0
                    • petewillP petewill

                      @rechin304 Sorry, just to make sure I understand, are you saying it works with a DHT22 or not? I may still be on an old library too.

                      rechin304R Offline
                      rechin304R Offline
                      rechin304
                      wrote on last edited by rechin304
                      #26

                      @petewill
                      Works with DHT22 and other library (old one). I could not make it work withe one from example.

                      I'm almost ready with build, waiting for final pieces. hope to receive them this week.
                      one more ting i noticed is that clock is behind with 2minutes, so i need to check the code again.

                      1 Reply Last reply
                      0
                      • rechin304R Offline
                        rechin304R Offline
                        rechin304
                        wrote on last edited by
                        #27

                        I have an working prototype, see video https://goo.gl/photos/VSQeaevHh7UbbStr9
                        Many thanks to @petewill for his work and inspiration.
                        I will post final pictures when ready.

                        petewillP 1 Reply Last reply
                        3
                        • rechin304R Offline
                          rechin304R Offline
                          rechin304
                          wrote on last edited by
                          #28

                          Added new lead screw pitch of 2Mm that decrease open/close time from 3 minutes to 40 sec. see pics https://goo.gl/photos/mQvF1S9FrdNYPpdH9

                          buyed from here http://www.ebay.com/itm/322139119923?_trksid=p2057872.m2749.l2649&var=511054006707&ssPageName=STRK%3AMEBIDX%3AIT
                          for who is interested.

                          1 Reply Last reply
                          0
                          • rechin304R rechin304

                            I have an working prototype, see video https://goo.gl/photos/VSQeaevHh7UbbStr9
                            Many thanks to @petewill for his work and inspiration.
                            I will post final pictures when ready.

                            petewillP Offline
                            petewillP Offline
                            petewill
                            Admin
                            wrote on last edited by
                            #29

                            @rechin304 Awesome! Glad you got it working!!

                            My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                            L 1 Reply Last reply
                            0
                            • petewillP petewill

                              @rechin304 Awesome! Glad you got it working!!

                              L Offline
                              L Offline
                              lis610
                              wrote on last edited by
                              #30

                              @petewill Hi Pete
                              Just Start building the system and got an error at sketch verify.
                              "exit status 1
                              'class Adafruit_ST7735' has no member named 'setFont'"

                              petewillP 1 Reply Last reply
                              0
                              • L lis610

                                @petewill Hi Pete
                                Just Start building the system and got an error at sketch verify.
                                "exit status 1
                                'class Adafruit_ST7735' has no member named 'setFont'"

                                petewillP Offline
                                petewillP Offline
                                petewill
                                Admin
                                wrote on last edited by
                                #31

                                @lis610 Sorry for the delay. Work has been very busy. I have attached the libraries I'm using. I was able to get it to compile when I just tested. https://drive.google.com/file/d/1wauxHRf5pyqLnBGsfCP8UPJQR1wNdkoF/view?usp=sharing

                                Let me know if you have issues with this.

                                My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  lis610
                                  wrote on last edited by
                                  #32

                                  THANK YOU so much for sharing. Most of the errors gone, but one left (using Arduino v.1.8.5; MySensors v 2.3.0):
                                  [C:\Users\BEAST\Documents\Arduino\Whole-House-Fan\code\New folder\WholeHouseFan2.0\WholeHouseFan2.0.ino: In function 'void presentation()':
                                  WholeHouseFan2.0:197: error: 'TEMP_CHILD_NAME' was not declared in this scope present(TEMP_ID, S_TEMP, TEMP_CHILD_NAME);
                                  exit status 1]
                                  'TEMP_CHILD_NAME' was not declared in this scope

                                  petewillP 1 Reply Last reply
                                  0
                                  • L lis610

                                    THANK YOU so much for sharing. Most of the errors gone, but one left (using Arduino v.1.8.5; MySensors v 2.3.0):
                                    [C:\Users\BEAST\Documents\Arduino\Whole-House-Fan\code\New folder\WholeHouseFan2.0\WholeHouseFan2.0.ino: In function 'void presentation()':
                                    WholeHouseFan2.0:197: error: 'TEMP_CHILD_NAME' was not declared in this scope present(TEMP_ID, S_TEMP, TEMP_CHILD_NAME);
                                    exit status 1]
                                    'TEMP_CHILD_NAME' was not declared in this scope

                                    petewillP Offline
                                    petewillP Offline
                                    petewill
                                    Admin
                                    wrote on last edited by
                                    #33

                                    @lis610 Sorry about that. I just fixed the code on the build page. Hopefully that will get you up and running :)

                                    My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      lis610
                                      wrote on last edited by
                                      #34

                                      Thank you. Did you upload the file for download?

                                      petewillP 1 Reply Last reply
                                      0
                                      • L lis610

                                        Thank you. Did you upload the file for download?

                                        petewillP Offline
                                        petewillP Offline
                                        petewill
                                        Admin
                                        wrote on last edited by
                                        #35

                                        @lis610 yes, I uploaded it to the page in the link at the top of this page.

                                        My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                        1 Reply Last reply
                                        0
                                        • L Offline
                                          L Offline
                                          lis610
                                          wrote on last edited by
                                          #36

                                          Cannot locate file "WholeHouseFan2.0.ino"

                                          petewillP 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          21

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular