I’ve about got this wrapped up. Support will be included in this week’s 3.11.0 release.
Now I’m going to be using the RequestQuickArmMode
action which doesn’t require the PINCode parameter. Prompting the user inside my Vera device service is going to take longer to implement. That could perhaps be a future enhancement. According to the docs, it looks like RequestQuickArmMode
does accept Disarmed
as a parameter.
Can you test both of these commands in your browser?
Request Stay Mode
http://192.168.1.108:3480/data_request?id=action&output_format=json&DeviceNum=169&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&action=RequestQuickArmMode&State=Stay
Request Disarmed Mode
http://192.168.1.108:3480/data_request?id=action&output_format=json&DeviceNum=169&serviceId=urn:micasaverde-com:serviceId:AlarmPartition2&action=RequestQuickArmMode&State=Disarmed
<!-- Request the Partition move into a named Arming mode (No PIN Code).
The following values must be accepted for the Arming mode, but Vendor specific values
may be input as well. If a particular Vendor doesn't support the mode requested
it is free to "promote" the mode to an equivalent, or higher, mode within it's own
set.
eg. Requested State "Night" -> Executed State "Stay"
Disarmed - The Partition is disarmed.
Armed - The Partition is currently armed, or in an "away" mode.
ArmedInstant - The Partition is currently armed, or in an "away" state, Entry triggers Alarm immediately.
Stay - The Partition is in an "at-home" mode, delays are permitted on Entry doors.
StayInstant - The Partition is in an "at-home" mode, Entry doors trigger Alarm immediately.
Night - The Partition is in an "at-home, at-night" mode, delays are permitted on Entry doors.
NightInstant - The Partition is in an "at-home, at-night" mode, Entry doors trigger Alarm immediately.
Force - The Partition is in an "away" mode, but one or more Zones are open.
Vacation - The Partition is currently armed, or in an "away" mode.
-->
<action>
<name>RequestQuickArmMode</name>
<argumentList>
<argument>
<name>State</name>
<direction>in</direction>
<relatedStateVariable>DetailedArmMode</relatedStateVariable>
</argument>
</argumentList>
</action>