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?
Announcement
Collapse
No announcement yet.
Keypad control
Collapse
X
-
Originally posted by jasv View PostThe 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?
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
-
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
-
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
-
Originally posted by jasv View PostI 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.
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
-
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
-
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
-
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 FilesJames
Running HS 3 on Win10 .
Comment
-
Originally posted by jasv View PostI 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.
Thanks again!
Jim
Comment
Comment