Announcement

Collapse
No announcement yet.

Understanding DS2405.... ?

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

    #31
    It is 4.12.3. It has the ability to create a pair of house codes.

    If you change the switch contacts and the Temp05 does not see a change of state then you have one of two problems. 1. Your switch wiring is defective. 2. The switch needs to be initialized as if it is a relay OFF (OFA). The plugin is suppose to do the init if all the setup is working.

    Comment


      #32
      I installed the new plug-in version.... lots of new house code stuff floating around... still no switch contol though.. I think it may be temp08 related... I am unable to get correct readings direct from my Temp08 stuff... I seem to be able to get two 2405's showing up, but no more, and these don't seem to react corrrectly to switch input.

      I am running out of ideas.

      Scott

      Comment


        #33
        I removed everything except for a single switch, connected next to my conputer. I can turn it on/off with the Temp08 command window. But not with the HomeSeer GUI. I set it to the new house code ` and nothing happens... loks like we are back at square one.

        Scott

        Comment


          #34
          Work manually from the Window. Output a OFA command to the switch. Change the contact on the switch and see if Temp08 reacts by returning a new status. If this sequence does not work then the problem is on the other side of the serial line and likely with your wiring of the switch. If you have success with the above then show me the debug log for a GUI action that changes the switch. Just like you did before, but now we have real plugin device to work with.

          Comment


            #35
            Here we go:
            Output from temp08 window. All commands were directly entered. I have two switches, one is setup as a switch (09) and the other and LED driver (06)

            You can see where I flipped 09 on/off a few times. Non of these were reflected in the gui.

            I also attemped to use the gui to change states a few times, but it produced nothing in the tempo08 window.
            <pre class="ip-ubbcode-code-pre">
            21:41:08 | &gt;
            21:41:10 | SUN 01:53:13
            21:41:10 | Reading Sensors...
            21:41:11 | Voltage #01[F90000002B409F26]=01.09V 05.03V
            21:41:14 | Switch #06[8B0000001FB41505]=On
            21:41:14 | Switch #09[AA0000001FC88105]=On
            21:41:16 | Temp #01[F90000002B409F26]=61.77F
            21:41:18 | Temp #02[BA0008004187E510]=80.00F
            21:41:20 | Temp #03[D80008004179AB10]=60.10F
            21:41:22 | Temp #04[2C00080046A66F10]=39.67F
            21:41:24 | Temp #05[5F00080046CAAB10]=58.55F
            21:41:25 | &gt;
            21:41:40 | Switch #09[AA0000001FC88105]=Off
            21:41:40 | &gt;
            21:41:45 | Switch #09[AA0000001FC88105]=On
            21:41:45 | &gt;
            21:41:52 | Switch #09[AA0000001FC88105]=Off
            21:41:52 | &gt;
            21:41:55 | Switch #09[AA0000001FC88105]=On
            21:41:55 | &gt;
            21:41:56 | SUN 01:54:00
            21:41:56 | &gt;
            21:42:10 | SUN 01:54:13
            21:42:10 | Reading Sensors...
            21:42:11 | Voltage #01[F90000002B409F26]=01.11V 05.03V
            21:42:14 | Switch #06[8B0000001FB41505]=On
            21:42:14 | Switch #09[AA0000001FC88105]=On
            21:42:16 | Temp #01[F90000002B409F26]=61.55F
            21:42:18 | Temp #02[BA0008004187E510]=79.90F
            21:42:20 | Temp #03[D80008004179AB10]=60.00F
            21:42:22 | Temp #04[2C00080046A66F10]=39.45F
            21:42:24 | Temp #05[5F00080046CAAB10]=58.45F
            21:42:25 | &gt;
            21:42:56 | SUN 01:55:00
            21:42:56 | &gt;
            21:43:10 | SUN 01:55:13
            21:43:10 | Reading Sensors...
            21:43:11 | Voltage #01[F90000002B409F26]=01.10V 05.03V
            21:43:14 | Switch #06[8B0000001FB41505]=On
            21:43:14 | Switch #09[AA0000001FC88105]=On
            21:43:16 | Temp #01[F90000002B409F26]=61.77F
            21:43:18 | Temp #02[BA0008004187E510]=79.77F
            21:43:21 | Temp #03[D80008004179AB10]=60.00F
            21:43:23 | Temp #04[2C00080046A66F10]=39.35F
            21:43:24 | Temp #05[5F00080046CAAB10]=58.45F
            21:43:25 | &gt;
            21:43:40 | Switch #09[AA0000001FC88105]=Off
            21:43:40 | &gt;
            21:43:41 | Switch #09[AA0000001FC88105]=On
            21:43:41 | &gt;
            21:43:42 | Switch #09[AA0000001FC88105]=Off
            21:43:42 | &gt;
            21:43:44 | Switch #09[AA0000001FC88105]=On
            21:43:44 | &gt;
            21:43:46 | Switch #09[AA0000001FC88105]=Off
            21:43:46 | &gt;
            21:43:47 | Switch #09[AA0000001FC88105]=On
            21:43:47 | &gt;
            21:43:49 | Switch #09[AA0000001FC88105]=Off
            21:43:49 | &gt;
            21:43:56 | SUN 01:56:00
            21:43:56 | &gt;
            21:44:00 | [Sent to Temp05: OFA 06 ]

            21:44:00 | &gt;
            21:44:10 | SUN 01:56:13
            21:44:10 | Reading Sensors...
            21:44:11 | Voltage #01[F90000002B409F26]=01.10V 05.03V
            21:44:13 | Switch #06[8B0000001FB41505]=On
            21:44:15 | Temp #01[F90000002B409F26]=61.66F
            21:44:17 | Temp #02[BA0008004187E510]=79.77F
            21:44:19 | Temp #03[D80008004179AB10]=59.67F
            21:44:21 | Temp #04[2C00080046A66F10]=39.35F
            21:44:23 | Temp #05[5F00080046CAAB10]=58.45F
            21:44:24 | &gt;
            21:44:30 | [Sent to Temp05: OFA 06&lt;crlf&gt; ]

            21:44:30 | &gt;
            21:44:57 | SUN 01:57:00
            21:44:57 | &gt;
            21:45:09 | SUN 01:57:13
            21:45:10 | Reading Sensors...
            21:45:11 | Voltage #01[F90000002B409F26]=01.07V 05.03V
            21:45:13 | Switch #06[8B0000001FB41505]=On
            21:45:15 | Temp #01[F90000002B409F26]=61.55F
            21:45:17 | Temp #02[BA0008004187E510]=79.77F
            21:45:19 | Temp #03[D80008004179AB10]=59.67F
            21:45:21 | Temp #04[2C00080046A66F10]=39.35F
            21:45:23 | Temp #05[5F00080046CAAB10]=58.45F
            21:45:24 | &gt;
            21:45:56 | SUN 01:58:00
            21:45:56 | &gt;
            21:46:10 | SUN 01:58:13
            21:46:10 | Reading Sensors...
            21:46:11 | Voltage #01[F90000002B409F26]=01.13V 05.03V
            21:46:14 | Switch #06[8B0000001FB41505]=On
            21:46:14 | Switch #09[AA0000001FC88105]=Off
            21:46:16 | Temp #01[F90000002B409F26]=61.55F
            21:46:18 | Temp #02[BA0008004187E510]=79.77F
            21:46:20 | Temp #03[D80008004179AB10]=60.00F
            21:46:22 | Temp #04[2C00080046A66F10]=39.22F
            21:46:24 | Temp #05[5F00080046CAAB10]=58.32F
            21:46:24 | &gt;
            21:46:57 | SUN 01:59:00
            21:46:57 | &gt;
            </pre>

            AH.log
            <pre class="ip-ubbcode-code-pre">
            11/21/2003 9:42:30 PM~!~mcsTemperature~!~Attempt to set Device `24 but Temp05/DS9097 has not yet provided an index to identify this device
            11/21/2003 9:42:30 PM~!~Device control from menu~!~`24 Off
            11/21/2003 9:44:07 PM~!~mcsTemperature~!~Attempt to set Device `27 but Temp05/DS9097 has not yet provided an index to identify this device
            11/21/2003 9:44:07 PM~!~Device control from menu~!~`27 Off
            11/21/2003 9:44:13 PM~!~mcsTemperature~!~Attempt to set Device `24 but Temp05/DS9097 has not yet provided an index to identify this device
            11/21/2003 9:44:14 PM~!~Device control from menu~!~`24 Off
            11/21/2003 9:45:00 PM~!~Event Trigger~!~Recurring Trigger (Check VoiceMail)
            </pre>

            Comment


              #36
              The log indicates that the plugin did not collect the index information when the DIS command was given to the Temp05 during startup. If the setup page was open then it would have missed it. Tomorrow I'll wire up a DS2405 and see what is going on.

              Comment


                #37
                That would be great... this stuff is begining to make me crazy

                [This message was edited by sbessel on Sat, 22 November 2003 at 12:37 PM.]

                Comment


                  #38
                  I found some more interesting errors. I tried to set an event what would detect switch 09 and then turn on switch 06. it would properly detect the 09 switch but would not send anything to the 06 switch (LED)

                  09 = `24 Switch I was turning on/off to detect
                  06 = `27 LED I was attempting to light.

                  Scott
                  Attached Files

                  Comment


                    #39
                    Found more interesting items.

                    When the DS2405 is connected to an LED, it will only respond to an 'ONA' command, this command will toggle the LED on/off - it will just ignore an 'OFA' command.

                    Scott

                    Comment


                      #40
                      V4.13.1 contains some updates to handle the DS2405 on the Temp05/08. When I added the multiple adapter support I did not see any need to send a DIS command when the setup page was updated. I know now it was so any switch configuration info that may have changed will be caputured from the Temp05. I reenabled this code and now back in business.

                      Operationally the switch interface with the Temp05 is a little awkward and restart/setup update patience is needed. The plugin needs to send a TMP command to get the temp sensor id's and it needs to send a DIS command to get the DS2405 index. Certain versions of the Temp05 firmware will give bad results if these commands are given at the same time the readings are being reported. The pluin waits for a reporting cycle to complete to it knows it is safe to send the commands. If, for example, you have a 10 minute reporting cycle for the Temp05, then you may need to wait for up to 10 minutes before you can set a switch output. This wait is needed after a homeseer restart or a mcsTemperature Setup page Update. Only the DS2405 outputs need to wait this long. Inputs are received whenever delivered by the Temp05.

                      I also noticed the same behavior with my newly wired DS2405/LED as you posted. The ONA command will toggle the output and the OFA does not seem to do anything. This is true when controlled from the GUI or from the terminal window manually. I do not recall this happening in the past when others were using the DS2405's, but then I do not recall anyone using them for anything but switch inputs. You may want to use Hyperterm to eliminate the plugin entirely from the variables that could cause this behavior, but the terminal window should not have any logic to change commands from what is typed in the text box.

                      Comment


                        #41
                        I will give V4.13.1 a try. I did find out from Midon Design that the ONA/OFA is a known issue.

                        It will take me a few days to try this as I gave up and connected everything directly to my Ocelot. I needed something working...

                        Thanks,

                        Scott

                        Comment


                          #42
                          The OFA command in TEMP08 v1.02 and lower has an issue with DS2405's only. The ONA command works fine, except for the new "feature" that it can toggle a DS2405 output state. This will be fixed in v1.03. The OFA and ONA commands work fine for DS2406's and DS2407's.

                          Mitch

                          http://www.midondesign.com
                          http://www.midondesign.com

                          Comment

                          Working...
                          X