@pietrolubini/homebridge-ecoflow
Version:
Homebridge plugin for EcoFlow devices
22 lines (21 loc) • 562 B
TypeScript
import { EnableType } from '@ecoflow/characteristics/characteristicContracts';
export declare enum SupplyPriorityType {
Supply = 0,
Storage = 1
}
export interface Heartbeat {
pv1InputWatts?: number;
pv2InputWatts?: number;
batInputWatts?: number;
batSoc?: number;
invOutputWatts?: number;
invOnOff?: EnableType;
invBrightness?: number;
supplyPriority?: SupplyPriorityType;
permanentWatts?: number;
upperLimit?: number;
lowerLimit?: number;
}
export interface PowerStreamAllQuotaData {
'20_1': Heartbeat;
}