Announcement

Collapse
No announcement yet.

Where am I going wrong?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Where am I going wrong?

    Running HS3 with MCSSprinkers Pro, latest versions from the downloader (I know Pro is over spec'ed for my setup but I want ot hook in other sensors once I get the basics working).

    I have three areas, with one zone/valve in each area

    I have a master valve that needs to be on whenever any of the area/zonees are on. I have configured the master valve as a Pump and assigned it to each area on the area set up page

    The valves themselves are simply ZWave devices with a House Code / Unit Code set up so I can address them from MCSSprinklers.

    Here's my problem:

    For some reason the Master Valve (pump) is turning On and Off every minute, see log below:

    11/09/2014 18:20:10 Q152 Garage Master Valve ON
    11/09/2014 18:20:11 Q152 Garage Master Valve OFF
    11/09/2014 18:21:08 Q152 Garage Master Valve ON
    11/09/2014 18:21:09 Q152 Garage Master Valve OFF
    11/09/2014 18:22:08 Q152 Garage Master Valve ON
    11/09/2014 18:22:09 Q152 Garage Master Valve OFF

    I don't understand why this would be (it should only come on and off with the zones) and obviously this behaviour is stopping the PI from working.

    Any help pointing me in the right direction of what I am doing wrong would be appreciated!!
    Nicolai L

    #2
    Bump.

    Anyone? I have 14 days left on my trial and I would prefer resolving this before I purchase the plug-in
    Nicolai L

    Comment


      #3
      mcsSprinklers monitors a pump status with the intent to assure pump is not running when no valve is open. I expect the status/value of the Z wave device is not what is expected by mcsSprinklers. Enable the debug from the bottom of the Other Page. Let it run for a few minutes so the pump will cycle between on and off. Write the debug file/disable the debug. Include it and \config\mcsSprinklers.ini as attachment.

      Comment


        #4
        Originally posted by Michael McSharry View Post
        mcsSprinklers monitors a pump status with the intent to assure pump is not running when no valve is open. I expect the status/value of the Z wave device is not what is expected by mcsSprinklers. Enable the debug from the bottom of the Other Page. Let it run for a few minutes so the pump will cycle between on and off. Write the debug file/disable the debug. Include it and \config\mcsSprinklers.ini as attachment.
        I've attached the ini file, but I'm struggling with generating the debug log file.

        When I tick the "Produce Debug Data Files" box and save the page on the Other Setup, the plug-in the redirects me to the "General Status" page (witha url of /other).

        When I return to "Other Setup" the debug tick box is unticked. Although there is a debug file, (Current Debug Size is 0.008 Megabytes) I can't seem to write it anywhere. When I click on "Write Current Debug Data File" button, nothing much seem to happen and I am now again redirected to the "General Status" page (even though the URL in still /other.
        Attached Files
        Nicolai L

        Comment


          #5
          Hi Michael

          Any ideas on how I can generate the debug file for you? As you can see from above something appears to be preventing me from doing so?
          Nicolai L

          Comment


            #6
            So I had the "bright" idea of trying with IE10 instead of Chrome and the mcsSprinklers pages now load correctly. Attached is a zip file with the ini file and debug log as requested.

            Hopefully that will enable you to find the issues with the pump/master valve going on/off constantly.
            Attached Files
            Nicolai L

            Comment


              #7
              First thing I notice is mcsSprinklers is expecting the HS1/HS2 convention of House code followed by no more than a two digit unit code. You are using Qxxx.

              I see the following
              Note the following sequence where the pump is commanded ON then OFF as a result of a device change callback.
              Code:
              17/09/2014 07:43:09 635465365895600079 | mcsSprinklers Debug | ManagePump Area 0 turned pump on when zone needs to be on, but pump is now off 
              17/09/2014 07:43:09 635465365895600079 | mcsSprinklers Debug | CommonExecX10, Rain8NetUPB HouseCode=R, Device=Q152, State=ON, rtoX10CollectionCount=0, iType=4
              17/09/2014 07:43:09 635465365895600079 | mcsSprinklers Debug | LogAction INSERT INTO Log (SampleDate,Device,Status) SELECT #2014-09-17 07:43:09# AS QT,"Q152" AS Q1,"ON" AS Q2
              17/09/2014 07:43:10 635465365900600337 | mcsSprinklers Debug | AddAction Q152=on, Dur=0, Path=10
              17/09/2014 07:43:10 635465365900600337 | mcsSprinklers Debug | LogValveAction Q152=on, Path=2
              17/09/2014 07:43:10 635465365900600337 | mcsSprinklers Debug | Log Discrete INSERT INTO dQ152 (SampleDate,Discrete) SELECT #2014-09-17 07:43:10# AS QT,1 AS Q1
              17/09/2014 07:43:10 635465365900600337 | mcsSprinklers Debug | Commanding Q152 to 255, is an Ailias=False,LastChange=17/09/2014 07:43:09, Status=255
              17/09/2014 07:43:10 635465365900600337 | mcsSprinklers Debug | Zone Manual On=False, zones ubound=2, alias zone=-1, StatusRespone=False, iX10CommandedZone=-1, iX10CommandedStatus=-1, iStatus=255, iZone=-1
              17/09/2014 07:43:10 635465365902944184 | mcsSprinklers Debug | CommonExecX10, Rain8NetUPB HouseCode=R, Device=Q152, State=OFF, rtoX10CollectionCount=0, iType=4
              17/09/2014 07:43:10 635465365902944184 | mcsSprinklers Debug | LogAction INSERT INTO Log (SampleDate,Device,Status) SELECT #2014-09-17 07:43:10# AS QT,"Q152" AS Q1,"OFF" AS Q2
              17/09/2014 07:43:11 635465365910600809 | mcsSprinklers Debug | Commanding Q152 to 0, is an Ailias=False,LastChange=17/09/2014 07:43:10, Status=0
              17/09/2014 07:43:11 635465365910600809 | mcsSprinklers Debug | Zone Manual On=False, zones ubound=2, alias zone=-1, StatusRespone=False, iX10CommandedZone=-1, iX10CommandedStatus=-1, iStatus=0, iZone=-1
              1
              To have a chance for this to work your unit codes are going to need to be changed to two rather than three digits. That way mcsSprinklers will have a chance of finding the device and getting a status that is real.

              Comment


                #8
                OK. I've changed the address for the valves to V10 - V13 (Master Valve is on V10).

                Things are a little better. I know repeatedly get this in the log every minute:
                mcsSprinklers V10(Garage Master Valve) OFF

                This is despite NOT ticking the setting in the interview: "Repeat Pump OFF every minute"

                When I try to manually start a zone from the Zone Status page I then see several ON commands for the zone I'm starting (including one which is "External"), but NO ON commands for the Master Valve. However the OFF commands for the Master Valve continues:

                Sep-18 17:36:11 mcsSprinklers V10(Garage Master Valve) OFF
                Sep-18 17:36:04 mcsSprinklers V11(Garage Sprinklers) ON
                Sep-18 17:35:21 mcsSprinklers V10(Garage Master Valve) OFF
                Sep-18 17:35:18 mcsSprinklers V11(Garage Sprinklers) ON
                Sep-18 17:35:12 mcsSprinklers V10(Garage Master Valve) OFF
                Sep-18 17:35:08 mcsSprinklers V11(Garage Sprinklers) ON
                Sep-18 17:35:06 mcsSprinklers V11(Garage Sprinklers) External ON
                Sep-18 17:34:58 mcsSprinklers V10(Garage Master Valve) OFF
                Sep-18 17:34:54 mcsSprinklers V11(Garage Sprinklers) ON
                Sep-18 17:34:47 mcsSprinklers V10(Garage Master Valve) OFF
                Sep-18 17:34:43 mcsSprinklers V11(Garage Sprinklers) ON
                Sep-18 17:34:07 mcsSprinklers V10(Garage Master Valve) OFF


                When I stop the manual cycle there is NO command in the log to suggest the Zone valve is being closed (and indeed when I look at the device status the device is still ON).

                I also noticed for some reason the other two zone valves have had a value of 97 set by the plug-in at some point. Not sure why, but thought I'd mention it here.

                I have uploaded fresh log and ini files for your perusal. Hope you can help me get through these initial troubles.
                Attached Files
                Nicolai L

                Comment


                  #9
                  Hi Michael,

                  Any more thoughts on how I can get this plug-in working with my zwave devices?

                  Thanks
                  Nicolai
                  Nicolai L

                  Comment


                    #10
                    I am almost ready to post a new version that should handle the zware/virtual devices. I am trying to cover the BreakerRain as well and looking for some info on it.

                    Comment


                      #11
                      Sounds great. If you need a beta tester I'm more than willing.
                      Nicolai L

                      Comment


                        #12
                        I decided to not wait for BreakerRain and put .17 in the updater. I believe it should work with your Zwave devices. If not we can debug.

                        Comment


                          #13
                          Thanks - I've tried downloading from the updated but I keep getting the following error:

                          Error downloading file: The remote server returned an error: (404) Not Found.
                          Nicolai L

                          Comment


                            #14
                            My mistake on the filename. Should be good now.

                            Comment


                              #15
                              Got it thanks. Installed and at first pass looks good. I'll do a bit more testing tomorrow during day time when I can actually see what goes on with the sprinklers.
                              Nicolai L

                              Comment

                              Working...
                              X