node-red-contrib-homekit-bridged
Version:
Node-RED nodes to simulate Apple HomeKit devices.
27 lines (26 loc) • 883 B
TypeScript
import { AdaptiveLightingControllerMode } from 'hap-nodejs/dist/lib/controller/AdaptiveLightingController';
import { NodeDef } from 'node-red';
import CameraConfigType from './CameraConfigType';
type HAPServiceConfigType = NodeDef & {
isParent: boolean;
hostType: number;
bridge: string;
accessoryId: string;
parentService: string;
name: string;
serviceName: string;
topic: string;
filter: boolean;
manufacturer: string;
model: string;
serialNo: string;
firmwareRev?: string;
hardwareRev?: string;
softwareRev?: string;
characteristicProperties: string;
waitForSetupMsg: boolean;
adaptiveLightingOptionsEnable?: boolean;
adaptiveLightingOptionsMode?: AdaptiveLightingControllerMode;
adaptiveLightingOptionsCustomTemperatureAdjustment?: number;
} & CameraConfigType;
export default HAPServiceConfigType;