Announcement

Collapse
No announcement yet.

1 wire water gauge

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

    1 wire water gauge

    I have a AAG 1 wire weather station and AAG water gauge hooked up to a USB DS9490R.

    The Weather station on it's on works fine and the Water gauge on it's own work fine. When I put it all together the Wind speed stops reporting?
    I have triple checked all the wiring + it was all bought cable.
    I have also tried the same config with another 1 Wire weather application and it all works OK with that software so I know it is not a hardware issue.

    Any ideas?

    Also even though I have selected MM for the rain gauge it still displays in "liter"??

    Thanks Jim
    Last edited by ; June 10, 2006, 03:20 PM.

    #2
    First step is to look at the IO window and see what is being reported from the hardware. You should see 2 DS2423 counters reporting. These are the devices ending in 1D. You will also see a DS2450 which ends in 20 for your wind direction. You may also have a temperature sensor which I believe ends with 10. You can copy and paste the contents of the IO window if there is confusion. If there are any missing then you likely have a physical interference due to the wiring topoogy. If they all report then observe any changes in their values in the IO window.

    Comment


      #3
      OK I can see all of the devices you mentioned in the IO log .
      See attached

      When they are both connected this device which I guess is the wind speed is not changing as before?
      on its own-
      7D000000013E281D Family=DS2423 Counter=43 Counter=41

      with both-
      7D000000013E281D Family=DS2423 Counter=81 Counter=81

      thanks for your help
      jim
      Attached Files

      Comment


        #4
        Each DS2423 will show up as 4 devices. You should have only one counter set to Wind Speed and only one set to Wind Gust. You second channel of the weather instrument's wind counter sould be set to anything other than wind speed and gust and the "X" column should be selected for this second channel so it is not broadcasted on the LAN.

        The other thing you can do is issue a xapbsc.query to ask for the current status of the device that is not reporting and compare the result returned vs the result in the IO log.

        Comment


          #5

          Comment


            #6
            My mistake. I was thinking that the question was about xapmcs1Wire. You should only have 1 wind speed and 1 wind gust. The second channel of the DS2423 counter will not be used. The DS2423 is the part used by AAG for counting pulses associated with the wind speed/gust.

            From what I saw in the log, and based upon how you identified them, I saw the wind speed counter value from the hardware changing, but not the water flow. This is true when both were connected and when only the water flow was connected.

            When mcsTemperature sees a DS2423 device it assumes that the first channel is connected to a wind instrument and the second to a water meter. A DS2423 simply counts pulses and it does now what the pulse respresents. In your case you have two DS2423 devices so a total of 4 counters. Two of these are apparently unused.

            Comment


              #7
              Originally posted by Michael McSharry
              My mistake. I was thinking that the question was about xapmcs1Wire. You should only have 1 wind speed and 1 wind gust.
              So how come I have two of each and how do I get ride of the others? every time I delete one it reappears.


              Originally posted by Michael McSharry
              From what I saw in the log, and based upon how you identified them, I saw the wind speed counter value from the hardware changing, but not the water flow. This is true when both were connected and when only the water flow was connected.
              Originally posted by Michael McSharry
              When mcsTemperature sees a DS2423 device it assumes that the first channel is connected to a wind instrument and the second to a water meter. A DS2423 simply counts pulses and it does now what the pulse respresents. In your case you have two DS2423 devices so a total of 4 counters. Two of these are apparently unused.
              So you are saying that the wind sensor needs to be the first in line from the computer. The weather\wind sensor is at the bottom of the garden and the rain sensor is in between so I would have to run a wire down to the weather station and then back to the rain sensor bit round the wrong way!!

              Thanks for your help,
              Jim

              Comment


                #8
                Both channels of the DS2423 do exist, but you need to only identify one to be a wind counter. The other one can be anything else and the device code for the second channel can be left blank so a Homeseer device is not created.

                The physical location of the sensors does not matter. I was simply trying to indicate that the DS2423 is a generic two-channel counter. When mcsTemperature first sees this counter it defaults its application to wind for the first channel and water for the second. It really has no idea what the DS2423 will be counting, but it guesses at wind and water. In your case this default setting will be fine for the wind instrument since the second channel is not used and having it identified as a water flow counter will not make any difference.

                The second DS2423 that you have will also default to wind and water for channels 1 and 2 respectively until you configure it. I believe you will set channel 1 to also be a water flow counter.

                The Homeseer device codes for the second channel readings of both DS2423's will be set to blank so the HS devices are not updated since the second channel of these two counters is actually not connected to anything of interest.

                Comment


                  #9
                  Getting somewhere.

                  In the setup I removed the device ID for each of the devices that where doubled/not in use.

                  Then I started to get wind speed with them both connected:-)

                  I then rocked the seesaw on the rain sensor and got a reading but the wind speed then stopped I checked back in the setup and the devices had there device codes recreated.

                  So, I need to remove the unwanted device codes but how do I stop them coming back?

                  Here is what was in the log once I rocked the rain sensor.

                  #66 = Water Flow Rate


                  6/12/2006 8:39:44 PM mcsTemperature setio DeviceRef=6862
                  6/12/2006 8:39:44 PM mcsTemperature setio DeviceInterface=mcsTemperature
                  6/12/2006 8:39:44 PM mcsTemperature setio DeviceName=Current Weather Observations 1200000007E5361DC
                  6/12/2006 8:39:44 PM mcsTemperature setio DeviceHCDC=#66
                  6/12/2006 8:39:44 PM mcsTemperature setio ObjectType=DeviceClass
                  6/12/2006 8:39:44 PM mcsTemperature setio Data2=0
                  6/12/2006 8:39:44 PM mcsTemperature setio Data1=0
                  6/12/2006 8:39:44 PM mcsTemperature setio Brightness=0
                  6/12/2006 8:39:44 PM mcsTemperature setio Command=3
                  6/12/2006 8:39:44 PM mcsTemperature setio DeviceCode=66
                  6/12/2006 8:39:44 PM mcsTemperature setio HouseCode=#
                  6/12/2006 8:39:39 PM mcsTemperature setio DeviceRef=6862
                  6/12/2006 8:39:39 PM mcsTemperature setio DeviceInterface=mcsTemperature
                  6/12/2006 8:39:39 PM mcsTemperature setio DeviceName=Current Weather Observations 1200000007E5361DC
                  6/12/2006 8:39:39 PM mcsTemperature setio DeviceHCDC=#66
                  6/12/2006 8:39:39 PM mcsTemperature setio ObjectType=DeviceClass
                  6/12/2006 8:39:39 PM mcsTemperature setio Data2=0
                  6/12/2006 8:39:39 PM mcsTemperature setio Data1=0
                  6/12/2006 8:39:39 PM mcsTemperature setio Brightness=0
                  6/12/2006 8:39:39 PM mcsTemperature setio Command=2
                  6/12/2006 8:39:39 PM mcsTemperature setio DeviceCode=66
                  6/12/2006 8:39:39 PM mcsTemperature setio HouseCode=#

                  thanks
                  Jim

                  Comment


                    #10
                    You cannot delete the devices becauase they are physically present. You can change their meaning and you can leave the HS device code blank. You can use water flow and rate for all of them except the wind. Just make certain you only have 1 wind speed and 1 wind gust.

                    Comment


                      #11
                      I did not delete them I only left there code blank.

                      I have tried redefining them to something else other than wind speed and gust but they still keep comeing back as wind speed and gust???

                      thanks

                      Comment


                        #12
                        Post your \Config\mcsTemperature.ini so I can see how things are configured.

                        Comment


                          #13
                          The devices seem to reappear when I open and update the mcsTemperature setup?
                          they don't reappear when I restart hs. here is a copy of the .ini before and after I open the mcstemperature setup.

                          Thanks
                          Attached Files

                          Comment


                            #14
                            Just noticed it is not just when I close the setup.
                            Here it is in the log seemingly randomly recreating the devices?


                            6/13/2006 7:02:14 PM mcsTemperature Resize Fields: on line 820 Cannot define field more than once.
                            6/13/2006 7:02:14 PM mcsTemperature Database field s1200000007E5361DW is being created
                            6/13/2006 7:02:06 PM Info Device: Sensors Upper office status (z51) OFF

                            Comment


                              #15
                              Give the attached mcsTemperature.inii file a try. I believe the problem is that the second channel of the water counter was defined rather than the fist channel so mcsTemperature believed that the first channel was available and made it a wind speed when it saw the data from the 1-wire.
                              Attached Files

                              Comment

                              Working...
                              X