homebridge-pentair-intellicenter-ai
Version:
Homebridge plugin for the Pentair IntelliCenter pool control system (maintained with AI assistance)
38 lines • 1.29 kB
TypeScript
import { PlatformAccessory } from 'homebridge';
import { PentairPlatform } from './platform';
/**
* Pump RPM Accessory
* Displays RPM for pumps as a light sensor (lux value) for easy visualization in Home app
* Each pump gets its own dedicated RPM sensor showing the current operating RPM
*/
export declare class PumpRpmAccessory {
private readonly platform;
private readonly accessory;
private service;
private pump;
constructor(platform: PentairPlatform, accessory: PlatformAccessory);
/**
* Get current RPM from this pump
* Shows the pump's actual operating RPM based on active circuits
*/
private getCurrentRpm;
/**
* Find the highest speed from all active pump circuits (same logic as WATTS sensor)
*/
private getHighestActivePumpSpeed;
/**
* Check if a pump circuit is currently active by looking for corresponding feature/circuit status
*/
private checkStandardCircuitActive;
private checkHeaterCircuitActive;
private isPumpCircuitActive;
/**
* Handle requests to get the current RPM value
*/
getRpm(): Promise<number>;
/**
* Update the RPM display (called when pump RPM changes)
*/
updateRpm(rpm: number): void;
}
//# sourceMappingURL=pumpRpmAccessory.d.ts.map