Announcement

Collapse
No announcement yet.

DS2450-Wind Direction not working

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

    DS2450-Wind Direction not working

    Everything has been working perfectly for months now. Lately we have gotten into the thunderstorm season here and for safety I unplug my Temp05 card. Since I've started doing this my DS2450-Wind Direction sensor does not work with MCS Temperature.
    I get readings for it in the echo window and they seem fine so I don't think my trouble is on the Temp05 end. The database is only recording 0's for the sensor and HS shows the device as unknown.
    Any ideas what may have gone wrong and how I might be able to further troubleshoot this problem?

    #2
    During the initialization the plugin sends TMP and DIS commands to collect the index information from the Temp05. If debug is enabled then information about this relationship is displayed in the log.

    There are lines starting with Record ID Info= which contain
    Sensor ID, Device Code, Device Type (wind direction = 1), Default Device Code (used if not yet assigned), 1-wire ID, setup showing flag, database created flag

    You can Email that segmemnt of the log and I should be able to see what is happening. I'll be away for a few days but get to it when I return.

    Comment


      #3
      8/25/2003 1:49:02 PM~!~mcsTemperature~!~Version 4.2.0 Registered with Homeseer
      8/25/2003 1:49:02 PM~!~mcsTemperature Debug~!~Internal Timer Started
      8/25/2003 1:49:02 PM~!~mcsTemperature~!~Temp05 Comm Port 2 Opened
      8/25/2003 1:49:03 PM~!~mcsTemperature~!~Last temperature sample recorded at 8/25/2003 1:44:47 PM
      8/25/2003 1:49:03 PM~!~mcsTemperature~!~Last forecast sample recorded at 8/25/2003 1:47:02 PM
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Send=VER
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~SendQueue=VER
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Delay=250 [Sent to Temp05: VER ]
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Send=TMP
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~SendQueue=TMP
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Temp05 Comm Event Code= 4
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Temp05 Comm Event Code= 5
      8/25/2003 1:49:03 PM~!~mcsTemperature~!~Temp05 Data: 002-12-13
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~SendQueue=TMP
      8/25/2003 1:49:03 PM~!~mcsTemperature Debug~!~Delay=250 [Sent to Temp05: TMP ]
      8/25/2003 1:49:04 PM~!~mcsTemperature~!~Temp05 Data:
      8/25/2003 1:49:04 PM~!~mcsTemperature~!~Temp05 Data: >
      8/25/2003 1:49:04 PM~!~mcsTemperature Debug~!~SendQueue=
      8/25/2003 1:49:05 PM~!~mcsTemperature~!~Temp05 Data: >
      8/25/2003 1:49:05 PM~!~mcsTemperature~!~Temp05 Data: Reading Sensors...
      8/25/2003 1:49:05 PM~!~mcsTemperature~!~Temp05 Data: Humidity #01[2D0000001527A026]=55%
      8/25/2003 1:49:05 PM~!~mcsTemperature Debug~!~Record ID Info=01/2D0000001527A026, Type = 6, Preferred Device=, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:05 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R41 at index 2
      8/25/2003 1:49:05 PM~!~mcsTemperature~!~Temp05 Data: Wind Dirn[1500000001004020]=N
      8/25/2003 1:49:08 PM~!~mcsTemperature~!~Temp05 Data: Wind Speed[B300000001702F1D]=07 MPH, Gust = 07
      8/25/2003 1:49:08 PM~!~mcsTemperature Debug~!~Record ID Info=01/B300000001702F1D, Type = 2, Preferred Device=, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:08 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R34 at index 3
      8/25/2003 1:49:08 PM~!~mcsTemperature Debug~!~Record ID Info=01/B300000001702F1D, Type = 3, Preferred Device=, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:08 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R35 at index 4
      8/25/2003 1:49:09 PM~!~mcsTemperature Debug~!~SendQueue=
      8/25/2003 1:49:10 PM~!~mcsTemperature~!~Temp05 Data: Temp #01[FC00000005419C22]=114.80F
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~setIO from 0 to 19
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~Send=DIS
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~SendQueue=DIS
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 01/FC00000005419C22 Record Status = True/False
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~Record ID Info=01/FC00000005419C22, Type = 0, Preferred Device=R1, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:10 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R1 at index 5
      8/25/2003 1:49:12 PM~!~mcsTemperature~!~Temp05 Data: Temp #02[2F000800085B1010]=102.65F
      8/25/2003 1:49:12 PM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 02/2F000800085B1010 Record Status = True/False
      8/25/2003 1:49:12 PM~!~mcsTemperature Debug~!~Record ID Info=02/2F000800085B1010, Type = 0, Preferred Device=R2, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:12 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R2 at index 6
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~SendQueue=DIS
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~Delay=250 [Sent to Temp05: DIS ]
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: Temp #03[2D0000001527A026]=75.54F
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 03/2D0000001527A026 Record Status = True/False
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~Record ID Info=03/2D0000001527A026, Type = 0, Preferred Device=R3, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R3 at index 7
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: Temp #04[B70000000549DC22]=81.28F
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 04/B70000000549DC22 Record Status = True/False
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~Record ID Info=04/B70000000549DC22, Type = 0, Preferred Device=R4, Sensor Known=11, SetupOpen=False, DB Created=True
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R4 at index 8
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 01 1500000001004020 DS2450 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 02 B300000001702F1D DS2423 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Sensor B300000001702F1D is known to Temp05 as type DS2423 but known by mcsTemperature as type W
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 03 FC00000005419C22 DS1822 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 04 2F000800085B1010 DS1820 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature Debug~!~SendQueue=
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 05 2D0000001527A026 DS2438 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 06 B70000000549DC22 DS1822 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 07 4B000800382FA310 DS1820 OK
      8/25/2003 1:49:14 PM~!~mcsTemperature~!~Temp05 Data: 08 8600080038339F10 DS1820 OK
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: 09 6000080038079310 DS1820 OK
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data:
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Update interval = 04 minutes
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Relay off timer = 00 minutes
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Temp display = F
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Serial # display = Y
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Wind dirn reverse = N
      8/25/2003 1:49:15 PM~!~mcsTemperature~!~Temp05 Data: Debug = N

      Comment


        #4
        I believe that the line reported from the DIS command that results in the following message is what is causing the problem.

        8/25/2003 1:49:14 PM~!~mcsTemperature~!~Sensor B300000001702F1D is known to Temp05 as type DS2423 but known by mcsTemperature as type W

        On DS2423 which can be Rain/Wind/Lightning the plugin is expecting the Temp05 to return the configuration with a R W or L after the DS2423 on the DIS command. The plugin sees a blank. I think you need to configure the Temp05 to tell it that it is a W device. The index can be found from the D column on the setup page or from the value returned from the DIS command when the Echo window is open. This index is used with the TYP command. I think the sequence is (TYP send) (index send) (W send). The Temp05 may default to W and appears to be returning good data, but the plugin does not know that the Temp05 is returning W data vs other types.

        Do confirm the DIS output is not returning a DS2423 W and the plugin is just misreading the line.

        Comment


          #5
          The TYPe output on the DIS command from TEMP05 is achieved by polling the DS2423 and asking it what type it is. If no answer is received, or the answer does not match predicted types for the DS2423, then a "?" is displayed. A blank should never be received (unless something less than V5.0 is being used for TEMP05).

          Mitch

          Comment


            #6
            Tried all of the above and nothing. Wiped all of mcs sensor info, re-installed the plug-in and erased the Temp05 eeprom and re-initialized the sensors in hyperterminal.

            01 1500000001004020 DS2450 OK
            02 B300000001702F1D DS2423 OK W
            03 FC00000005419C22 DS1822 OK
            04 2F000800085B1010 DS1820 OK
            05 2D0000001527A026 DS2438 OK H
            06 B70000000549DC22 DS1822 OK
            07 4B000800382FA310 DS1820 OK
            08 8600080038339F10 DS1820 OK
            09 6000080038079310 DS1820 OK

            Update interval = 01 minutes
            Relay off timer = 00 minutes
            Temp display = F
            Serial # display = Y
            Wind dirn reverse = N
            Debug = N
            Some temp sensors Parasitic powered
            Qty of DS1820=04
            Qty of DS1822=02
            Qty of DS18B2=00
            Qty of DS2438=01

            Reading Sensors...
            Humidity #01[2D0000001527A026]=50%
            Wind Dirn[1500000001004020]=NE
            Wind Speed[B300000001702F1D]=02 MPH, Gust = 02
            Temp #01[FC00000005419C22]=86.34F
            Temp #02[2F000800085B1010]=92.30F
            Temp #03[2D0000001527A026]=77.00F
            Temp #04[B70000000549DC22]=80.15F
            Temp #05[4B000800382FA310]=85.76F
            Temp #06[8600080038339F10]=81.26F
            Temp #07[6000080038079310]=82.27F

            When I try and setup mcstemp again, everything except the ds2450 is seen. The wind speed and gust is fine(ds2423).

            Comment


              #7
              The plugin is looking for Wind Dir rather than Wind Dirn. If I changed it it was unintentional. I'll change it to Wind Dirn and you should be back in business. I run my weather instrument off of the DS9097 so I would not have seen this problem after it changed. The image is at V4.5 Evaluation. It is an evaluation version as I am working through DS2406 logic with TomS.

              Comment


                #8
                v4.5.4 mcsTemperature fixed the ds2450 as far as being seen and set up a device for wind direction however the device freezes and the database keeps the same #.

                8/28/2003 3:25:15 PM~!~mcsTemperature~!~Temp05 Data: Wind Dirn[1500000001004020]=E
                8/28/2003 3:25:15 PM~!~mcsTemperature Debug~!~Record ID Info=01/1500000001004020, Type = 1, Preferred Device=, Sensor Known=12, SetupOpen=False, DB Created=True
                8/28/2003 3:25:15 PM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code= at index 11

                But the Virtual Device is stuck on SE.( Use previous on bad reading is off) I am getting a couple errors on the sensor, but mcstemp is still not seeing it like Temp05 is sending it.

                Comment

                Working...
                X