node-red-contrib-mobius-flow-dali
Version:
Node-RED nodes to work with MOBiUSFlow and DALI devices
22 lines (21 loc) • 779 B
TypeScript
export interface NodeInterface {
status(status: any): any;
on(type: 'input', callback: (msg: any, done: any) => void): any;
on(type: 'close', callback: (done: any) => void): any;
send(msg: any): any;
log(msg: string): any;
warn(msg: string): any;
error(msg: string): any;
}
export interface IEMLightController {
status(status: any): any;
on(type: 'input', callback: (msg: any, done: any) => void): any;
on(type: 'close', callback: (done: any) => void): any;
send(msg: any): any;
log(msg: string): any;
warn(msg: string): any;
error(msg: string): any;
getDeviceAddress(uri: string, callback: any): any;
selectDALICommand(topic: string): number[];
sendIQRFDALICommand(uri: string, daliCommand: number[]): void;
}