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

                        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 Offline
                        petewillP Offline
                        petewill
                        Admin
                        wrote on last edited by
                        #43

                        @lis610 It looks like it's having issues communicating with your gateway. Here is a link to the log parser. You can use this in the future to check out your logs.

                        https://www.mysensors.org/build/parser?log=624893 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D1%2Cst%3DOK%3A 626903 !TSM%3AFPAR%3ANO REPLY 626905 TSM%3AFPAR 626941 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 628951 !TSM%3AFPAR%3ANO REPLY 628953 TSM%3AFPAR 628989 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 630999 !TSM%3AFPAR%3ANO REPLY 631001 TSM%3AFPAR 631037 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 633047 !TSM%3AFPAR%3AFAIL 633049 TSM%3AFAIL%3ACNT%3D7 633051 TSM%3AFAIL%3ADIS 633053 TSF%3ATDI%3ATSL 693057 TSM%3AFAIL%3ARE-INIT 693059 TSM%3AINIT 693067 TSM%3AINIT%3ATSP OK 693069 TSF%3ASID%3AOK%2CID%3D5 693071 TSM%3AFPAR 693108 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 693432 TSF%3AMSG%3AREAD%2C0-0-5%2Cs%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A0 693438 TSF%3AMSG%3AFPAR OK%2CID%3D0%2CD%3D1 695117 TSM%3AFPAR%3AOK 695119 TSM%3AID 695119 TSM%3AID%3AOK 695121 TSM%3AUPL 695160 !TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DNACK%3A1 697171 TSM%3AUPL 697178 TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D1%2Cst%3DOK%3A1 699187 TSM%3AUPL 699224 !TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DNACK%3A1 701233 TSM%3AUPL

                        Also, did you comment/uncomment the proper defines as noted above and in the code comments?

                        Try adding this line before #include <MySensors.h>

                        #define MY_TRANSPORT_WAIT_READY_MS 4000 //This will allow the sensor to function if it can't find the gateway when it first starts up
                        

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

                          This my node:
                          https://www.mysensors.org/build/parser?log=624893 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D1%2Cst%3DOK%3A 626903 !TSM%3AFPAR%3ANO REPLY 626905 TSM%3AFPAR 626941 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 628951 !TSM%3AFPAR%3ANO REPLY 628953 TSM%3AFPAR 628989 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 630999 !TSM%3AFPAR%3ANO REPLY 631001 TSM%3AFPAR 631037 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 633047 !TSM%3AFPAR%3AFAIL 633049 TSM%3AFAIL%3ACNT%3D7 633051 TSM%3AFAIL%3ADIS 633053 TSF%3ATDI%3ATSL 693057 TSM%3AFAIL%3ARE-INIT 693059 TSM%3AINIT 693067 TSM%3AINIT%3ATSP OK 693069 TSF%3ASID%3AOK%2CID%3D5 693071 TSM%3AFPAR 693108 TSF%3AMSG%3ASEND%2C5-5-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 693432 TSF%3AMSG%3AREAD%2C0-0-5%2Cs%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A0 693438 TSF%3AMSG%3AFPAR OK%2CID%3D0%2CD%3D1 695117 TSM%3AFPAR%3AOK 695119 TSM%3AID 695119 TSM%3AID%3AOK 695121 TSM%3AUPL 695160 !TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DNACK%3A1 697171 TSM%3AUPL 697178 TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D1%2Cst%3DOK%3A1 699187 TSM%3AUPL 699224 !TSF%3AMSG%3ASEND%2C5-5-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DNACK%3A1 701233 TSM%3AUPL

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

                            Gateway :
                            https://www.mysensors.org/build/parser?log=0%3B0%3B3%3B0%3B9%3Bgateway started%2C id%3D0%2C parent%3D0%2C distance%3D0 0%3B0%3B3%3B0%3B14%3BGateway startup complete. 0%3B0%3B3%3B0%3B9%3Bread and forward%3A 3-3-255 s%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A 0%3B0%3B3%3B0%3B9%3Bsend%3A 0-0-3-3 s%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cst%3Dok%3A0 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread and forward%3A 3-3-255 s%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A 0%3B0%3B3%3B0%3B9%3Bsend%3A 0-0-3-3 s%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cst%3Dfail%3A0 0%3B0%3B3%3B0%3B9%3Bread and forward%3A 3-3-255 s%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A 0%3B0%3B3%3B0%3B9%3Bsend%3A 0-0-3-3 s%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cst%3Dfail%3A0 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread and forward%3A 3-3-255 s%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A 0%3B0%3B3%3B0%3B9%3Bsend%3A 0-0-3-3 s%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cst%3Dok%3A0 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1 0%3B0%3B3%3B0%3B9%3Bread and forward%3A 3-3-255 s%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A 0%3B0%3B3%3B0%3B9%3Bsend%3A 0-0-3-3 s%3D255%2Cc%3D3%2Ct%3D8%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cst%3Dfail%3A0 0%3B0%3B3%3B0%3B9%3Bread%3A 3-3-0 s%3D255%2Cc%3D3%2Ct%3D24%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A1 3%3B255%3B3%3B0%3B24%3B1

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

                              VeraEdge:
                              0_1531501461806_11c53ac4-625a-4b5e-8e57-07c5c554f397-image.png
                              0_1531501485787_c5088b75-3b8b-4d51-9fb4-fe73ea3918b2-image.png

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

                                Hi Pete,
                                Do you see anything wrong with gateway, node and vera

                                petewillP 1 Reply Last reply
                                0
                                • L lis610

                                  Hi Pete,
                                  Do you see anything wrong with gateway, node and vera

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

                                  @lis610 sorry, I'm not a place where I can look in depth. It looks like your code isn't communicating with the gateway though. Did you try the line of code above? The device should work with the push button even if it can't communicate with the gateway (with that code).

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

                                    I will come back to the communication issue later.
                                    In your resent code SPI is comment out " //#include <SPI.h> " what is the reason you comment SPI?
                                    The display is not showing anything even with: #define TFT_DISPLAY_ON. and #include <SPI.h>

                                    petewillP H 2 Replies Last reply
                                    0
                                    • L lis610

                                      I will come back to the communication issue later.
                                      In your resent code SPI is comment out " //#include <SPI.h> " what is the reason you comment SPI?
                                      The display is not showing anything even with: #define TFT_DISPLAY_ON. and #include <SPI.h>

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

                                      @lis610 if it can't communicate with the gateway and controller the node will never get to the loop which could be why the display isn't working. The SPI include used to be required for MySensors.

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

                                      1 Reply Last reply
                                      0
                                      • L lis610

                                        I will come back to the communication issue later.
                                        In your resent code SPI is comment out " //#include <SPI.h> " what is the reason you comment SPI?
                                        The display is not showing anything even with: #define TFT_DISPLAY_ON. and #include <SPI.h>

                                        H Offline
                                        H Offline
                                        hard-shovel
                                        wrote on last edited by hard-shovel
                                        #51

                                        @lis610 It seems you have two problems.
                                        1 The radio is not connecting reliably with the gateway and may blocking the display from starting.
                                        There are lots of other messages on troubleshooting radio problems.

                                        2 The Graphic Display is not operating correctly.

                                        For Item one, You eventually need to resolve the radio problem, However as pete stated in his message if you add the following define it will allow the sketch to run, I can confirm this as i have just tested with just a arduino and just a graphics display.

                                        #define MY_TRANSPORT_WAIT_READY_MS 4000 //This will allow the sensor to function if it can't find the gateway when it first starts up
                                        

                                        So if you add this and the display still does not display then you need to test the display connections.

                                        You stated

                                        "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."

                                        So with standard connections the display is working.
                                        So you need to test and get the display working with the adafruit test program using the correct pins required for the house fan program.

                                        Add the following info the adafruit test sketch as option 3 and comment out the options 1 and 2. Wire the graphic display as per the house fan requirements and it should work.

                                        // Option 3: testing pins used in Whole House Fan Node
                                        #define TFT_CS     3
                                        #define TFT_DC     6
                                        #define TFT_MOSI   7
                                        #define TFT_SCLK   8
                                        #define TFT_RST    0  // you can also connect this to the Arduino reset
                                                              // in which case, set this #define pin to 0
                                        
                                        Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);
                                        

                                        If it does not work the same as when connected to the standard connections , then your wiring is in error and need to be changed to make it work before proceeding to the other sketch.

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

                                          Thank you very much. Star Over. Rewire display and change the code. Never thought I would be excited to see the word ”Error” on display :).
                                          I got five NRF24L01+. Two of them are not working at all. Looks like the one on the gateway working ok, but the node is unstable.
                                          Do I need to create an additional device for Fan in Vera or, it will be displayed within the MySensors serial gateway?

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


                                          26

                                          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