client Secret declared in CloudConnector's configuration.
client Secret declared in CloudConnector's configuration.
id of the CloudConnector/DeviceType.
log obj.
log obj. in debug level (or print)
Find the list of external id of sub-devices
Find the list of external id of sub-devices
the DeviceInfo of the parent device
the list of external id (as String)
Find ExtDtid of the sub device
Find ExtDtid of the sub device
the DeviceInfo of the parent device
the external id of the sub-device
the ExtDtid of the sub-device or None if not found or not set
Find the latest value of user data.
Find the latest value of user data. It's a costly call (vs using DeviceInfo.userData that includes the value when notification or action was received), use with care.
the DeviceInfo of the parent device
the user data of the device or None if not found or not set
Find user data of the sub device
Find user data of the sub device
the DeviceInfo of the parent device
the external id of the sub-device
the user data of the sub-device or None if not found or not set
epoch in millis
Read-only Map to access Custom Parameters provided in CloudConnector's configuration.
Read-only Map to access Custom Parameters provided in CloudConnector's configuration.
// in groovy ctx.parameters()["key"] == "value"
read-only list of scopes declared in CloudConnector's configuration.
replaced by findExtSubDeviceId
replaced by findExtSubDeviceTypeIdByExtSubDeviceId
replaced by findUserDataByExtSubDeviceId
Data provide from Context are read-only