Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes 31540 / 31543 Energy EVSE & DEM cluster xml (Events are 8bit not 16bit codes) #31559

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ limitations under the License.
<command source="client" code="0x07" name="CancelRequest" optional="true">
<description>Allows a client to request cancellation of a previous adjustment request in a StartTimeAdjustRequest, ModifyForecastRequest or RequestConstraintBasedForecast command</description>
</command>
<event code="0x0000" name="PowerAdjustStart" priority="info" side="server" apiMaturity="provisional" optional="true">
<event code="0x00" name="PowerAdjustStart" priority="info" side="server" apiMaturity="provisional" optional="true">
<description>PowerAdjustStart</description>
</event>
<event code="0x0001" name="PowerAdjustEnd" priority="info" side="server" apiMaturity="provisional" optional="true">
<event code="0x01" name="PowerAdjustEnd" priority="info" side="server" apiMaturity="provisional" optional="true">
<description>PowerAdjustEnd</description>
<field id="0" name="Cause" type="CauseEnum" apiMaturity="provisional" default="0x00" min="0x00" max="0x04"/>
<field id="1" name="Duration" type="elapsed_s" apiMaturity="provisional"/>
<field id="2" name="EnergyUse" type="energy_mwh" apiMaturity="provisional"/>
</event>
<event code="0x0002" name="Paused" priority="info" side="server" apiMaturity="provisional" optional="true">
<event code="0x02" name="Paused" priority="info" side="server" apiMaturity="provisional" optional="true">
<description>Paused</description>
</event>
<event code="0x0003" name="Resumed" priority="info" side="server" apiMaturity="provisional" optional="true">
<event code="0x03" name="Resumed" priority="info" side="server" apiMaturity="provisional" optional="true">
<description>Resumed</description>
<field id="0" name="Cause" type="CauseEnum" apiMaturity="provisional" default="0x00" min="0x00" max="0x04"/>
</event>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,39 +187,39 @@ limitations under the License.
<arg name="ChargingTargetSchedules" type="ChargingTargetScheduleStruct" array="true" length="7"/>
<description>The GetTargetsResponse is sent in response to the GetTargets Command.</description>
</command>
<event side="server" code="0x0000" name="EVConnected" priority="info" apiMaturity="provisional">
<event side="server" code="0x00" name="EVConnected" priority="info" apiMaturity="provisional">
<description>EVConnected</description>
<field id="0" name="SessionID" type="int32u" apiMaturity="provisional"/>
</event>
<event side="server" code="0x0001" name="EVNotDetected" priority="info" apiMaturity="provisional">
<event side="server" code="0x01" name="EVNotDetected" priority="info" apiMaturity="provisional">
<description>EVNotDetected</description>
<field id="0" name="SessionID" type="int32u" apiMaturity="provisional"/>
<field id="1" name="State" type="StateEnum" apiMaturity="provisional" min="0x00" max="0x06"/>
<field id="2" name="SessionDuration" type="elapsed_s" apiMaturity="provisional"/>
<field id="3" name="SessionEnergyCharged" type="energy_mwh" min="0" apiMaturity="provisional"/>
<field id="4" name="SessionEnergyDischarged" type="energy_mwh" min="0" optional="true" apiMaturity="provisional"/>
</event>
<event side="server" code="0x0002" name="EnergyTransferStarted" priority="info" apiMaturity="provisional">
<event side="server" code="0x02" name="EnergyTransferStarted" priority="info" apiMaturity="provisional">
<description>EnergyTransferStarted</description>
<field id="0" name="SessionID" type="int32u" apiMaturity="provisional"/>
<field id="1" name="State" type="StateEnum" apiMaturity="provisional" min="0x00" max="0x06"/>
<field id="2" name="MaximumCurrent" type="amperage_ma" min="0" max="80000" apiMaturity="provisional"/>
</event>
<event side="server" code="0x0003" name="EnergyTransferStopped" priority="info" apiMaturity="provisional">
<event side="server" code="0x03" name="EnergyTransferStopped" priority="info" apiMaturity="provisional">
<description>EnergyTransferStopped</description>
<field id="0" name="SessionID" type="int32u" apiMaturity="provisional"/>
<field id="1" name="State" type="StateEnum" apiMaturity="provisional" min="0x00" max="0x06"/>
<field id="2" name="Reason" type="EnergyTransferStoppedReasonEnum" apiMaturity="provisional" min="0x00" max="0x02"/>
<field id="4" name="EnergyTransferred" type="energy_mwh" min="0" apiMaturity="provisional"/>
</event>
<event side="server" code="0x0004" name="Fault" priority="critical" apiMaturity="provisional">
<event side="server" code="0x04" name="Fault" priority="critical" apiMaturity="provisional">
<description>Fault</description>
<field id="0" name="SessionID" type="int32u" isNullable="true" apiMaturity="provisional"/>
<field id="1" name="State" type="StateEnum" apiMaturity="provisional" min="0x00" max="0x06"/>
<field id="2" name="FaultStatePreviousState" type="FaultStateEnum" apiMaturity="provisional" min="0x00" max="0xFF"/>
<field id="4" name="FaultStateCurrentState" type="FaultStateEnum" apiMaturity="provisional" min="0x00" max="0xFF"/>
</event>
<event side="server" code="0x0005" name="RFID" priority="info" apiMaturity="provisional" optional="true">
<event side="server" code="0x05" name="RFID" priority="info" apiMaturity="provisional" optional="true">
<description>RFID</description>
<field id="0" name="UID" type="octet_string" length="10" apiMaturity="provisional"/>
</event>
Expand Down
Loading