M1G http commands

amacphee

Member
I am trying to integrate some systems that I have together and I am looking for how to accomplish it. I will put this in the context of a specific task. I want to have my doorbell trigger a command to my outdoor camera to capture a video clip/image. I already have an Elk 930 modules on its way so I should have no problem hooking that up to an input to be monitored, but the problems is getting a trigger out of the Elk system to another component. I don't see anywhere to send http calls in the rules, and I am not aware of a way to get signal triggers from outside of the Elk system. I know there are email options but that seems hacky and slow.

I have seen people talk about Elk Perl, which might be my answer. Are there any other scripting languages available that I should also consider? I do have an M1XEP module. Is there a cool 3rd party systems I could use to integrate this?
 
Is this an IP camera or an analog one tied into a DVR? If the latter, you could always just use a relay on the Elk to trip an alarm input on the DVR.
 
From an outside computer, you can send a custom ASCII command to the M1 either through serial port 0 or via Ethernet and the M1XEP.
Example: Program a custom ASCII string in the M1: "Output 3 ON"[CR,LF]
Program a Rule to fire when the custom ASCII string is received. Program the Rule to do something, like THEN Turn On Output 3.

You can also program the M1 to send out custom ASCII strings in a Rule.

The "AP" command in the M1 ASCII Protocol allows for the M1XEP to connect to an outside device or computer through the Ethernet and deliver a custom ASCII string.
 
The camera is an ip camera so a relay would be difficult.

The M1 ASCII protocall looks to be close to what I am looking for. It sounds like I might need an intermediate system to execute the http command off of the trigger unless I can figure out a way to use the string sent to the ip. I will look into the interfaces on my Foscam camera and see what is available.

Thanks guys!
 
The camera is an ip camera so a relay would be difficult.

The M1 ASCII protocall looks to be close to what I am looking for. It sounds like I might need an intermediate system to execute the http command off of the trigger unless I can figure out a way to use the string sent to the ip. I will look into the interfaces on my Foscam camera and see what is available.

Thanks guys!

Since you didn't clarify in your OP I figured I'd ask to better help you out.

Most of the IP cameras I deal with on a day to day basis have an input and an output on the camera, I'll assume that your camera does not.
 
Sorry, I should have specified in my OP what camera I was using.

Spanky, I don't see an AP command listed in the m1 ASCII string protocall here:http://cocoontech.com/forums/files/file/10-elk-m1-ascii-protocol-serialnetwork/

Is there a better list available?
 
Back
Top