|  Developer
Updated on November 13, 2021

device_updated

  • sent when some changes happened to a device (contains only changes).
				
					{
    event = "device_updated"
    _id = "588b7eb528b12d03be86f36f"
    deviceArmed = "588t7eb528b12d03be86f36f"
    name = "switch"
}				
			
Field Type Required Description
event string + type of an event
_id string + An id of the device
deviceArmed bool + See device.armed
__DEVICE_CHANGEABLE_FIELD any +
Device fields which may be updated (__DEVICE_CHANGEABLE_FIELD):
Field Type Description
name string a device name
reachable bool whether device is reachable
roomId string an id of a room this device is assigned to
ready bool Ready status of device. value means device is ready to any changes. value means device is busy.