MCPcopy Create free account
hub / github.com/evcc-io/evcc / statusNotification

Method statusNotification

tests/simulator/ocppClient.ts:190–201  ·  view source on GitHub ↗
(
    connectorId: number,
    status: string,
    errorCode = "NoError"
  )

Source from the content-addressed store, hash-verified

188 }
189
190 async statusNotification(
191 connectorId: number,
192 status: string,
193 errorCode = "NoError"
194 ): Promise<any> {
195 return this.call("StatusNotification", {
196 connectorId,
197 status,
198 errorCode,
199 timestamp: new Date().toISOString(),
200 });
201 }
202
203 async meterValues(connectorId: number, power: number, energy: number): Promise<any> {
204 return this.call("MeterValues", {

Callers 2

dialMethod · 0.95
handleServerRequestMethod · 0.95

Calls 1

callMethod · 0.95

Tested by

no test coverage detected