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.
  • 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
                              • L lis610

                                Cannot locate file "WholeHouseFan2.0.ino"

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

                                @lis610 Strange. It disappeared. I added it again and just downloaded it so you should be good. Sorry for all the issues!

                                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
                                  #38

                                  Thank you. The box is ready. Next step connect all hardware. So far no luck with the display (KMR-1.8 SPI). What kind of display model you used in this project.

                                  petewillP 1 Reply Last reply
                                  0
                                  • L lis610

                                    Thank you. The box is ready. Next step connect all hardware. So far no luck with the display (KMR-1.8 SPI). What kind of display model you used in this project.

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

                                    @lis610 This is the display I used.
                                    http://www.ebay.com/itm/331443126874?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

                                    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
                                      #40

                                      Got the same display. It is working with Adafruit graphicstest example. I did not connect any components just display. If I ran the FAN sketch should be something showing on the display?
                                      Or need to connect everything?

                                      petewillP 1 Reply Last reply
                                      0
                                      • L lis610

                                        Got the same display. It is working with Adafruit graphicstest example. I did not connect any components just display. If I ran the FAN sketch should be something showing on the display?
                                        Or need to connect everything?

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

                                        @lis610 is #define TFT_DISPLAY_ON uncommented? Also, you will at least need the radio attached so the MySensors code can fully load (you can also setup defines to proceed without connecting to gateway but I don't remember them off the top of my head). I don't remember if there are any other dependencies since it as been so long since I built 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
                                          #42

                                          Please help
                                          Display is working with Adafruit graphicstest example pins:
                                          #define TFT_CS 10 #define TFT_RST 9 #define TFT_DC 8# define TFT_SCLK 13 #define TFT_MOSI 11
                                          I did try the same pins in FAN sketch -nothing on display
                                          Tryed pin# from FAN sketch on Adafruit graphicstest- nothing on display.
                                          Nothing come up
                                          I did connect to the radio. Got something from MY_DUBUG not sure is it good or bad:

                                          624893 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
                                          626903 !TSM:FPAR:NO REPLY
                                          626905 TSM:FPAR
                                          626941 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                          628951 !TSM:FPAR:NO REPLY
                                          628953 TSM:FPAR
                                          628989 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                          630999 !TSM:FPAR:NO REPLY
                                          631001 TSM:FPAR
                                          631037 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                          633047 !TSM:FPAR:FAIL
                                          633049 TSM:FAIL:CNT=7
                                          633051 TSM:FAIL:DIS
                                          633053 TSF:TDI:TSL
                                          693057 TSM:FAIL:RE-INIT
                                          693059 TSM:INIT

                                          693067 TSM:INIT:TSP OK
                                          693069 TSF:SID:OK,ID=5
                                          693071 TSM:FPAR
                                          693108 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                          693432 TSF:MSG:READ,0-0-5,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                          693438 TSF:MSG:FPAR OK,ID=0,D=1
                                          695117 TSM:FPAR:OK
                                          695119 TSM:ID
                                          695119 TSM:ID:OK
                                          695121 TSM:UPL
                                          695160 !TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
                                          697171 TSM:UPL
                                          697178 TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=OK:1
                                          699187 TSM:UPL
                                          699224 !TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
                                          701233 TSM:UPL

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


                                          20

                                          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