Module device_energy_management

Source
Expand description

Generated Matter TLV encoders and decoders for Device Energy Management Cluster Cluster ID: 0x0098

This file is automatically generated from DeviceEnergyManagement.xml

Structs§

Constraints
Cost
Forecast
PowerAdjust
PowerAdjustCapability
Slot
SlotAdjustment

Functions§

decode_abs_max_power
Decode AbsMaxPower attribute (0x0004)
decode_abs_min_power
Decode AbsMinPower attribute (0x0003)
decode_attribute_json
Decode attribute value and return as JSON string
decode_esa_can_generate
Decode ESACanGenerate attribute (0x0001)
decode_esa_state
Decode ESAState attribute (0x0002)
decode_esa_type
Decode ESAType attribute (0x0000)
decode_forecast
Decode Forecast attribute (0x0006)
decode_opt_out_state
Decode OptOutState attribute (0x0007)
decode_power_adjustment_capability
Decode PowerAdjustmentCapability attribute (0x0005)
encode_modify_forecast_request
Encode ModifyForecastRequest command (0x05)
encode_pause_request
Encode PauseRequest command (0x03)
encode_power_adjust_request
Encode PowerAdjustRequest command (0x00)
encode_request_constraint_based_forecast
Encode RequestConstraintBasedForecast command (0x06)
encode_start_time_adjust_request
Encode StartTimeAdjustRequest command (0x02)
get_attribute_list
Get list of all attributes supported by this cluster