@jabrown93/homebridge-onkyo
Version:
Homebridge plugin for Onkyo Receivers
59 lines • 1.95 kB
TypeScript
import { OnkyoPlatform } from './onkyoPlatform.js';
import { ReceiverConfig } from './receiverConfig.js';
import { PlatformAccessory, Service } from 'homebridge';
export declare class OnkyoReceiver {
private readonly platform;
private readonly eiscp;
private setAttempt;
private readonly receiver;
private readonly cmdMap;
private readonly buttons;
private state;
private m_state;
private v_state;
private i_state;
private readonly interval;
private readonly avrManufacturer;
private readonly avrSerial;
private readonly switchHandling;
private tvService?;
accessory: PlatformAccessory;
private infoService?;
private tvSpeakerService?;
private RxInputs;
private reachable;
private dimmer?;
private speed?;
private readonly inputs?;
constructor(platform: OnkyoPlatform, receiver: ReceiverConfig, accessory: PlatformAccessory);
private setUp;
private createRxInput;
private eventDebug;
private eventError;
private eventConnect;
private eventSystemPower;
private eventAudioMuting;
private eventInput;
private eventVolume;
eventClose(response: any): void;
private setPowerState;
private updatePowerState;
private polling;
private getPowerState;
private getVolumeState;
private setVolumeState;
setVolumeRelative(volumeDirection: any, context: any): void;
private getMuteState;
private setMuteState;
private getInputSource;
setInputSource(source: any, context: any): void;
remoteKeyPress(button: any): void;
identify(callback: any): void;
addSources(service: any): any;
setupInput(inputCode: any, name: string, hapId: number, television: Service): Service;
private createAccessoryInformationService;
createVolumeType(service: any): void;
createTvService(): Service;
createTvSpeakerService(): Service;
}
//# sourceMappingURL=onkyoReceiver.d.ts.map