I have created a simple program in CMAX and I've uploaded it into my ocelot. Currently, I have HomeSeer sending all of its x10 commands through the ocelot. In my simple program, I have lights coming on at sunset, and then some of them turning off at sunrise, and a few earlier. The lights are coming on when they are suppose to, but they are not turning off. If I manually go into homeseer, I can right click on the individual lights and go to device command -> off. They all respond. The ocelot commands are not showing up in my log so I don't know how to tell if it is a problem with my program or a problem with the signals not reaching the lights.
Any help would be greatly appreciated.
My Program:
0001 - IF Time of Day becomes = Sunset offset -20 minutes //
0002 - THEN X-10 House M / Unit 1, Turn ON //
0003 - THEN X-10 House M / Unit 2, Turn ON //
0004 - THEN X-10 House L / Unit 4, Turn ON //
0005 - THEN X-10 House M / Unit 6, Turn ON //
0006 - THEN X-10 House M / Unit 12, Turn ON //
0007 - End Program //
0008 - IF Time of Day becomes = 01:00 //
0009 - THEN X-10 House L / Unit 4, Turn OFF //
0010 - End Program //
0011 - IF Time of Day becomes = 00:00 //
0012 - THEN X-10 House L / Unit 6, Turn OFF //
0013 - End Program //
0014 - IF Time of Day becomes = Sunrise offset -59 minutes //
0015 - THEN X-10 House M / Unit 1, Turn OFF //
0016 - THEN X-10 House M / Unit 2, Turn OFF //
0017 - THEN X-10 House M / Unit 12, Turn OFF //
0018 - End Program //
0019 - IF X-10 House A / Unit 1, ON Command Pair //
0020 - THEN X-10 House L / Unit 5, Turn ON //
0021 - End Program //
0022 - IF X-10 House A / Unit 1, ON Command Pair //
0023 - THEN X-10 House L / Unit 5, Turn OFF //
0024 - End Program //
Any help would be greatly appreciated.
My Program:
0001 - IF Time of Day becomes = Sunset offset -20 minutes //
0002 - THEN X-10 House M / Unit 1, Turn ON //
0003 - THEN X-10 House M / Unit 2, Turn ON //
0004 - THEN X-10 House L / Unit 4, Turn ON //
0005 - THEN X-10 House M / Unit 6, Turn ON //
0006 - THEN X-10 House M / Unit 12, Turn ON //
0007 - End Program //
0008 - IF Time of Day becomes = 01:00 //
0009 - THEN X-10 House L / Unit 4, Turn OFF //
0010 - End Program //
0011 - IF Time of Day becomes = 00:00 //
0012 - THEN X-10 House L / Unit 6, Turn OFF //
0013 - End Program //
0014 - IF Time of Day becomes = Sunrise offset -59 minutes //
0015 - THEN X-10 House M / Unit 1, Turn OFF //
0016 - THEN X-10 House M / Unit 2, Turn OFF //
0017 - THEN X-10 House M / Unit 12, Turn OFF //
0018 - End Program //
0019 - IF X-10 House A / Unit 1, ON Command Pair //
0020 - THEN X-10 House L / Unit 5, Turn ON //
0021 - End Program //
0022 - IF X-10 House A / Unit 1, ON Command Pair //
0023 - THEN X-10 House L / Unit 5, Turn OFF //
0024 - End Program //