hsmReceiveAlert

The method hsmReceiveAlert() is called by the server hub to pass along a Hubitat Safety Monitor alert (hsmSetArm) to hub running the Remote Client.  If the HSM is not supported, this call should return an error.

Function hsmReceiveAlert
Purpose Receives and forwards HSM alert events from the server hub.
Parameters
Name Type Description
params Map (Optional)
URL Format /hsm/alert/:text
HTTP Method GET - Incoming
HTTP Parameters
Name Type Description
text String Alert message text including name of the originating hub.
Return JSON
Name Type Return Values
status String "success" to indicate alert was received. Errors are not handled by the server as this is a broadcast alert.
  • 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...