The method getAllHSMStates() is called by the server hub to retrieve the current list of Hubitat Safety Monitor states on the hub running the Remote Client. If this remote hub does not support HSM, it should return an empty list on this call.
Function |
getAllHSMStates |
Purpose |
Returns a list of all configured HSM States and the active state on this hub. |
Parameters |
None |
URL Format |
/hsm/get |
HTTP Method |
GET - Incoming |
HTTP Parameters |
None |
Return JSON |
Name |
Type |
Return Values |
hsmStatus |
String |
Current HSM state. (i.e. "armAway", "armNight", etc.) |
hsmSetArm
|
List |
List of objects containing the current value of each attribute.
|
|