Conditionals

Started by dave w, November 08, 2004, 09:51:16 AM

Previous topic - Next topic

Noam

Nikko -
The timer on the macros is used for setting
what time to run the macro (what time you
want to execute that sequence of events).
I think what you are trying to do is ENABLE
the macro during certain hours (ALLOW it ti
run if triggered during those hours).
Since the macro is just a list of commands,
the timer simply says "I want to run these
commands at this time"

mikeg

I hear what you are saying and I think I
know exactly what you are trying to do. I am
using the AHP software out of the box, and
am not at all successful at this either. I
am trying to accomplish the exact same thing
that you are trying. After reading some of
these posts, I have figured out that if you
buy a $49 plugin from X-10, you will have
the ability to program conditional macros.
IE... If it is between 6:00pm and 10:00pm
and motion is sensed, then turn on the light
for 10 minutes. If it is not between 6:00pn
and 10:00 pm then don't turn on the light at
all, regardless of motion sensing or not.
Here is what I am going to do. When I was
way younger, I was pretty good with basic. I
have found a book at Barnes and Noble
called "Learn Visual Basic in 24 hours". It
even comes with a limited version of the
visual basic program (you can also hit shift
F11 when in Microsoft word to start VB).
This way I will just write my own programs
and not be forced by X10 to pay extra for
products that should have come with the
package anyway.

nikko

Many thanks to all of you for your input!

I have ordered the conditional plug-in, and
hope that this is where my final solution
lies without the necessity of learning a
whole new language.

nikko

Many thanks to all of you for your input!

I have ordered the conditional plug-in, and
hope that this is where my final solution
lies without the necessity of learning a
whole new language.

paul warshawsky

MikeG:

The SDK works ONLY with VB .NET 2003
(several hundred dollars...)  It will not
work with a limited VB version (presumably
a student version for learning how to write
code.)  Furthermore the "VB" that opens
from Microsoft Office is VBA - Visual Basic
for Applications.  This allows you to write
code to work in Office Applications (i.e.
to automate process or perform complex
calculations.)  This will NOT run the SDK.

BTW: VB.NET is not anything like old
fashioned Basic - it really is a whole new
language.  I would not plan on being able
to be independant from AHP anytime soon.

nikko

Being a MAPS subscriber I have the latest
and greatest; and you are right.
I will use the add-on and let them do the
hard work for me.
I was very happy to see the latest update
fixed several of my other beefs too.

These guys are more on the ball than I
initially gave them credit for and I am
slowly becoming a X-10 appreciando....

mikeywebs

MikeG:

I am a programmer by profession, and I am
interested in what you find.  Right now, I
don't have the time to play, but if things
go well for others, I'll be jumping on your
bandwagon!

mikeywebs

MikeG:

I am a programmer by profession, and I am
interested in what you find.  Right now, I
don't have the time to play, but if things
go well for others, I'll be jumping on your
bandwagon!

mikeywebs

MikeG:

I am a programmer by profession, and I am
interested in what you find.  Right now, I
don't have the time to play, but if things
go well for others, I'll be jumping on your
bandwagon!