X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: bkenobi on December 19, 2010, 08:58:06 PM

Title: New AHP + Smart Macros user
Post by: bkenobi on December 19, 2010, 08:58:06 PM
I've been using another software for my home automation for several years.  I just purchased a system including the CM15A, AHP, and Smart Macros to improve the reliability of my setup.  The problem is, I'm more of a programmer than I am a graphical macro type person.  I'm not really sure how to make things work the way I want them.

Here's what I'm trying to do:
Hardware:

Desired result:

So, this leads to 2 question.

1) Can someone provide a link to an example that is at least very similar to what I'm trying to do or provide a step by step?  I can figure things out once I see an example (that's how I usually learn new programming languages), but I haven't found a real guide...yet.

2) Can I code in another language to get the logic as I want and then send X10 commands to the CM15A?

Thanks!
Title: Re: New AHP + Smart Macros user
Post by: bkenobi on December 20, 2010, 01:26:34 PM
I think I've found a guide that gets me most of the way there.

http://forums.x10.com/index.php?topic=14775.0

I've also been thinking that I just need to keep track of the motion flag any time it's dark and only use it when it's after 11pm.  The only snag I see is that if I have lights on from dusk to 11pm and there is motion at 10:59, the lights may still turn off at 11 instead of 11:14.  Perhaps that's just another check, but I'm not quite sure how to implement it yet.