Please login or register.

Login with username, password and session length

Author Topic: CM15a Wireless Lamp Switch  (Read 9179 times)

BitsNBytes

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 25
CM15a Wireless Lamp Switch
« on: August 16, 2009, 12:59:43 AM »

Is there a way the CM15a can send a wireless message to an X10 lamp switch? I see an X10 wireless lamp switch but it has a "stick-anywhere-panel" that sends the wireless message. I would like to send the wireless messages though software using (hopefully) the CM15a or similar device (which also needs to work with Active Eye). Is this possible?
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13259
Re: CM15a Wireless Lamp Switch
« Reply #1 on: August 16, 2009, 06:37:33 AM »

The X10 Lamp Modules and Switches do not receive an RF signal. They only receive X10 signals on the power line.
The Stick-A-Switch is an RF device, as you expected, but it transmits to an X10 Tranceiver. That converts the RF command to a Power line signal. The TM751 and RR501 are Transceiver. Your CM15A can also receive the RF signal from a Motion Sensor or Stick-A-Switch and send the signal over the power line to a lamp module or switch. Along with any other power line signal module like an Appliance Module.
Logged

BitsNBytes

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 25
Re: CM15a Wireless Lamp Switch
« Reply #2 on: August 16, 2009, 10:10:23 AM »

Thanks Brian,

So if I am understanding this correct the CM15a can send a wired mode signal  over my house wiring to the lamp switch, turning it on and off. All i have to do is figure out the protocol which must be through the SendAction (varAction, varParm, varReseved1, varReseved2) API function.

If so that would be sweet...
Logged

Videonut

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: CM15a Wireless Lamp Switch
« Reply #3 on: August 16, 2009, 05:17:01 PM »

ActiveHomeObj.SendAction("sendplc", "C2 on")
this would turn on c2 if that was the house/unit code for the light module.
you can also
ActiveHomeObj.SendAction("sendplc", "C2 dim 10") to reduce level 10% at a time. If I use this from off then it brightens to 100 then drops 10% each call
or
ActiveHomeObj.SendAction("sendplc", "C2 bright 10") to increase level 10% at a time although I get different reactions to this
10 is the percentage change so you substitute any number for the 10.
You can also use a string variable and concatinate a string to send eg.
        Dim amount As String = "10"
        Dim unit As String = "B2 Dim"
        ActiveHomeObj.SendAction("sendplc", unit & " " & amount)
Hope this helps.
Logged

BitsNBytes

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 25
Re: CM15a Wireless Lamp Switch
« Reply #4 on: August 16, 2009, 06:53:43 PM »

Perfect...! tks...
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.