First off, glad to see the plugin is coming along. I have not migrated over to HS 2.0 yet (purchased, just haven't taken the plunge)
I am trying to program the Insteon lamplincs with HS 1.7. I have the primary X10 address set up fine. Works great.
I am trying to set an X10 scene address and on level.
I am doing the following:
First I am holding the lamplinc button in for 3 secs until it blinks although this isn't mentioned in the manual.
I am then executing the following code (in HS 1.7)
sub main()
hs.ExecX10 "O16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "N16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "P16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "F9", "Dim", 50, 0 'set desired dim at module
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "N16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "O16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "P16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "F10", "NoCmd", 0, 0 'The scene address I want
end sub
If I read the manual right, this is correct.
I first tried this without the waitsecs in between. The lamplinc led never stopped flashing and no programing was done.
Then I added the 1 second waits. The led stops blinking but it does not respond to the scene.
Does anybody have any ideas? Am I missing something here?
Thanks,
I am trying to program the Insteon lamplincs with HS 1.7. I have the primary X10 address set up fine. Works great.
I am trying to set an X10 scene address and on level.
I am doing the following:
First I am holding the lamplinc button in for 3 secs until it blinks although this isn't mentioned in the manual.
I am then executing the following code (in HS 1.7)
sub main()
hs.ExecX10 "O16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "N16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "P16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "F9", "Dim", 50, 0 'set desired dim at module
hs.waitsecs 1
hs.ExecX10 "M16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "N16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "O16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "P16", "NoCmd", 0, 0
hs.waitsecs 1
hs.ExecX10 "F10", "NoCmd", 0, 0 'The scene address I want
end sub
If I read the manual right, this is correct.
I first tried this without the waitsecs in between. The lamplinc led never stopped flashing and no programing was done.
Then I added the 1 second waits. The led stops blinking but it does not respond to the scene.
Does anybody have any ideas? Am I missing something here?
Thanks,
Comment