From Yombo
< docs‎ | hooks
Jump to: navigation, search
Hook name _device_status_
Status Active
Hook source type Library
Stop on exception No
Commonly used Yes
Implemented by devices


Sent when a device changes status.


Called whenever any attribute about the device's status changes. Actually handled by the Devices::_base_device.py within the devices folder.


  • device - (Obj) Reference to the device instance.
  • command - (Obj) Reference to the command being send to the device.
  • request_id - (String) ID of the device command, AKA, the request ID for this command.
  • reported_by - () Information regarding what module or what resource is reporting the status change.
  • gateway_id - (String) The Gateway ID where the status is being reported by.


Not expecting any data returned.

This page was last edited on 9 December 2017.