remoteModeChange

The method remoteModeChange() is called by the server hub to execute a mode change on hub running the Remote Client.  If the mode are not supported, this call should return an error.

Function remoteModeChange
Purpose Executes a mode change 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 mode to change to.  (i.e. "home", "away", etc.)
Return JSON
Name Type Return Values
status String "complete" if the mode 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...