remoteHSMChange

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.
  • v2api
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

deviceSendEvent

The method deviceSendEvent() is called by the server hub anytime an attribute value changes on...

devicesSaveAll

The method devicesSaveAll() is called by the server hub to save and create virtual, shadow copies...

getAllHSMStates

The method getAllHSMStates() is called by the server hub to retrieve the current list of Hubitat...

getAllModes

The method getAllModes() is called by the server hub to retrieve the current list of system modes...

getDeviceSync

The method getDeviceSync() is called by the server hub to retrieve the current state of all...