Yep, that is the case. I have the same one. The device type can be easily modified to do that. Here are the instructions (it was based off @jody.albritton ’s code in that thread)
I ran into that with @jody.albritton ’s code above as well. To get your config, you can access the camera’s api (after setting the alarm areas in the camera’s web interface)
http://ADDRESS :PORT/cgi-bin/CGIProxy.fcgi?usr=USERNAME&pwd=PASSWORD&cmd=getMotionDetectConfig
The response should look like this
<CGI_Result>
<result>0</result>
<isEnable>1</isEnable>
<linkage>14</linkage>
<snapInterval>2</snapInterval>
<sensitivity>2</sensitivity>
<triggerInterval>5</triggerInterval>
<schedule0>281474976710655</schedule0>
<schedule1>281474976710655</schedule1>
<schedule2>281474976710655</schedule2>
<schedule3>281474976710655</schedule3>
<schedule4>281474976710655</schedule4>
<schedule5>281474976710655</schedule5>
<schedule6>281474976710655</schedul…
You would modfy this section in @justinlhudson ’s code
def alarmOn() {
// //log.debug "Enabling Alarm"
sendEvent(name: "alarmStatus", value: "on");
if(hdcamera == "true") {
hubGet("cmd=setMotionDetectConfig&isEnable=1")
}
else {
hubGet("/set_alarm.cgi?motion_armed=1&")
}
}