X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: raym on October 22, 2005, 01:01:05 PM

Title: FYI - Smart Video Macros
Post by: raym on October 22, 2005, 01:01:05 PM
Hi,

I have some 'smart' macros set up to capture
video on X10 events. The macros will usually
work well. I find that if I use my computer
a lot the macros will fail more often. They
will eventually fail. I can always recover
by 'downloading timers and macros'.

I have macros set up to record video on an
X10 event.

ex (in my own language):

X10 event happens
check for flags
if flag (is set) exit
if flag (is not set) then set flag
send X10 command // starts video capture
delay for xx
send X10 command // stops video capture
clear flags
// - end of macro

When the macro fails, I can watch the flags
being set and reset in the 'file->reports-
>status' function of AHP. The flags are
getting set and reset (so I know the macro
has run) but the part where it should send
an X10 command never happens. I have tried
inserting delays between steps without any
luck.

I hope X10 can, one day, fix this.

Out of desperation, I opted for a hardware
capture device with the motion detection
built into the board.

Regards to all.

Ken