The method remoteHSMChange() is called by the server hub to execute a Hubitat Safety Monitor change (hsmSetArm) on hub running the Remote Client. If the HSM is not supported, this call should return an error.
| Function |
remoteHSMChange |
| Purpose |
Executes a SHM setArm command on this hub. |
| Parameters |
| Name |
Type |
Description |
| params |
Map |
(Optional) |
|
| URL Format |
/modes/set/:name |
| HTTP Method |
GET - Incoming |
| HTTP Parameters |
| Name |
Type |
Description |
| name |
String |
The name of the HSM state to change to. (i.e. "armNight", "disarm", etc.) |
|
| Return JSON |
| Name |
Type |
Return Values |
| status |
String |
"complete" if the HSM state changed, or "error" on failure. |
|