Announcement

Collapse
No announcement yet.

Soil moisture opinion

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

    #16
    Originally posted by Michael McSharry View Post
    On the 14th their was rain. Is there are rain or rain forecast inhibit to prevent on the 14th? Do you happen to have the debug log for the day that moisture went to 200%?
    On 14th there was 0.47 inch of rain (on the screenshot in previous post). From the chart of moisture % for that day, it started around 30% (my trigger for watering cycle is 0%), so it wouldn't have trigger a watering cycle anyway, with or without the rain.

    How do I pull the debug file from that day?

    Comment


      #17
      The Other page contains the debug. If you had not previously enabled it then it will not have been collected. One file is created per day or upon restart.

      Comment


        #18
        Got it. I will enable debug, pour some water into rain sensor and see if I can reproduce this problem. Thank you Michael.

        Comment


          #19
          Originally posted by Michael McSharry View Post
          The Other page contains the debug. If you had not previously enabled it then it will not have been collected. One file is created per day or upon restart.
          Michael, I reproduced this problem again today: early today (July 23rd) it rained for 0.11 inch, calculated moisture went from 74% to 124%. No watering cycle was run during that time. I also attached debug file.
          Attached Files

          Comment


            #20
            Rain reported of 0.08 @ 2:07 changed moisture from .74 to .82
            Code:
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | RainLastHour=8
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(0) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(1) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(2) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(3) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(4) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(5) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=-0.1077702
            7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(6) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.2122298
            7/23/2017 2:07:02 AM 636363724220411250 | mcsSprinklers Debug | DeviceValue ^82=0
            7/23/2017 2:07:02 AM 636363724220411250 | mcsSprinklers Debug | Log Sprinkler=INSERT INTO tblsprinklers
            (SampleDate,a9525Moisture____I,a9525MinutesCum__I,a9526Moisture____I,a9526MinutesCum__I,a9527Moisture____I,a9527MinutesCum__I,a9528Moisture____I,a9528MinutesCum__I,a9531Moisture____I,a9531MinutesCum__I,a9530Moisture____I,a9530MinutesCum__I,a9529Moisture____I,a9529MinutesCum__I) 
            VALUES(#2017-07-23 02:07:02#,
            82,353100,
            82,320800,
            82,343000,
            82,297900,
            82,299100,
            -3,417200,
            29,358200)
            Another 0.08 reported @ 3:07. This changed moisture from .82 to .90

            Code:
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | RainLastHour=8
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(0) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(1) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(2) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(3) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(4) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(5) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=-0.02777024
            7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(6) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.2922298
            7/23/2017 3:07:02 AM 636363760221505000 | mcsSprinklers Debug | DeviceValue ^82=0
            7/23/2017 3:07:02 AM 636363760221505000 | mcsSprinklers Debug | Log Sprinkler=INSERT INTO tblsprinklers(SampleDate,a9525Moisture____I,a9525MinutesCum__I,a9526Moisture____I,a9526MinutesCum__I,a9527Moisture____I,a9527MinutesCum__I,a9528Moisture____I,a9528MinutesCum__I,a9531Moisture____I,a9531MinutesCum__I,a9530Moisture____I,a9530MinutesCum__I,a9529Moisture____I,a9529MinutesCum__I) 
            VALUES(#2017-07-23 03:07:02#,
            90,353100,
            90,320800,
            90,343000,
            90,297900,
            90,299100,
            5,417200,
            37,358200)
            I did not look any further but is looks to be how the site is reporting rainfall vs. how you have mcsSprinklers setup. The setup looks like mcsSprinklers is expecting hourly rainfall amounts. Your site likely is reporting daily amounts. mcsSprinklers can accept daily, but needs to be setup for this on Weather Setup page.

            Do note the following where the reported rainfall at 5 AM was 0. If it was reporting daily then it should have been reporting 8 until the additional 3 (0.11) was received. It does report 11 at 6:07 AM. I suspect this lack of consistency could cause some rainfall calculation errors.
            Code:
            7/23/2017 5:07:01 AM 636363832217130000 | mcsSprinklers Debug | RainLastHour=0

            Comment


              #21
              Originally posted by Michael McSharry View Post
              Rain reported of 0.08 @ 2:07 changed moisture from .74 to .82
              Code:
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | RainLastHour=8
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(0) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(1) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(2) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(3) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(4) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.74
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(5) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=-0.1077702
              7/23/2017 2:07:01 AM 636363724216817500 | mcsSprinklers Debug | ComputeMoistureLevel(6) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.2122298
              7/23/2017 2:07:02 AM 636363724220411250 | mcsSprinklers Debug | DeviceValue ^82=0
              7/23/2017 2:07:02 AM 636363724220411250 | mcsSprinklers Debug | Log Sprinkler=INSERT INTO tblsprinklers
              (SampleDate,a9525Moisture____I,a9525MinutesCum__I,a9526Moisture____I,a9526MinutesCum__I,a9527Moisture____I,a9527MinutesCum__I,a9528Moisture____I,a9528MinutesCum__I,a9531Moisture____I,a9531MinutesCum__I,a9530Moisture____I,a9530MinutesCum__I,a9529Moisture____I,a9529MinutesCum__I) 
              VALUES(#2017-07-23 02:07:02#,
              82,353100,
              82,320800,
              82,343000,
              82,297900,
              82,299100,
              -3,417200,
              29,358200)
              Another 0.08 reported @ 3:07. This changed moisture from .82 to .90

              Code:
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | RainLastHour=8
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(0) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(1) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(2) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(3) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(4) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.82
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(5) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=-0.02777024
              7/23/2017 3:07:01 AM 636363760217442500 | mcsSprinklers Debug | ComputeMoistureLevel(6) ET=0, Rain=0.08, Delta=-0.08, OldMoisture=0.2922298
              7/23/2017 3:07:02 AM 636363760221505000 | mcsSprinklers Debug | DeviceValue ^82=0
              7/23/2017 3:07:02 AM 636363760221505000 | mcsSprinklers Debug | Log Sprinkler=INSERT INTO tblsprinklers(SampleDate,a9525Moisture____I,a9525MinutesCum__I,a9526Moisture____I,a9526MinutesCum__I,a9527Moisture____I,a9527MinutesCum__I,a9528Moisture____I,a9528MinutesCum__I,a9531Moisture____I,a9531MinutesCum__I,a9530Moisture____I,a9530MinutesCum__I,a9529Moisture____I,a9529MinutesCum__I) 
              VALUES(#2017-07-23 03:07:02#,
              90,353100,
              90,320800,
              90,343000,
              90,297900,
              90,299100,
              5,417200,
              37,358200)
              I did not look any further but is looks to be how the site is reporting rainfall vs. how you have mcsSprinklers setup. The setup looks like mcsSprinklers is expecting hourly rainfall amounts. Your site likely is reporting daily amounts. mcsSprinklers can accept daily, but needs to be setup for this on Weather Setup page.

              Do note the following where the reported rainfall at 5 AM was 0. If it was reporting daily then it should have been reporting 8 until the additional 3 (0.11) was received. It does report 11 at 6:07 AM. I suspect this lack of consistency could cause some rainfall calculation errors.
              Code:
              7/23/2017 5:07:01 AM 636363832217130000 | mcsSprinklers Debug | RainLastHour=0
              How do you explain this screen shot? I attached it previously, attached again with numbers highlighted: starting moisture 74%, ending 134%, daily rainfall 0.11 inch.

              Rain data is from my own sensor (an Oregon through RFXCom, reporting daily rainfall). mscSpringkler is already setup to accept daily rainfall. Please see screenshot of weather setup screen.
              Attached Files

              Comment


                #22
                Is "RainLastHour" entry in the debug file hourly rainfall? In weather setup I selected daily, is there a different field for it in debug file?

                Comment


                  #23
                  Since you are setup correctly the next step is to look at why mcsSprinklers is computing the hourly rainfall to have multiple hours of 0.08 which is causing the hourly moisture content to ratchet up.

                  Comment


                    #24
                    Originally posted by Michael McSharry View Post
                    Since you are setup correctly the next step is to look at why mcsSprinklers is computing the hourly rainfall to have multiple hours of 0.08 which is causing the hourly moisture content to ratchet up.
                    I can't find daily rainfall data in the debug file. When mcsSprinklers is setup correctly to use daily rainfall, do you expect the debug file to contain daily rainfall data instead (in addition to) hourly?

                    Comment


                      #25
                      My data is from an Oregon PCR800 through RFXCom plugin. That plugin has a virtual device that accumulates increment rainfall data from PCR800 to get a total daily rainfall. This daily number keeps going up (if it rains) then at midnight resets to zero.

                      Should mcsSprinklers be set to use "incremental" instead of "daily"?

                      Comment


                        #26
                        The last hour rain is obtained from the database. It queries the daily rainfall readings from the database between 150 minutes ago to 30 minutes ago and looks at the result ordered by most current to oldest date.

                        Total for the day is the first reading from the query
                        The next reading at least 30 minutes older is used as the amount of rain that existed at the prior hour
                        The difference between the two is the rain that is computed for the last hour

                        I can add debug to look at your data from the database. It is looking like there are recordings of 0 interspersed between your daily accumulation readings. Do you have the ability to look at the database Sensor table Rain field? For Access it is normally in the \data\mcsSprinklers folder. For SQLite it is normally in the HS3 root folder. For MySQL and SQL Server they are not files but managed separately. There should be about one entry per hour.

                        Comment


                          #27
                          I am confused: I see only one rain data field in the debug file call "RainLastHour". Is that value calculated by the plug in by looking at the change of accumulated daily rainfall (which is fed from sensor) during an hour?

                          Comment


                            #28
                            yes. It determines it by looking at the recent past in the database. Now we need to understand why the database has values that result in the wrong result in the algorithm used to discern the last hour of rainfall.

                            Comment


                              #29
                              Originally posted by Michael McSharry View Post
                              yes. It determines it by looking at the recent past in the database. Now we need to understand why the database has values that result in the wrong result in the algorithm used to discern the last hour of rainfall.
                              I attached data extracted from mcsSprinklers.mbd file. The data on July 23 ("rain" column) looks normal.
                              Attached Files
                              Last edited by cjin; July 25, 2017, 09:50 PM.

                              Comment


                                #30
                                Michael, any update on this? Thanks

                                Comment

                                Working...
                                X