X10 triggers
Posted: Mon Jun 26, 2006 10:55 pm
Hi,
I'm ready to go to the next level and now use X10 events to trigger my cameras. I've read the documentation and tried to search the forum but haven't found the catalyst to get me going yet. Any advice appreciated.
Here's what I want to do:
I have X10 working on my FC4 box using the X10 universal device drivers found here: http://sourceforge.net/projects/wish. I'm using a SmartHome USB controller. All this is tested and working...
When an X10 event occurs, it can be detected by monitoring /dev/X10 devices (/dev/X10/b1 for example). I'm even able to fire off scripts on events.
Now I just need advice on the best way to have this X10 event trigger a ZM camera.
I thought the zmtrigger.pl would be the best way to work, but can't quite figure it out. It's not obvious from the source code what I should do. Do I need to hardcode into the source, or pass it parameters? (help!)
Also, there's some info in the docs on having X10 trigger directly, but again I'm not sure how to configure for my /dev/x10/ setup. It seems like it's set up to talk to X10 different from my method.
I'm sure I'm missing something obvious, so point me in a general direction and I'm sure I can figure it out.
Thanks!
David.
I'm ready to go to the next level and now use X10 events to trigger my cameras. I've read the documentation and tried to search the forum but haven't found the catalyst to get me going yet. Any advice appreciated.
Here's what I want to do:
I have X10 working on my FC4 box using the X10 universal device drivers found here: http://sourceforge.net/projects/wish. I'm using a SmartHome USB controller. All this is tested and working...
When an X10 event occurs, it can be detected by monitoring /dev/X10 devices (/dev/X10/b1 for example). I'm even able to fire off scripts on events.
Now I just need advice on the best way to have this X10 event trigger a ZM camera.
I thought the zmtrigger.pl would be the best way to work, but can't quite figure it out. It's not obvious from the source code what I should do. Do I need to hardcode into the source, or pass it parameters? (help!)
Also, there's some info in the docs on having X10 trigger directly, but again I'm not sure how to configure for my /dev/x10/ setup. It seems like it's set up to talk to X10 different from my method.
I'm sure I'm missing something obvious, so point me in a general direction and I'm sure I can figure it out.
Thanks!
David.