Plugin Commands: Demand Response and Load Control

Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_CLEAR
 plugin drlc clear [endpoint:1]
 
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_OPT_IN
 plugin drlc opt in [endpoint:1] [eventId:4]
 
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_OPT_OUT
 plugin drlc opt out [endpoint:1] [eventId:4]
 
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_PRINT
 plugin drlc print [endpoint:1]

Detailed Description

The drlc plugin contributes CLI commands to the application framework to be used for constructing demand response load control commands.

Macro Definition Documentation

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_CLEAR

plugin drlc clear [endpoint:1]

  • Clear the load control event table.
    • endpoint - INT8U - The relevant endpoint.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_OPT_IN

plugin drlc opt in [endpoint:1] [eventId:4]

  • Modify the entry in the clients load control event table to opt in for a scheduled load control event.
    • endpoint - INT8U - The relevant endpoint.
    • eventId - INT32U - The event id of the event that the user is opting in or out of.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_OPT_OUT

plugin drlc opt out [endpoint:1] [eventId:4]

  • Modify the entry in the clients load control event table to opt out of a scheduled load control event.
    • endpoint - INT8U - The relevant endpoint.
    • eventId - INT32U - The event id of the event that the user is opting in or out of.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_DRLC_PLUGIN_DRLC_PRINT

plugin drlc print [endpoint:1]

  • Print the Demand Response Load Control Table.
    • endpoint - INT8U - The relevant endpoint.