@enyo-energy/energy-app-sdk 0.0.104 → 0.0.105
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-diagnostics.cjs +2 -0
- package/dist/cjs/types/enyo-diagnostics.d.cts +12 -2
- package/dist/cjs/version.cjs +1 -1
- package/dist/cjs/version.d.cts +1 -1
- package/dist/types/enyo-diagnostics.d.ts +12 -2
- package/dist/types/enyo-diagnostics.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -36,6 +36,8 @@ var EnyoDiagnosticsControlActionEnum;
|
|
|
36
36
|
EnyoDiagnosticsControlActionEnum["HeatpumpRoomOverheating"] = "heatpump_room_overheating";
|
|
37
37
|
/** Boost buffer tank temperature via heat pump. */
|
|
38
38
|
EnyoDiagnosticsControlActionEnum["HeatpumpBufferTankBoost"] = "heatpump_buffer_tank_boost";
|
|
39
|
+
/** Announce available power to the heat pump. */
|
|
40
|
+
EnyoDiagnosticsControlActionEnum["HeatpumpAvailablePowerAnnouncement"] = "heatpump_available_power_announcement";
|
|
39
41
|
})(EnyoDiagnosticsControlActionEnum || (exports.EnyoDiagnosticsControlActionEnum = EnyoDiagnosticsControlActionEnum = {}));
|
|
40
42
|
/**
|
|
41
43
|
* Enum of reason types explaining why an action was planned.
|
|
@@ -173,7 +173,9 @@ export declare enum EnyoDiagnosticsControlActionEnum {
|
|
|
173
173
|
/** Address room overheating via heat pump. */
|
|
174
174
|
HeatpumpRoomOverheating = "heatpump_room_overheating",
|
|
175
175
|
/** Boost buffer tank temperature via heat pump. */
|
|
176
|
-
HeatpumpBufferTankBoost = "heatpump_buffer_tank_boost"
|
|
176
|
+
HeatpumpBufferTankBoost = "heatpump_buffer_tank_boost",
|
|
177
|
+
/** Announce available power to the heat pump. */
|
|
178
|
+
HeatpumpAvailablePowerAnnouncement = "heatpump_available_power_announcement"
|
|
177
179
|
}
|
|
178
180
|
/**
|
|
179
181
|
* Enum of reason types explaining why an action was planned.
|
|
@@ -357,8 +359,16 @@ export interface EnyoDiagnosticsHeatpumpBufferTankBoostAction extends EnyoDiagno
|
|
|
357
359
|
/** Optional current outdoor temperature in Celsius. */
|
|
358
360
|
outdoorTemperatureC?: number;
|
|
359
361
|
}
|
|
362
|
+
/** Heatpump action: announce available power to the heat pump. */
|
|
363
|
+
export interface EnyoDiagnosticsHeatpumpAvailablePowerAnnouncementAction extends EnyoDiagnosticsControlActionBase {
|
|
364
|
+
action: EnyoDiagnosticsControlActionEnum.HeatpumpAvailablePowerAnnouncement;
|
|
365
|
+
type: EnyoApplianceTypeEnum.Heatpump;
|
|
366
|
+
isCommand: true;
|
|
367
|
+
/** Available power in Watts. */
|
|
368
|
+
powerW: number;
|
|
369
|
+
}
|
|
360
370
|
/** Union of all control plan action types. */
|
|
361
|
-
export type EnyoDiagnosticsControlAction = EnyoDiagnosticsStorageBlockDischargeAction | EnyoDiagnosticsStorageChargeFromGridAction | EnyoDiagnosticsStorageForceDischargeAction | EnyoDiagnosticsStorageChargingFromPvAction | EnyoDiagnosticsStorageDischargingIntoHomeAction | EnyoDiagnosticsChargerStartChargeAction | EnyoDiagnosticsChargerPauseChargeAction | EnyoDiagnosticsHeatpumpDhwBoostAction | EnyoDiagnosticsHeatpumpRoomOverheatingAction | EnyoDiagnosticsHeatpumpBufferTankBoostAction;
|
|
371
|
+
export type EnyoDiagnosticsControlAction = EnyoDiagnosticsStorageBlockDischargeAction | EnyoDiagnosticsStorageChargeFromGridAction | EnyoDiagnosticsStorageForceDischargeAction | EnyoDiagnosticsStorageChargingFromPvAction | EnyoDiagnosticsStorageDischargingIntoHomeAction | EnyoDiagnosticsChargerStartChargeAction | EnyoDiagnosticsChargerPauseChargeAction | EnyoDiagnosticsHeatpumpDhwBoostAction | EnyoDiagnosticsHeatpumpRoomOverheatingAction | EnyoDiagnosticsHeatpumpBufferTankBoostAction | EnyoDiagnosticsHeatpumpAvailablePowerAnnouncementAction;
|
|
362
372
|
/** Complete control plan with duration-based actions and cost estimates. */
|
|
363
373
|
export interface EnyoDiagnosticsControlPlan {
|
|
364
374
|
/** Sequence of planned actions, each with its own duration. */
|
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.105';
|
|
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
|
@@ -173,7 +173,9 @@ export declare enum EnyoDiagnosticsControlActionEnum {
|
|
|
173
173
|
/** Address room overheating via heat pump. */
|
|
174
174
|
HeatpumpRoomOverheating = "heatpump_room_overheating",
|
|
175
175
|
/** Boost buffer tank temperature via heat pump. */
|
|
176
|
-
HeatpumpBufferTankBoost = "heatpump_buffer_tank_boost"
|
|
176
|
+
HeatpumpBufferTankBoost = "heatpump_buffer_tank_boost",
|
|
177
|
+
/** Announce available power to the heat pump. */
|
|
178
|
+
HeatpumpAvailablePowerAnnouncement = "heatpump_available_power_announcement"
|
|
177
179
|
}
|
|
178
180
|
/**
|
|
179
181
|
* Enum of reason types explaining why an action was planned.
|
|
@@ -357,8 +359,16 @@ export interface EnyoDiagnosticsHeatpumpBufferTankBoostAction extends EnyoDiagno
|
|
|
357
359
|
/** Optional current outdoor temperature in Celsius. */
|
|
358
360
|
outdoorTemperatureC?: number;
|
|
359
361
|
}
|
|
362
|
+
/** Heatpump action: announce available power to the heat pump. */
|
|
363
|
+
export interface EnyoDiagnosticsHeatpumpAvailablePowerAnnouncementAction extends EnyoDiagnosticsControlActionBase {
|
|
364
|
+
action: EnyoDiagnosticsControlActionEnum.HeatpumpAvailablePowerAnnouncement;
|
|
365
|
+
type: EnyoApplianceTypeEnum.Heatpump;
|
|
366
|
+
isCommand: true;
|
|
367
|
+
/** Available power in Watts. */
|
|
368
|
+
powerW: number;
|
|
369
|
+
}
|
|
360
370
|
/** Union of all control plan action types. */
|
|
361
|
-
export type EnyoDiagnosticsControlAction = EnyoDiagnosticsStorageBlockDischargeAction | EnyoDiagnosticsStorageChargeFromGridAction | EnyoDiagnosticsStorageForceDischargeAction | EnyoDiagnosticsStorageChargingFromPvAction | EnyoDiagnosticsStorageDischargingIntoHomeAction | EnyoDiagnosticsChargerStartChargeAction | EnyoDiagnosticsChargerPauseChargeAction | EnyoDiagnosticsHeatpumpDhwBoostAction | EnyoDiagnosticsHeatpumpRoomOverheatingAction | EnyoDiagnosticsHeatpumpBufferTankBoostAction;
|
|
371
|
+
export type EnyoDiagnosticsControlAction = EnyoDiagnosticsStorageBlockDischargeAction | EnyoDiagnosticsStorageChargeFromGridAction | EnyoDiagnosticsStorageForceDischargeAction | EnyoDiagnosticsStorageChargingFromPvAction | EnyoDiagnosticsStorageDischargingIntoHomeAction | EnyoDiagnosticsChargerStartChargeAction | EnyoDiagnosticsChargerPauseChargeAction | EnyoDiagnosticsHeatpumpDhwBoostAction | EnyoDiagnosticsHeatpumpRoomOverheatingAction | EnyoDiagnosticsHeatpumpBufferTankBoostAction | EnyoDiagnosticsHeatpumpAvailablePowerAnnouncementAction;
|
|
362
372
|
/** Complete control plan with duration-based actions and cost estimates. */
|
|
363
373
|
export interface EnyoDiagnosticsControlPlan {
|
|
364
374
|
/** Sequence of planned actions, each with its own duration. */
|
|
@@ -33,6 +33,8 @@ export var EnyoDiagnosticsControlActionEnum;
|
|
|
33
33
|
EnyoDiagnosticsControlActionEnum["HeatpumpRoomOverheating"] = "heatpump_room_overheating";
|
|
34
34
|
/** Boost buffer tank temperature via heat pump. */
|
|
35
35
|
EnyoDiagnosticsControlActionEnum["HeatpumpBufferTankBoost"] = "heatpump_buffer_tank_boost";
|
|
36
|
+
/** Announce available power to the heat pump. */
|
|
37
|
+
EnyoDiagnosticsControlActionEnum["HeatpumpAvailablePowerAnnouncement"] = "heatpump_available_power_announcement";
|
|
36
38
|
})(EnyoDiagnosticsControlActionEnum || (EnyoDiagnosticsControlActionEnum = {}));
|
|
37
39
|
/**
|
|
38
40
|
* Enum of reason types explaining why an action was planned.
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED