phea
Version:
An unoffcial Phillips Hue Entertainment API library for Node.js.
13 lines (12 loc) • 460 B
TypeScript
import { PheaEngine } from "./phea-engine";
import { Options } from "./phea-options";
export declare class HueBridge {
opts: Options;
pheaEngine: PheaEngine | null;
constructor(options: Options);
register(): Promise<any>;
getGroup(groupId: string | number): Promise<any>;
start(groupId: string): Promise<void>;
stop(): Promise<void>;
transition(lightId: (string | number)[], rgb: number[], tweenTime?: number): Promise<void>;
}