send ASCII string over serial Port after alarm was triggered
Posted: Sat Dec 02, 2006 11:10 pm
Hi,
I have been using ZM for a full 24 Hrs and I love it. It does everything that I have been looking for. I installed from the 1.22.2 LiveCD and I am using 3 cameras with a 4-port Haupauge capture card. No problems there.
I am looking for some advice on how to send an ASCII string over the serial port when an alarm has been triggered. I want to capture the string from my home automation controller and use it to trigger events from there. I don't need the X10 interface since my ZM box and HA controller are sitting on the same shelf.
I know HTML and some PHP/MySQL but have no clue when it comes to perl.
I have looked at the " How can I use ZoneMinder to trigger something else when there is an alarm?" in the readme, but I don't know how to open a com port or write to it in perl, or where to save this script to and ensure that it will be running. Is it activated through a filter?
If I asked anything I shouldn't have. I apologize. Like I said, I am a complete N00b.
Thanks for any help,
Ternitzer
I have been using ZM for a full 24 Hrs and I love it. It does everything that I have been looking for. I installed from the 1.22.2 LiveCD and I am using 3 cameras with a 4-port Haupauge capture card. No problems there.
I am looking for some advice on how to send an ASCII string over the serial port when an alarm has been triggered. I want to capture the string from my home automation controller and use it to trigger events from there. I don't need the X10 interface since my ZM box and HA controller are sitting on the same shelf.
I know HTML and some PHP/MySQL but have no clue when it comes to perl.
I have looked at the " How can I use ZoneMinder to trigger something else when there is an alarm?" in the readme, but I don't know how to open a com port or write to it in perl, or where to save this script to and ensure that it will be running. Is it activated through a filter?
If I asked anything I shouldn't have. I apologize. Like I said, I am a complete N00b.
Thanks for any help,
Ternitzer