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. My Project
  3. Irrigation Controller (up to 16 valves with Shift Registers)

Irrigation Controller (up to 16 valves with Shift Registers)

Scheduled Pinned Locked Moved My Project
371 Posts 56 Posters 247.8k Views 52 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.
  • T treb0r

    @BulldogLowell
    HI
    Thanks for the post. On LCD there is no info about Time Synchronisation fail. It stops, as previously on info: Updating Valve : 0
    So I cant check if the RTC is working
    treb0r

    BulldogLowellB Offline
    BulldogLowellB Offline
    BulldogLowell
    Contest Winner
    wrote on last edited by
    #79

    @treb0r

    did you get your RTC connected and tested?

    T 1 Reply Last reply
    0
    • BulldogLowellB BulldogLowell

      @treb0r

      did you get your RTC connected and tested?

      T Offline
      T Offline
      treb0r
      wrote on last edited by
      #80

      @BulldogLowell
      Yes, RTC is connected and tested with different sketches (just to check if RTC work correctly). Works ok.
      With your correctes projects, as above mentioned: On LCD there is no info neither about Time Synchronisation, nor about Time Synchronisation fail. It stops, as previously on info: Updating Valve : 0
      treb0r

      1 Reply Last reply
      0
      • BulldogLowellB Offline
        BulldogLowellB Offline
        BulldogLowell
        Contest Winner
        wrote on last edited by
        #81

        Yes, since clock no longer needs to call server for time, synchronizing is not necessary.

        You should post serial output or show a video.

        Did you find out if Domoticz supports V_VAR1?

        T 1 Reply Last reply
        0
        • BulldogLowellB BulldogLowell

          Yes, since clock no longer needs to call server for time, synchronizing is not necessary.

          You should post serial output or show a video.

          Did you find out if Domoticz supports V_VAR1?

          T Offline
          T Offline
          treb0r
          wrote on last edited by
          #82

          @BulldogLowell
          OK, I will post the video. If I will manage I will also post serial output
          treb0r

          Moshe LivneM 1 Reply Last reply
          0
          • T treb0r

            @BulldogLowell
            OK, I will post the video. If I will manage I will also post serial output
            treb0r

            Moshe LivneM Offline
            Moshe LivneM Offline
            Moshe Livne
            Hero Member
            wrote on last edited by
            #83

            @treb0r @BulldogLowel I had a chance to play a little bit with VAR1 this weekend. I verified that if you declare MyMessage var(CHILD_ID, V_VAR1); you can set it with gw.send(var.set("hello")); and request its value from the gateway using gw.request(CHILD_ID, V_VAR1);. you will get the answer in the incoming message handler under the V_VAR1 message

               if (message.type==V_VAR1) {
               	 Serial.println("got var1 answer");
               	 Serial.println(message.getString());
               }
            

            However I still didn't manage to find how to access or show these values on the domoticz. their site crashed so couldn't ask this in the forum

            1 Reply Last reply
            0
            • epierreE Offline
              epierreE Offline
              epierre
              Hero Member
              wrote on last edited by
              #84

              @Moshe-Livne Domoticz (as of today) doesn't support V_VARx ...

              z-wave - Vera -> Domoticz
              rfx - Domoticz <- MyDomoAtHome <- Imperihome
              mysensors -> mysensors-gw -> Domoticz

              Moshe LivneM 1 Reply Last reply
              0
              • epierreE epierre

                @Moshe-Livne Domoticz (as of today) doesn't support V_VARx ...

                Moshe LivneM Offline
                Moshe LivneM Offline
                Moshe Livne
                Hero Member
                wrote on last edited by
                #85

                @epierre it does but in a strange way. The vars are not display vars. They are stored in the db and can be fetched and set only by the sensor. Tried it, it works....

                1 Reply Last reply
                0
                • epierreE Offline
                  epierreE Offline
                  epierre
                  Hero Member
                  wrote on last edited by
                  #86

                  @Moshe-Livne this is not what @GizMoCuz said in a post... strange...

                  z-wave - Vera -> Domoticz
                  rfx - Domoticz <- MyDomoAtHome <- Imperihome
                  mysensors -> mysensors-gw -> Domoticz

                  Moshe LivneM 1 Reply Last reply
                  0
                  • epierreE epierre

                    @Moshe-Livne this is not what @GizMoCuz said in a post... strange...

                    Moshe LivneM Offline
                    Moshe LivneM Offline
                    Moshe Livne
                    Hero Member
                    wrote on last edited by
                    #87

                    @epierre can you please link to the post?

                    1 Reply Last reply
                    0
                    • epierreE Offline
                      epierreE Offline
                      epierre
                      Hero Member
                      wrote on last edited by
                      #88

                      here it is:

                      http://www.domoticz.com/forum/viewtopic.php?f=42&t=7187&p=48366&hilit=v_var#p48366

                      z-wave - Vera -> Domoticz
                      rfx - Domoticz <- MyDomoAtHome <- Imperihome
                      mysensors -> mysensors-gw -> Domoticz

                      Moshe LivneM 1 Reply Last reply
                      0
                      • epierreE epierre

                        here it is:

                        http://www.domoticz.com/forum/viewtopic.php?f=42&t=7187&p=48366&hilit=v_var#p48366

                        Moshe LivneM Offline
                        Moshe LivneM Offline
                        Moshe Livne
                        Hero Member
                        wrote on last edited by
                        #89

                        @epierre He meant in the sense that it does not display or use it for anything. he said there "it is used to store/retrieve variables". The thread was about the option to show the vars as part of the sensor output. for storing and retrieving, it works.... verified.... I might get annoyed enough to add to the code that the lua script can also retrieve these vars and then it would be sweet.....

                        1 Reply Last reply
                        0
                        • epierreE Offline
                          epierreE Offline
                          epierre
                          Hero Member
                          wrote on last edited by
                          #90

                          ok good although it was not explicit... now I'll have to go back to him about water meter that heavily use V_VARs but is recognized.... as a power meter...

                          z-wave - Vera -> Domoticz
                          rfx - Domoticz <- MyDomoAtHome <- Imperihome
                          mysensors -> mysensors-gw -> Domoticz

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            moffen666
                            wrote on last edited by
                            #91

                            Hello
                            And thx for a nice forum, I did build the irrigation controller and tried to connect it to Domoticz. Everything just seems fine, LCD works, push button works and I can turn on the irrigation from Domoticz and it shows in the LCD.

                            But the problem is that it doesn't switch the relays on, it just says "no valve time" and then go watering cycle complete.

                            Any suggestions on what the problem might be...... Domoticz?

                            Regards

                            BulldogLowellB 1 Reply Last reply
                            0
                            • M moffen666

                              Hello
                              And thx for a nice forum, I did build the irrigation controller and tried to connect it to Domoticz. Everything just seems fine, LCD works, push button works and I can turn on the irrigation from Domoticz and it shows in the LCD.

                              But the problem is that it doesn't switch the relays on, it just says "no valve time" and then go watering cycle complete.

                              Any suggestions on what the problem might be...... Domoticz?

                              Regards

                              BulldogLowellB Offline
                              BulldogLowellB Offline
                              BulldogLowell
                              Contest Winner
                              wrote on last edited by
                              #92

                              @moffen666

                              I don't have Domoticz but I suspect that the callback isn't functioning.

                              try populating the array with the desired times for each sequence. replace this:

                              int allZoneTime [NUMBER_OF_VALVES + 1];
                              int valveSoloTime [NUMBER_OF_VALVES + 1];
                              

                              with something like this:

                              int allZoneTime [NUMBER_OF_VALVES + 1] = {0, 10, 10, 10, 5,<... how many valves you have with zero in the first position>} ;
                              int valveSoloTime [NUMBER_OF_VALVES + 1] = {0, 5, 5, 5, 5,<... how many valves you have with zero in the first position>};
                              

                              This will load in the times that the program uses as your 'default' values. Then, you can check with Domoticz experts on getting the V_VAR variables working.

                              fusion_manF 1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                moffen666
                                wrote on last edited by
                                #93

                                Thx Bulldog
                                I will check asap and get back with the result.

                                Regards

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  moffen666
                                  wrote on last edited by
                                  #94

                                  Hi
                                  I tried the code but it didn't compile, and I'm not good enough to be sure whats wrong.

                                  I did try change the code and I did get it to compile, but I don't know if I got it right. You can see the lame attempt below the colored line.

                                  upload-956d60c8-6d6d-44b7-abdb-015f701c65dc

                                  BulldogLowellB 1 Reply Last reply
                                  0
                                  • M moffen666

                                    Hi
                                    I tried the code but it didn't compile, and I'm not good enough to be sure whats wrong.

                                    I did try change the code and I did get it to compile, but I don't know if I got it right. You can see the lame attempt below the colored line.

                                    upload-956d60c8-6d6d-44b7-abdb-015f701c65dc

                                    BulldogLowellB Offline
                                    BulldogLowellB Offline
                                    BulldogLowell
                                    Contest Winner
                                    wrote on last edited by BulldogLowell
                                    #95

                                    @moffen666

                                    Clearly you understand that you are to put the times for each of the valve zones, led by a zero into the array, and not copy my verbatim instructions...

                                    How many valves do you have? You need that many (plus one) integer numbers separated by commas...

                                    Example 8 valves:

                                    ...= {0,5,5,5,5,5,5,5,5};

                                    You've commented out the wrong lines.

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      moffen666
                                      wrote on last edited by
                                      #96

                                      Thx for the quick answer

                                      I use 4 valves atm, I tried your suggestion but it seems it wont work for me.

                                      upload-edb305b1-3dc3-4afd-ae02-e2e779452d18

                                      Regards

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        moffen666
                                        wrote on last edited by
                                        #97

                                        The inserted values in the array works from start, but it looks like the irrigation controller immediately starts to request valve data from the controller for variable1 and 2. As we cant set variable1 and 2 in Domoticz I guess it returns 0 and overwrite the inserted values in the arrays...or is it anything else happening?

                                        Initialising...
                                        Turning All Valves Off...
                                        Unable to sync with the RTC
                                        Checking EEPROM for stored date:
                                        Retreiving last run time from EEPROM...
                                        send: 7-7-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=ok:1.5
                                        send: 7-7-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
                                        read: 0-0-7 s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                        sensor started, id=7, parent=0, distance=1
                                        send: 7-7-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=ok:MySprinkler
                                        send: 7-7-0-0 s=255,c=3,t=12,pt=0,l=6,sg=0,st=ok:2.0nsr
                                        send: 7-7-0-0 s=0,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                        send: 7-7-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                        send: 7-7-0-0 s=2,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                        send: 7-7-0-0 s=3,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                        send: 7-7-0-0 s=4,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                        Sensor Presentation Complete
                                        Ready...
                                        Calling for Valve 0 Data...
                                        send: 7-7-0-0 s=0,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=0,c=2,t=24,pt=0,l=0,sg=0:
                                        Recieved variable1 valve:0 = 0
                                        send: 7-7-0-0 s=0,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=0,c=2,t=25,pt=0,l=0,sg=0:
                                        Recieved variable2 valve:0 = 0
                                        send: 7-7-0-0 s=0,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=0,c=2,t=26,pt=0,l=0,sg=0:
                                        No Name Recieved for zone 0
                                        Calling for Valve 1 Data...
                                        send: 7-7-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=1,c=2,t=24,pt=0,l=0,sg=0:
                                        Recieved variable1 valve:1 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 1 group time: 0
                                        Zone 2 individual time: 1 group time: 1
                                        Zone 3 individual time: 1 group time: 1
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=1,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=1,c=2,t=25,pt=0,l=0,sg=0:
                                        Recieved variable2 valve:1 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 1 group time: 1
                                        Zone 3 individual time: 1 group time: 1
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=1,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=1,c=2,t=26,pt=0,l=0,sg=0:
                                        No Name Recieved for zone 1
                                        Calling for Valve 2 Data...
                                        send: 7-7-0-0 s=2,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=2,c=2,t=24,pt=0,l=0,sg=0:
                                        Recieved variable1 valve:2 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 1 group time: 0
                                        Zone 3 individual time: 1 group time: 1
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=2,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=2,c=2,t=25,pt=0,l=0,sg=0:
                                        Recieved variable2 valve:2 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 0 group time: 0
                                        Zone 3 individual time: 1 group time: 1
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=2,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=2,c=2,t=26,pt=0,l=0,sg=0:
                                        No Name Recieved for zone 2
                                        Calling for Valve 3 Data...
                                        send: 7-7-0-0 s=3,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=3,c=2,t=24,pt=0,l=0,sg=0:
                                        Recieved variable1 valve:3 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 0 group time: 0
                                        Zone 3 individual time: 1 group time: 0
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=3,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=3,c=2,t=25,pt=0,l=0,sg=0:
                                        Recieved variable2 valve:3 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 0 group time: 0
                                        Zone 3 individual time: 0 group time: 0
                                        Zone 4 individual time: 1 group time: 1
                                        send: 7-7-0-0 s=3,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=3,c=2,t=26,pt=0,l=0,sg=0:
                                        No Name Recieved for zone 3
                                        Calling for Valve 4 Data...
                                        send: 7-7-0-0 s=4,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=4,c=2,t=24,pt=0,l=0,sg=0:
                                        Recieved variable1 valve:4 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 0 group time: 0
                                        Zone 3 individual time: 0 group time: 0
                                        Zone 4 individual time: 1 group time: 0
                                        send: 7-7-0-0 s=4,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=4,c=2,t=25,pt=0,l=0,sg=0:
                                        Recieved variable2 valve:4 = 0
                                        New Zone Times Recieved...
                                        Zone 1 individual time: 0 group time: 0
                                        Zone 2 individual time: 0 group time: 0
                                        Zone 3 individual time: 0 group time: 0
                                        Zone 4 individual time: 0 group time: 0
                                        send: 7-7-0-0 s=4,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                        read: 0-0-7 s=4,c=2,t=26,pt=0,l=0,sg=0:
                                        No Name Recieved for zone 4
                                        
                                        BulldogLowellB 1 Reply Last reply
                                        0
                                        • M moffen666

                                          The inserted values in the array works from start, but it looks like the irrigation controller immediately starts to request valve data from the controller for variable1 and 2. As we cant set variable1 and 2 in Domoticz I guess it returns 0 and overwrite the inserted values in the arrays...or is it anything else happening?

                                          Initialising...
                                          Turning All Valves Off...
                                          Unable to sync with the RTC
                                          Checking EEPROM for stored date:
                                          Retreiving last run time from EEPROM...
                                          send: 7-7-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=ok:1.5
                                          send: 7-7-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
                                          read: 0-0-7 s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                          sensor started, id=7, parent=0, distance=1
                                          send: 7-7-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=ok:MySprinkler
                                          send: 7-7-0-0 s=255,c=3,t=12,pt=0,l=6,sg=0,st=ok:2.0nsr
                                          send: 7-7-0-0 s=0,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                          send: 7-7-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                          send: 7-7-0-0 s=2,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                          send: 7-7-0-0 s=3,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                          send: 7-7-0-0 s=4,c=0,t=3,pt=0,l=0,sg=0,st=ok:
                                          Sensor Presentation Complete
                                          Ready...
                                          Calling for Valve 0 Data...
                                          send: 7-7-0-0 s=0,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=0,c=2,t=24,pt=0,l=0,sg=0:
                                          Recieved variable1 valve:0 = 0
                                          send: 7-7-0-0 s=0,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=0,c=2,t=25,pt=0,l=0,sg=0:
                                          Recieved variable2 valve:0 = 0
                                          send: 7-7-0-0 s=0,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=0,c=2,t=26,pt=0,l=0,sg=0:
                                          No Name Recieved for zone 0
                                          Calling for Valve 1 Data...
                                          send: 7-7-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=1,c=2,t=24,pt=0,l=0,sg=0:
                                          Recieved variable1 valve:1 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 1 group time: 0
                                          Zone 2 individual time: 1 group time: 1
                                          Zone 3 individual time: 1 group time: 1
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=1,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=1,c=2,t=25,pt=0,l=0,sg=0:
                                          Recieved variable2 valve:1 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 1 group time: 1
                                          Zone 3 individual time: 1 group time: 1
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=1,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=1,c=2,t=26,pt=0,l=0,sg=0:
                                          No Name Recieved for zone 1
                                          Calling for Valve 2 Data...
                                          send: 7-7-0-0 s=2,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=2,c=2,t=24,pt=0,l=0,sg=0:
                                          Recieved variable1 valve:2 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 1 group time: 0
                                          Zone 3 individual time: 1 group time: 1
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=2,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=2,c=2,t=25,pt=0,l=0,sg=0:
                                          Recieved variable2 valve:2 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 0 group time: 0
                                          Zone 3 individual time: 1 group time: 1
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=2,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=2,c=2,t=26,pt=0,l=0,sg=0:
                                          No Name Recieved for zone 2
                                          Calling for Valve 3 Data...
                                          send: 7-7-0-0 s=3,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=3,c=2,t=24,pt=0,l=0,sg=0:
                                          Recieved variable1 valve:3 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 0 group time: 0
                                          Zone 3 individual time: 1 group time: 0
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=3,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=3,c=2,t=25,pt=0,l=0,sg=0:
                                          Recieved variable2 valve:3 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 0 group time: 0
                                          Zone 3 individual time: 0 group time: 0
                                          Zone 4 individual time: 1 group time: 1
                                          send: 7-7-0-0 s=3,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=3,c=2,t=26,pt=0,l=0,sg=0:
                                          No Name Recieved for zone 3
                                          Calling for Valve 4 Data...
                                          send: 7-7-0-0 s=4,c=2,t=24,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=4,c=2,t=24,pt=0,l=0,sg=0:
                                          Recieved variable1 valve:4 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 0 group time: 0
                                          Zone 3 individual time: 0 group time: 0
                                          Zone 4 individual time: 1 group time: 0
                                          send: 7-7-0-0 s=4,c=2,t=25,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=4,c=2,t=25,pt=0,l=0,sg=0:
                                          Recieved variable2 valve:4 = 0
                                          New Zone Times Recieved...
                                          Zone 1 individual time: 0 group time: 0
                                          Zone 2 individual time: 0 group time: 0
                                          Zone 3 individual time: 0 group time: 0
                                          Zone 4 individual time: 0 group time: 0
                                          send: 7-7-0-0 s=4,c=2,t=26,pt=0,l=0,sg=0,st=ok:
                                          read: 0-0-7 s=4,c=2,t=26,pt=0,l=0,sg=0:
                                          No Name Recieved for zone 4
                                          
                                          BulldogLowellB Offline
                                          BulldogLowellB Offline
                                          BulldogLowell
                                          Contest Winner
                                          wrote on last edited by
                                          #98

                                          @moffen666

                                          try commenting out this in setup():

                                          /*
                                          for (byte i = 0; i <= NUMBER_OF_VALVES; i++)
                                            {
                                              pinMode(relayPin[i], OUTPUT);
                                              lcd.print(F(" Updating  "));
                                              lcd.setCursor(0, 1);
                                              lcd.print(F(" Valve Data: "));
                                              lcd.print(i);
                                              boolean flashIcon = false;
                                              DEBUG_PRINT(F("Calling for Valve "));
                                              DEBUG_PRINT(i);
                                              DEBUG_PRINTLN(F(" Data..."));
                                              while (gw.process() == false)
                                              {
                                                lcd.setCursor(15, 0);
                                                flashIcon = !flashIcon;
                                                flashIcon ? lcd.write(byte(1)) : lcd.print(F(" "));
                                                gw.request(i, V_VAR1);
                                                delay(100);
                                              }
                                              while (gw.process() == false)
                                              {
                                                lcd.setCursor(15, 0);
                                                flashIcon = !flashIcon;
                                                flashIcon ? lcd.write(byte(1)) : lcd.print(F(" "));
                                                gw.request(i, V_VAR2);
                                                delay(100);
                                              }
                                              while (gw.process() == false)
                                              {
                                                lcd.setCursor(15, 0);
                                                flashIcon = !flashIcon;
                                                flashIcon ? lcd.write(byte(1)) : lcd.print(F(" "));
                                                gw.request(i, V_VAR3);
                                                delay(100);
                                              }
                                            }*/
                                          

                                          and this in loop():

                                          //goGetValveTimes();
                                          

                                          That will disable those callbacks and you should be OK with a HardCoded time table for the valves and valve names.

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


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          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