UNPKG

homebridge-tuya-laundry

Version:

Allows washer/dryer cycle completion notifications using Tuya smart plugs with power meter, now using local control.

47 lines 1.11 kB
export interface TuyaApiCredentials { accessId: string; accessKey: string; countryCode: number; username: string; password: string; appSchema: string; endpoint: string; } export interface NotifyConfig { notifications?: { pushed?: PushedConfig; telegram?: TelegramConfig; ntfy?: NtfyConfig; }; laundryDevices?: LaundryDeviceConfig[]; tuyaApiCredentials?: TuyaApiCredentials; } export interface PushedConfig { appKey: string; appSecret: string; channelAlias: string; } export interface TelegramConfig { botToken: string; } export interface NtfyConfig { title: string; topic: string; serverUrl?: string; } export interface LaundryDeviceConfig { deviceId: string; name?: string; localKey: string; ipAddress: string; powerValueId: string; startValue: number; startDuration: number; endValue: number; endDuration: number; startMessage?: string; endMessage?: string; exposeStateSwitch?: boolean; protocolVersion?: string; } //# sourceMappingURL=notifyConfig.d.ts.map