@enyo-energy/energy-app-sdk 0.0.153 → 0.0.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/enyo-charger-appliance.d.cts +6 -0
- package/dist/cjs/types/enyo-eebus-use-cases.d.cts +75 -16
- package/dist/cjs/version.cjs +1 -1
- package/dist/cjs/version.d.cts +1 -1
- package/dist/types/enyo-charger-appliance.d.ts +6 -0
- package/dist/types/enyo-eebus-use-cases.d.ts +75 -16
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -75,4 +75,10 @@ export interface EnyoChargerApplianceMetadata {
|
|
|
75
75
|
cableLocked?: boolean;
|
|
76
76
|
/** Current charging power limit in kilowatts */
|
|
77
77
|
currentChargingLimitKw?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Hardware maximum charging power the charger can deliver, in
|
|
80
|
+
* kilowatts. Derived from the device's nameplate / capability
|
|
81
|
+
* report; treat as a physical ceiling that the EMS cannot exceed.
|
|
82
|
+
*/
|
|
83
|
+
maxChargingPowerKw?: number;
|
|
78
84
|
}
|
|
@@ -193,12 +193,34 @@ export interface EebusMgcpReading {
|
|
|
193
193
|
timestamp: Date;
|
|
194
194
|
/** Total active power in Watts. Positive = import, negative = export. */
|
|
195
195
|
activePowerW: number;
|
|
196
|
-
/**
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
/**
|
|
197
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
198
|
+
* Each phase is independently optional — single-phase peers populate
|
|
199
|
+
* only `a`, three-phase peers populate `a`, `b`, and `c`.
|
|
200
|
+
*/
|
|
201
|
+
activePowerByPhase?: {
|
|
202
|
+
a?: number;
|
|
203
|
+
b?: number;
|
|
204
|
+
c?: number;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Optional per-phase voltage in Volts, keyed by phase label. Each
|
|
208
|
+
* phase is independently optional.
|
|
209
|
+
*/
|
|
210
|
+
voltageByPhase?: {
|
|
211
|
+
a?: number;
|
|
212
|
+
b?: number;
|
|
213
|
+
c?: number;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
217
|
+
* phase is independently optional.
|
|
218
|
+
*/
|
|
219
|
+
currentByPhase?: {
|
|
220
|
+
a?: number;
|
|
221
|
+
b?: number;
|
|
222
|
+
c?: number;
|
|
223
|
+
};
|
|
202
224
|
/** Optional grid frequency in Hertz */
|
|
203
225
|
frequencyHz?: number;
|
|
204
226
|
/** Cumulative energy imported from the grid in Watt-hours */
|
|
@@ -214,10 +236,25 @@ export interface EebusMpcReading {
|
|
|
214
236
|
timestamp: Date;
|
|
215
237
|
/** Active power consumption in Watts */
|
|
216
238
|
activePowerW: number;
|
|
217
|
-
/**
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
239
|
+
/**
|
|
240
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
241
|
+
* Each phase is independently optional — single-phase peers populate
|
|
242
|
+
* only `a`, three-phase peers populate `a`, `b`, and `c`.
|
|
243
|
+
*/
|
|
244
|
+
activePowerByPhase?: {
|
|
245
|
+
a?: number;
|
|
246
|
+
b?: number;
|
|
247
|
+
c?: number;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
251
|
+
* phase is independently optional.
|
|
252
|
+
*/
|
|
253
|
+
currentByPhase?: {
|
|
254
|
+
a?: number;
|
|
255
|
+
b?: number;
|
|
256
|
+
c?: number;
|
|
257
|
+
};
|
|
221
258
|
/** Cumulative energy consumed in Watt-hours */
|
|
222
259
|
totalEnergyConsumedWh?: number;
|
|
223
260
|
}
|
|
@@ -611,12 +648,34 @@ export interface EebusEvcemReading {
|
|
|
611
648
|
timestamp: Date;
|
|
612
649
|
/** Total active charging power in Watts. */
|
|
613
650
|
activePowerW: number;
|
|
614
|
-
/**
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
651
|
+
/**
|
|
652
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
653
|
+
* Each phase is independently optional — single-phase EVSEs populate
|
|
654
|
+
* only `a`, three-phase EVSEs populate `a`, `b`, and `c`.
|
|
655
|
+
*/
|
|
656
|
+
activePowerByPhase?: {
|
|
657
|
+
a?: number;
|
|
658
|
+
b?: number;
|
|
659
|
+
c?: number;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
663
|
+
* phase is independently optional.
|
|
664
|
+
*/
|
|
665
|
+
currentByPhase?: {
|
|
666
|
+
a?: number;
|
|
667
|
+
b?: number;
|
|
668
|
+
c?: number;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Optional per-phase voltage in Volts, keyed by phase label. Each
|
|
672
|
+
* phase is independently optional.
|
|
673
|
+
*/
|
|
674
|
+
voltageByPhase?: {
|
|
675
|
+
a?: number;
|
|
676
|
+
b?: number;
|
|
677
|
+
c?: number;
|
|
678
|
+
};
|
|
620
679
|
/** Cumulative energy charged since session start, in Watt-hours. */
|
|
621
680
|
totalEnergyChargedWh?: number;
|
|
622
681
|
}
|
package/dist/cjs/version.cjs
CHANGED
|
@@ -9,7 +9,7 @@ exports.getSdkVersion = getSdkVersion;
|
|
|
9
9
|
/**
|
|
10
10
|
* Current version of the enyo Energy App SDK.
|
|
11
11
|
*/
|
|
12
|
-
exports.SDK_VERSION = '0.0.
|
|
12
|
+
exports.SDK_VERSION = '0.0.154';
|
|
13
13
|
/**
|
|
14
14
|
* Gets the current SDK version.
|
|
15
15
|
* @returns The semantic version string of the SDK
|
package/dist/cjs/version.d.cts
CHANGED
|
@@ -75,4 +75,10 @@ export interface EnyoChargerApplianceMetadata {
|
|
|
75
75
|
cableLocked?: boolean;
|
|
76
76
|
/** Current charging power limit in kilowatts */
|
|
77
77
|
currentChargingLimitKw?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Hardware maximum charging power the charger can deliver, in
|
|
80
|
+
* kilowatts. Derived from the device's nameplate / capability
|
|
81
|
+
* report; treat as a physical ceiling that the EMS cannot exceed.
|
|
82
|
+
*/
|
|
83
|
+
maxChargingPowerKw?: number;
|
|
78
84
|
}
|
|
@@ -193,12 +193,34 @@ export interface EebusMgcpReading {
|
|
|
193
193
|
timestamp: Date;
|
|
194
194
|
/** Total active power in Watts. Positive = import, negative = export. */
|
|
195
195
|
activePowerW: number;
|
|
196
|
-
/**
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
/**
|
|
197
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
198
|
+
* Each phase is independently optional — single-phase peers populate
|
|
199
|
+
* only `a`, three-phase peers populate `a`, `b`, and `c`.
|
|
200
|
+
*/
|
|
201
|
+
activePowerByPhase?: {
|
|
202
|
+
a?: number;
|
|
203
|
+
b?: number;
|
|
204
|
+
c?: number;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Optional per-phase voltage in Volts, keyed by phase label. Each
|
|
208
|
+
* phase is independently optional.
|
|
209
|
+
*/
|
|
210
|
+
voltageByPhase?: {
|
|
211
|
+
a?: number;
|
|
212
|
+
b?: number;
|
|
213
|
+
c?: number;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
217
|
+
* phase is independently optional.
|
|
218
|
+
*/
|
|
219
|
+
currentByPhase?: {
|
|
220
|
+
a?: number;
|
|
221
|
+
b?: number;
|
|
222
|
+
c?: number;
|
|
223
|
+
};
|
|
202
224
|
/** Optional grid frequency in Hertz */
|
|
203
225
|
frequencyHz?: number;
|
|
204
226
|
/** Cumulative energy imported from the grid in Watt-hours */
|
|
@@ -214,10 +236,25 @@ export interface EebusMpcReading {
|
|
|
214
236
|
timestamp: Date;
|
|
215
237
|
/** Active power consumption in Watts */
|
|
216
238
|
activePowerW: number;
|
|
217
|
-
/**
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
239
|
+
/**
|
|
240
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
241
|
+
* Each phase is independently optional — single-phase peers populate
|
|
242
|
+
* only `a`, three-phase peers populate `a`, `b`, and `c`.
|
|
243
|
+
*/
|
|
244
|
+
activePowerByPhase?: {
|
|
245
|
+
a?: number;
|
|
246
|
+
b?: number;
|
|
247
|
+
c?: number;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
251
|
+
* phase is independently optional.
|
|
252
|
+
*/
|
|
253
|
+
currentByPhase?: {
|
|
254
|
+
a?: number;
|
|
255
|
+
b?: number;
|
|
256
|
+
c?: number;
|
|
257
|
+
};
|
|
221
258
|
/** Cumulative energy consumed in Watt-hours */
|
|
222
259
|
totalEnergyConsumedWh?: number;
|
|
223
260
|
}
|
|
@@ -611,12 +648,34 @@ export interface EebusEvcemReading {
|
|
|
611
648
|
timestamp: Date;
|
|
612
649
|
/** Total active charging power in Watts. */
|
|
613
650
|
activePowerW: number;
|
|
614
|
-
/**
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
651
|
+
/**
|
|
652
|
+
* Optional per-phase active power in Watts, keyed by phase label.
|
|
653
|
+
* Each phase is independently optional — single-phase EVSEs populate
|
|
654
|
+
* only `a`, three-phase EVSEs populate `a`, `b`, and `c`.
|
|
655
|
+
*/
|
|
656
|
+
activePowerByPhase?: {
|
|
657
|
+
a?: number;
|
|
658
|
+
b?: number;
|
|
659
|
+
c?: number;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Optional per-phase current in Amperes, keyed by phase label. Each
|
|
663
|
+
* phase is independently optional.
|
|
664
|
+
*/
|
|
665
|
+
currentByPhase?: {
|
|
666
|
+
a?: number;
|
|
667
|
+
b?: number;
|
|
668
|
+
c?: number;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Optional per-phase voltage in Volts, keyed by phase label. Each
|
|
672
|
+
* phase is independently optional.
|
|
673
|
+
*/
|
|
674
|
+
voltageByPhase?: {
|
|
675
|
+
a?: number;
|
|
676
|
+
b?: number;
|
|
677
|
+
c?: number;
|
|
678
|
+
};
|
|
620
679
|
/** Cumulative energy charged since session start, in Watt-hours. */
|
|
621
680
|
totalEnergyChargedWh?: number;
|
|
622
681
|
}
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED