Request intent introduction

Request intents are simple message delivery objects that describe the operation of the request, such as requesting to query device information, issuing control instructions to the device, and so on.

The request intention consists of {action}.{object}.{command} rules.

  • {action} is an action, including query, config, write, fetch;
  • {object} is an object, including device, linkage, scene, position, resource, ir, ota;
  • {command} is a specific command.

The complete intent can be seen in the table below:

enum desc
config.auth.createAccount Create a virtual account
config.auth.getAuthCode Get authorization verification code
config.auth.getToken Obtain access-token
config.auth.refreshToken Refresh access token
config.position.create Create a position
config.position.delete Delete position
config.position.update Update position information
config.position.timeZone Update position timezone
query.position.info Query the subordinate position information of the current parent position
query.position.detail Query position detail
query.position.supportGateway Query the list of gateways that support sub-devices based on location
query.device.bindKey Obtain temporary credentials(bindKey) before the device is registered
query.device.bind Device registration status query
query.device.info Query device information
query.device.subInfo Query sub-device information based on the Gateway
config.device.name Update device information
config.device.position Update device position
write.device.openConnect Enable Hub to add subdevice mode
write.device.closeConnect Disable Hub to add subdevice mode
query.device.supportGateway Query the list of gateways that support sub-devices
write.device.unbind Unbind device
query.resource.info Query the details of the attributes that have been opened
query.resource.name Query device attribute name
config.resource.info Modify device attribute information
query.resource.value Query device attribute
write.resource.device Control device
fetch.resource.history Query the history of device attributes
fetch.resource.statistics Query the statistical history value of the device attribute
config.resource.subscribe Subscribe device attribute
config.resource.unsubscribe Unsubscribe device resource
query.ifttt.trigger Query what triggers the specified object type has (IF)
query.ifttt.action Query what actions the specified object type has (Then)
config.linkage.create Create linkage
query.linkage.detail Query detail information of the linkage
config.linkage.update Update linkage
config.linkage.delete Delete linkage
config.linkage.enable Enable/disable linkage
query.linkage.listByPositionId Query linkage list based on location
query.linkage.listBySubjectId Query linkage list based on object ID
config.scene.create Create scene
config.scene.update Update scene
config.scene.delete Delete scene
config.scene.run Execute scene
query.scene.detail Query detail information of the scene
query.scene.listBySubjectId Query scene list based on object ID
query.scene.listByPositionId Query scene list based on location
config.event.create Create multiple-conditions
config.event.update Update multiple-conditions
config.event.delete Delete multiple-conditions
query.event.detail Query detail information of multiple-conditions
query.event.listBySubjectId Query multiple-conditions based on subject Id
query.event.listByPositionId Query multiple-conditions based on location
query.ota.firmware Query device firmware based on device model
write.ota.upgrade Upgrade firmware (Batch upgrade)
query.ota.upgrade Query the upgrade status
query.ir.match Match tree information
query.ir.categories Obtain device type list
query.ir.brands Query brand list based on device type
query.ir.info Get remote control information
query.ir.list Query the remote control list under the gateway
query.ir.acState Query the state of the stateful air conditioner
query.ir.functions Query remote control function
query.ir.keys Query remote control buttons
config.ir.create Add remote control
config.ir.delete Delete remote control
config.ir.update Update remote control
config.ir.custom Add a custom remote
write.ir.click Click the remote control button
write.ir.startLearn Turn on infrared learning
write.ir.cancelLearn Cancel infrared learning
query.ir.learnResult Query infrared learning results
query.push.errorMsg Query the details of the failed message
Copyright © 2023 Lumi United Technology Co., Ltd. all right reserved,powered by GitbookFile Modify: 2024-09-27 21:51:47

results matching ""

    No results matching ""