Announcement

Collapse
No announcement yet.

Understanding DS2405.... ?

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

    Understanding DS2405.... ?

    I would like to use some DS2405 switches but am unsure as how I can implement them with MCSTemperature.

    I have connected one and am able read it's status, but am unable to use it as a switch controlled from HomeSeer.

    Thanks,

    Scott

    #2
    Setup tab for the discretes has a checkbox if the device is configured as an output or an input. If unchecked then it reads switch status. If checked then it can be controlled like a relay. Data is plotted showing state changes if it is configured either way.

    Comment


      #3
      I actually set that 'out' box and nothing changed. I changed the device from status only and selecting on/off on the device does nothing... the only way I can change the switch is from the temp08 command line.

      Any other ideas?

      Scott

      Comment


        #4
        Any ideas?

        Comment


          #5
          The other area deals with the indexing maintained by the Temp05. I looked at this area and some cleanup needed for display between the Temp05 and DSxx interfaces. I have a network of DS2405's, but they are all connected to a DS9097 and would prefer not to reconfigure them.

          Try the current posting for the plugin. If there are still problems then capture the display from the Temp05/9x window after a startup when the DIS command results are displayed. Include in that window capture an attempt to set a DS2405 output from the HS GUI. It should be an OFx command to the Temp05. Email or post this data.

          Also note the index on the setup page which is in the D:I column. Do not open the full setup page until after the DIS results are returned in the Temp05/9x window. This usually takes about 30 seconds after a homeseer restart. If you open it before then the plugin will not capture the indexes properly.

          ... Just notices that they reset the max upload limit on the MB back to 300K. mcsTemperature is over 400K so we will need to wait until this gets reset to upload the newer version.

          Comment


            #6
            I did have the latest version, but I reinstalled anyway. Here is my Temp08 output.
            <pre class="ip-ubbcode-code-pre">
            23:08:10 | [Sent to Temp05: VER ]

            23:08:10 | TEMP08 v1.02 2003-10-25
            23:08:10 |
            &gt;
            23:08:13 | WED 03:16:25
            23:08:13 | Reading Sensors...
            23:08:14 | Voltage #01[F90000002B409F26]=01.13V 05.03V
            23:08:17 | Switch #06[AA0000001FC88105]=Off
            23:08:19 | Temp #01[F90000002B409F26]=62.00F
            23:08:21 | Temp #02[BA0008004187E510]=81.00F
            23:08:23 | Temp #03[D80008004179AB10]=60.10F
            23:08:25 | Temp #04[2C00080046A66F10]=44.56F
            23:08:27 | Temp #05[5F00080046CAAB10]=60.00F
            23:08:27 | &gt;
            23:08:32 | [Sent to Temp05: TMP ]

            23:08:32 | &gt;
            23:08:32 | WED 03:16:44
            23:08:32 | Reading Sensors...
            23:08:33 | Voltage #01[F90000002B409F26]=01.14V 05.03V
            23:08:36 | Switch #06[AA0000001FC88105]=Off
            23:08:38 | Temp #01[F90000002B409F26]=62.00F
            23:08:40 | Temp #02[BA0008004187E510]=81.00F
            23:08:42 | Temp #03[D80008004179AB10]=60.10F
            23:08:44 | Temp #04[2C00080046A66F10]=44.56F
            23:08:46 | Temp #05[5F00080046CAAB10]=60.00F
            23:08:46 | &gt;
            23:08:48 | WED 03:17:00
            23:08:48 | &gt;
            23:08:53 | [Sent to Temp05: DIS ]

            23:08:53 | 01 F90000002B409F26 DS2438 OK V
            23:08:53 | 02 BA0008004187E510 DS1820 OK
            23:08:53 | 03 D80008004179AB10 DS1820 OK
            23:08:53 | 04 2C00080046A66F10 DS1820 OK
            23:08:53 | 05 5F00080046CAAB10 DS1820 OK
            23:08:53 | 06 AA0000001FC88105 DS2405 OK
            23:08:53 |
            23:08:54 | Update interval = 01 minutes
            23:08:54 | Relay off timer = 00 minutes
            23:08:54 | Temp display = F
            23:08:54 | Serial # display = On
            23:08:54 | Wind dirn reverse = Off
            23:08:54 | Debug = Off
            23:08:54 | Some temp sensors Parasitic powered
            23:08:55 | Qty of DS1820=04
            23:08:55 | Qty of DS1822=00
            23:08:55 | Qty of DS18B2=00
            23:08:56 | Qty of DS2438=01
            23:08:56 | WED 03:17:07
            23:08:56 | &gt;
            23:09:13 | WED 03:17:24
            23:09:13 | Reading Sensors...
            23:09:14 | Voltage #01[F90000002B409F26]=01.11V 05.03V
            23:09:19 | Temp #01[F90000002B409F26]=61.90F
            23:09:21 | Temp #02[BA0008004187E510]=81.00F
            23:09:23 | Temp #03[D80008004179AB10]=60.10F
            23:09:25 | Temp #04[2C00080046A66F10]=44.56F
            23:09:27 | Temp #05[5F00080046CAAB10]=59.67F
            23:09:27 | &gt;
            </pre>

            Strange thing is the switch says off, but in HomeSeer it says on. Selecting on/off from homeseer produces nothing in the temp08 window.

            The D:I for this device has 06:06.

            I tried deleting the device and letting the plug-in create it, same results.


            Scott

            Comment


              #7
              Here is some more ah.log data with debug enabled.
              <pre class="ip-ubbcode-code-pre">
              11/20/2003 11:23:39 PM~!~mcsTemperature Debug~!~Setup Page Unload
              11/20/2003 11:23:49 PM~!~mcsTemperature~!~Temp05 Data: WED 03:32:00
              11/20/2003 11:23:49 PM~!~mcsTemperature Debug~!~Temp05 V4: WED 03:32:00
              11/20/2003 11:23:51 PM~!~Device control from menu~!~S20 Off
              11/20/2003 11:23:53 PM~!~mcsTemperature Debug~!~SendQueue=
              11/20/2003 11:24:10 PM~!~mcsTemperature Debug~!~Database Timer=5
              11/20/2003 11:24:10 PM~!~mcsTemperature DebugTrigger Device R2~!~UpperLimit Compare 93 vs Compare Value=93 priorValue =81.32, event Started=False
              11/20/2003 11:24:10 PM~!~mcsTemperature DebugTrigger Device R4~!~LowerLimit Compare 32 vs Compare Value=32 priorValue =44.56, event Started=False
              11/20/2003 11:24:27 PM~!~mcsTemperature~!~Temp05 Data: WED 03:32:24
              Reading Sensors...
              Voltage #01[F90000002B409F26]=05.03V 05.03V
              Switch #06[AA0000001FC88105]=Off
              Temp #01[F90000002B409F26]=61.90F
              Temp #02[BA0008004187E510]=81.55F
              Temp #03[D80008004179AB10]=59.22F
              Temp #04[2C00080046A66F10]=44.35F
              Temp #05[5F00080046CAAB10]=59.35F
              11/20/2003 11:24:27 PM~!~mcsTemperature Debug~!~Temp05 V4: WED 03:32:24Reading Sensors...
              Voltage #01[F90000002B409F26]=05.03V 05.03V
              Switch #06[AA0000001FC88105]=Off
              Temp #01[F90000002B409F26]=61.90F
              Temp #02[BA0008004187E510]=81.55F
              Temp #03[D80008004179AB10]=59.22F
              Temp #04[2C00080046A66F10]=44.35F
              Temp #05[5F00080046CAAB10]=59.35F
              11/20/2003 11:24:31 PM~!~mcsTemperature Debug~!~SendQueue=
              11/20/2003 11:24:49 PM~!~mcsTemperature~!~Temp05 Data: WED 03:33:00
              11/20/2003 11:24:49 PM~!~mcsTemperature Debug~!~Temp05 V4: WED 03:33:00
              11/20/2003 11:24:53 PM~!~mcsTemperature Debug~!~SendQueue=
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 1
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 2
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 3
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 4
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 5
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 6
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-F90000002B409F26V=R5,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-F90000002B409F26A=
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-F90000002B409F26=R1,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-BA0008004187E510=R2,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-D80008004179AB10=R3,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-2C00080046A66F10=R4,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-5F00080046CAAB10=R30,0,,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-AA0000001FC88105S=deleted
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7-AA0000001FC88105Y=S20,0,0,0
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 7.5-
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R5=sF90000002B409F26V,20,1
              11/20/2003 11:25:04 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R6=
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R1=sF90000002B409F26,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R2=sBA0008004187E510,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R3=sD80008004179AB10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R4=s2C00080046A66F10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R14=
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R24=
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R7=
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-T10=thermostat_t1,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-T20=thermostat_t2,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R20=
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-R30=s5F00080046CAAB10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 8-S20=tblAA0000001FC88105S,12,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 9
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 10
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 10.1
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 11
              11/20/2003 11:25:05 PM~!~mcsTemperature Debug~!~Setup Load Progress 12
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~F90000002B409F26V, HS:R5, Temp05:0, DB:sF90000002B409F26V,20,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~F90000002B409F26, HS:R1, Temp05:0, DB:sF90000002B409F26,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~BA0008004187E510, HS:R2, Temp05:0, DB:sBA0008004187E510,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~D80008004179AB10, HS:R3, Temp05:0, DB:sD80008004179AB10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~2C00080046A66F10, HS:R4, Temp05:0, DB:s2C00080046A66F10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~5F00080046CAAB10, HS:R30, Temp05:0, DB:s5F00080046CAAB10,0,1
              11/20/2003 11:25:05 PM~!~mcsTemperature Sensor Info~!~AA0000001FC88105Y, HS:S20, Temp05:0, DB:tblAA0000001FC88105S,12,1
              11/20/2003 11:25:10 PM~!~mcsTemperature Debug~!~Database Timer=4
              11/20/2003 11:25:10 PM~!~mcsTemperature DebugTrigger Device R2~!~UpperLimit Compare 93 vs Compare Value=93 priorValue =81.32, event Started=False
              11/20/2003 11:25:10 PM~!~mcsTemperature DebugTrigger Device R4~!~LowerLimit Compare 32 vs Compare Value=32 priorValue =44.56, event Started=False

              </pre>

              [This message was edited by Michael McSharry on Fri, 21 November 2003 at 11:41 AM.]

              Comment


                #8
                You could not download the latest, because I could not put it up there, but the data you have shows that there is no problem in that area. I will work from the other direction and simulate an input and see if I can trace the On Off status. If not I'll wire-up another sensor for testing.

                Comment


                  #9
                  If I'm reading your dump correctly it looks as if you are using device codes for the DS2405 that are managed by homeseer (Devices A-Z) rather than a plugin house code. Outputs can only be done when the plugin owns the device. When the plugin device code is created then there are preferred locations for sensors. I believe the switch/relay DS2405 is allocated the first 30 units of the second plugin device code. If you have not yet created a house code for the plugin then be careful about your prior definitions (backup your info). It should be graceful but there are so many combinations that there is room for the results not being as desired.

                  You will need to use the create plugin devices button on the Devices/Files tab. You should be fine with all your devices except the DS2405 which you want to move. You will also be presented with a number of Forecast devices that can be disabled by checkboxes on the Forecast Tab. There may be a few others as well such as the error counters.

                  [This message was edited by Michael McSharry on Fri, 21 November 2003 at 12:01 PM.]

                  Comment


                    #10
                    Moved my device code from 'R' to '~' and let the plug-in create the switch device. I am getting the same results. the device in HomeSeer does not show any status, selecting on/off does nothing in the temp08 window.

                    I am stumped...

                    Comment


                      #11
                      But does the plugin know the sensor by this new house code? Have you given the plugin a chance to reacquire its setup after you changed its environment?

                      Look on the setup page Discrete Tab. Is that OK? Enable the debug log. Close the setup page. Do a GUI action to control the device and let me see the log in response to this GUI action.

                      Comment


                        #12
                        I changed the house code and deleted the device, I then let the plug-in find the switch and auto add it again.

                        I set debug mode on, here is the dump:
                        <pre class="ip-ubbcode-code-pre">
                        11/21/2003 10:06:11 AM~!~Device control from menu~!~~30 Off
                        11/21/2003 10:06:26 AM~!~Device control from menu~!~~30 On
                        11/21/2003 10:07:17 AM~!~mcsTemperature~!~Removing virtual device ~1, datababase field sF90000002B409F26A left in database
                        11/21/2003 10:07:18 AM~!~mcsTemperature Debug~!~Setup Page Unload
                        11/21/2003 10:07:18 AM~!~mcsTemperature Debug~!~SendQueue=
                        11/21/2003 10:07:18 AM~!~mcsTemperature~!~Temp05 Data:
                        11/21/2003 10:07:20 AM~!~mcsTemperature~!~Temp05 Data: Temp #01[F90000002B409F26]=61.21F
                        11/21/2003 10:07:20 AM~!~mcsTemperature Debug~!~Log Temperature Sensor Count=9, INSERT INTO Temperature
                        (SampleDate,sF90000002B409F26V,sF90000002B409F26,
                        sBA0008004187E510,sD80008004179AB10,s2C00080046A66F10,
                        thermostat_t1,thermostat_t2,s5F00080046CAAB10)
                        SELECT #2003-11-21 10:07:20 AM# AS QT,
                        113 AS Q0,6145 AS Q1,8000 AS Q2,6100 AS Q3,
                        5121 AS Q4,6800 AS Q5,6620 AS Q6,5632 AS Q7

                        11/21/2003 10:07:20 AM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 01/F90000002B409F26 Record Status = True/True
                        11/21/2003 10:07:20 AM~!~mcsTemperature Debug~!~Record ID Info=01/F90000002B409F26, Type = 0, Preferred Device=~1, Sensor Known=7, SetupOpen=False, DB Created=True
                        11/21/2003 10:07:20 AM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R1 at index 1
                        11/21/2003 10:07:22 AM~!~mcsTemperature~!~Temp05 Data: Temp #02[BA0008004187E510]=80.00F
                        11/21/2003 10:07:22 AM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 02/BA0008004187E510 Record Status = True/True
                        11/21/2003 10:07:22 AM~!~mcsTemperature Debug~!~Record ID Info=02/BA0008004187E510, Type = 0, Preferred Device=~2, Sensor Known=7, SetupOpen=False, DB Created=True
                        11/21/2003 10:07:22 AM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R2 at index 2
                        11/21/2003 10:07:23 AM~!~Device control from menu~!~~30 On
                        11/21/2003 10:07:24 AM~!~mcsTemperature~!~Temp05 Data: Temp #03[D80008004179AB10]=61.00F
                        11/21/2003 10:07:24 AM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 03/D80008004179AB10 Record Status = True/True
                        11/21/2003 10:07:24 AM~!~mcsTemperature Debug~!~Record ID Info=03/D80008004179AB10, Type = 0, Preferred Device=~3, Sensor Known=7, SetupOpen=False, DB Created=True
                        11/21/2003 10:07:24 AM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R3 at index 3
                        11/21/2003 10:07:26 AM~!~mcsTemperature~!~Temp05 Data: Temp #04[2C00080046A66F10]=51.10F
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 04/2C00080046A66F10 Record Status = True/True
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~Record ID Info=04/2C00080046A66F10, Type = 0, Preferred Device=~4, Sensor Known=7, SetupOpen=False, DB Created=True
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R4 at index 4
                        11/21/2003 10:07:26 AM~!~mcsTemperature~!~Temp05 Data: Temp #05[5F00080046CAAB10]=56.32F
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~V5 Temp05 Temp Sensor 05/5F00080046CAAB10 Record Status = True/True
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~Record ID Info=05/5F00080046CAAB10, Type = 0, Preferred Device=~5, Sensor Known=7, SetupOpen=False, DB Created=True
                        11/21/2003 10:07:26 AM~!~mcsTemperature Debug~!~Record ID Info Sensor Present=True, with Device Code=R30 at index 5
                        11/21/2003 10:07:30 AM~!~mcsTemperature Debug~!~SendQueue=
                        11/21/2003 10:07:41 AM~!~Device control from menu~!~~30 Off
                        11/21/2003 10:07:49 AM~!~mcsTemperature Debug~!~Database Timer=2
                        11/21/2003 10:07:49 AM~!~mcsTemperature DebugTrigger Device R2~!~UpperLimit Compare 93 vs Compare Value=93 priorValue =80, event Started=False
                        11/21/2003 10:07:49 AM~!~mcsTemperature DebugTrigger Device R4~!~LowerLimit Compare 32 vs Compare Value=32 priorValue =51.21, event Started=False
                        11/21/2003 10:07:50 AM~!~mcsTemperature~!~Temp05 Data: &gt;
                        11/21/2003 10:07:50 AM~!~mcsTemperature~!~Temp05 Data: WED 14:16:00
                        </pre>

                        Scott

                        [This message was edited by Michael McSharry on Fri, 21 November 2003 at 03:17 PM.]

                        Comment


                          #13
                          Here are some more readings.

                          I attempted to use the Temp08 window interface to manually set the switch, you can see that in the 'ONA 06' section.

                          But nothing I do with this device in the HomeSeer GUI appears to have any effect.

                          Scott
                          Attached Files

                          Comment


                            #14
                            Looks like you are the lucky one. It turns out I use the character ~ as my outbound queue string delimiter. I see it in the queue and I'm certain it sees the ~30 as a null field followed by 30. This is the next problem we need to overcome. I'll change the plugin to use something like chr(0) instead.

                            At least now the plugin did get the GUI command because of the house code change and staged it to output to the Temp05.

                            Comment


                              #15
                              I just tried '~' as a last resort, I have used, 'R' 'S' and now '^' all with the same results.

                              I think there may be something else.

                              I do notice that the interface always says "plug-in house code is unassigned" If I attempt to assign one it blanks out the current one and never actually creates one. All my other devices relating to this are on 'R' and they work perfectly.

                              Comment

                              Working...
                              X