Open Kallejal opened 7 years ago
Haven't used this library in a long, long time. I will take a look but don't expect a quick fix. If you are able to program an Arduino you should be able to understand the code. I encourage you to take a look at it yourself. :)
p.s. I'm working on a new library that is also able to receive commands.
Hi, looks like there might be a small problem in the library: I'm running this:
define tx 12 // Pin number for the 433mhz OOK transmitter
define reps 5 // Number of times that a RF command must be repeated.
define ledpin 13 //BLUE_LED // Pin for the led that blinks when a command is send. (0 = no blink)
x10rf myx10 = x10rf(tx,ledpin,reps); ... myx10.x10Switch('B',4, 1); ... myx10.x10Switch('B',4, 0);
On Command is sent with house & device code B 4 but Off command seems to always home with device code 0, I tried multiple combinations, and seems to be always device 0