Announcement

Collapse
No announcement yet.

Keypad control

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

    #16
    The device codes are also zero based so the 10 should have shown up as a "09". I fixed it in this version. Can you give it a try?
    Attached Files
    James

    Running HS 3 on Win10 .

    Comment


      #17
      Originally posted by jasv View Post
      The device codes are also zero based so the 10 should have shown up as a "09". I fixed it in this version. Can you give it a try?
      Tried this with no luck.
      I'm not sure if this will work. I experimented with the command "ExecX10" and was able to transmit the correct codes from Homeseer. I verified this by programming an X10 module to the same codes as the 507 relay and verified I could control it with a script. However the 507 relays don't react. The panel cannot not "receive" X10 it can only transmit it over the power lines. I was hoping that transmitting to the panel via jvcaddx serial interface would work as opposed to via the power lines.
      Is there any hope of contolling the 507 board directly?
      Jim

      Comment


        #18
        The x10 command that I am using is a caddx panel command so conceptually it should work. There is a possibility to control the 507 directly but there is no documentation for it so I would need to "sniff" it out. Let me play with the x10 over the next couple of days and see before I try the direct approach.
        James

        Running HS 3 on Win10 .

        Comment


          #19
          Thanks, James!
          I see in the documentation the offset of the house code and the module numbers. I remember some years ago being bitten by this number sequence starting at zero vs one.- cost me some hours.
          It amazes me how flexible these Caddx panels are. Most likely coded in the mid 90's and still very useful.
          Jim

          Comment


            #20
            One last thing. You do need to turn on the check box (or setting) for "send X-10" message in the DL900. Do you know how to do that?
            James

            Running HS 3 on Win10 .

            Comment


              #21
              I should have been more specific. If you have the nx584 use the Request Enable tab for that expander to turn on "send X10" if you have a nx8e use the Advanced Settings|Request Enables tab to turn on the "Send X10". Let me know if that makes a difference.
              James

              Running HS 3 on Win10 .

              Comment


                #22
                Originally posted by jasv View Post
                I should have been more specific. If you have the nx584 use the Request Enable tab for that expander to turn on "send X10" if you have a nx8e use the Advanced Settings|Request Enables tab to turn on the "Send X10". Let me know if that makes a difference.
                OK- we made some headway. I have an 8E and Send10X Message was not checked. It is now selected.
                However when I run this script:
                sub main()
                hs.plugging("jvCaddx Plug-in").sends "P", 10, "on"
                end sub
                I get this in the log:
                12/31/2010 6:28:14 PM - X10 Received - F (?) F On
                12/31/2010 6:28:13 PM - jvCaddx Plug-In In - sent 29151028 to the panel
                If I run this script:
                sub main()
                HS.plugging("jvCaddx Plug-in").sends "O", 10, "on"
                end sub
                I get this in the log:
                12/31/2010 6:28:40 PM - X10 Received - E (?) E On
                12/31/2010 6:28:39 PM - jvCaddx Plug-In In - sent 29141028 to the panel
                It seems not to be selecting the correct house code or Module #.
                But it is now transmitting and receiving.
                I will be experimenting more....
                Jim

                Comment


                  #23
                  That is some progress. I will be busy this morning but I will take a look this afternoon.
                  James

                  Running HS 3 on Win10 .

                  Comment


                    #24
                    It might be a hex/ascii thing. Can you try a house code of "a" to see what happnes?
                    James

                    Running HS 3 on Win10 .

                    Comment


                      #25
                      I transmitted "A10 "On" and got this:
                      1/1/2011 9:29:23 AM - X10 Received - A1 (Sprinklers mcsSprinklers Reserved House Code) A On
                      1/1/2011 9:29:21 AM - jvCaddx Plug-In In - sent 29001028 to the panel
                      Turned on A- "A" is my sprinklers house code.
                      Jim

                      Comment


                        #26
                        I then made this array and sent it:
                        sub main()
                        hs.plugin("jvCaddx Plug-in").sendx10 "A", 1, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "B", 1, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "C", 3, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "D", 4, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "E", 5, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "F", 6, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "G", 7, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "H", 8, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "I", 9, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "J", 10, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "K", 11, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "L", 12, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "M", 13, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "O", 14, "on"
                        hs.plugin("jvCaddx Plug-in").sendx10 "P", 15, "on"
                        end sub
                        and got these results:
                        1/1/2011 10:38:26 AM - X10 Received - E5 (?) E On
                        1/1/2011 10:38:25 AM - X10 Received - A2 (?) A On
                        1/1/2011 10:38:24 AM - Event - Event Trigger "Door Closet Voice"
                        1/1/2011 10:38:24 AM - X10 Received - J1 (jvCaddx Plug-In Door Closet) J On
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29151528 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29141428 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29121328 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29111228 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29101128 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 29091028 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 2908928 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 2907828 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 2906728 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 2905628 to the panel
                        1/1/2011 10:38:22 AM - jvCaddx Plug-In In - sent 2904528 to the panel
                        1/1/2011 10:38:21 AM - jvCaddx Plug-In In - sent 2903428 to the panel
                        1/1/2011 10:38:21 AM - jvCaddx Plug-In In - sent 2902328 to the panel
                        1/1/2011 10:38:21 AM - jvCaddx Plug-In In - sent 2901128 to the panel
                        1/1/2011 10:38:21 AM - jvCaddx Plug-In In - sent 2900128 to the panel
                        1/1/2011 10:38:21 AM - Event - Running script in background: Voices On Up.txt
                        1/1/2011 10:38:21 AM - Event - Event Trigger "Voices On"

                        Comment


                          #27
                          A few more interesting facts. By experimenting I found the the module number of "1"= "10". We knew that. "2"="11", "3"="12", etc. It appears to add the two digits together for the module number.
                          The House codes follow A through J and "K" returns to "A".
                          I also temporally changed my "on" code to one that I could address and it worked!! I was able to toggle it off and on with your command. If we don't figure out this logic I will change my keypad X10 Light control to one that is usable with your commands.
                          Jim

                          Comment


                            #28
                            I fixed it so that it would send the correct house code/device code (it was looking for hex as input as you more or less pointed out). I was able to test somewhat but couldn't test to see if it triggered the 507/508. Would try it and let me know. Thanks.
                            Attached Files
                            James

                            Running HS 3 on Win10 .

                            Comment


                              #29
                              Originally posted by jasv View Post
                              I fixed it so that it would send the correct house code/device code (it was looking for hex as input as you more or less pointed out). I was able to test somewhat but couldn't test to see if it triggered the 507/508. Would try it and let me know. Thanks.
                              James, Thankyou for your help. This now works perfectly! I tried various combinations and the X10 is transmitted perfectly AND addresses the 507 board.
                              Thanks again!
                              Jim

                              Comment


                                #30
                                I will add some stuff to the scripting help and remove my debugging code. Then I will move that version to the general beta section. Thanks.
                                James

                                Running HS 3 on Win10 .

                                Comment

                                Working...
                                X