getAllHSMStates

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.
  • v2api
  • 13640 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

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...

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...

hsmReceiveAlert

The method hsmReceiveAlert() is called by the server hub to pass along a Hubitat Safety Monitor...