homebridge-obis-powermeter
Version:
Plugin for OBIS smart meter devices (SML/D0) to read power, energy, and voltages.
14 lines • 753 B
TypeScript
import { API, Logger, PlatformAccessory, PlatformConfig, Service as HbService, Characteristic as HbCharacteristic } from 'homebridge';
import { HomebridgeObisDevice, HomebridgeObisPowerConsumptionAccessory } from '../PlatformTypes';
export default class PowerConsumption implements HomebridgeObisPowerConsumptionAccessory {
readonly log: Logger;
readonly api: API;
accessory: PlatformAccessory;
device: HomebridgeObisDevice;
Service: typeof HbService;
Characteristic: typeof HbCharacteristic;
private powerService;
constructor(_config: PlatformConfig, log: Logger, api: API, accessory: PlatformAccessory, device: HomebridgeObisDevice);
beat(consumption: number): void;
}
//# sourceMappingURL=PowerConsumption.d.ts.map