homebridge-am43-blinds-bluez
Version:
A homebridge plugin to control AM43 based shade motors in HomeKit. These include the A OK and Zemismart bluetooth based motors. This plugin requires a Homebridge host that supports Bluetooth 4.0
30 lines (29 loc) • 975 B
TypeScript
export declare const DeviceValues: {
AM43_SERVICE_ID: string;
AM43_CHARACTERISTIC_ID: string;
AM43_COMMAND_PREFIX: Uint8Array;
AM43_COMMAND_ID_SET_MOVE: number;
AM43_COMMAND_PASSCODE: number;
AM43_MOVE_OPEN: number;
AM43_MOVE_CLOSE: number;
AM43_MOVE_STOP: number;
AM43_COMMAND_ID_SET_POSITION: number;
AM43_COMMAND_ID_GET_POSITION: number;
AM43_COMMAND_ID_GET_LIGHTSENSOR: number;
AM43_COMMAND_ID_GET_BATTERYSTATUS: number;
AM43_COMMAND_SET_LIMIT: number;
AM43_COMMAND_CHANGE_NAME: number;
AM43_RESPONSE_ACK: number;
AM43_RESPONSE_NACK: number;
AM43_NOTIFY_POSITION: number;
POSITION_HISTORY_LENGTH: number;
};
declare type Direction = "OPEN" | "CLOSE" | "STOP";
export declare const DIRECTION: {
[k in Direction]: 0 | 1 | 2;
};
export declare const PRIMARY_SERVICE_ID = "0000fe50-0000-1000-8000-00805f9b34fb";
export declare const NOTIFICATION_TO_EVENT: {
[key: string]: string;
};
export {};