UNPKG

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

21 lines (20 loc) 492 B
import { PlatformConfig } from "homebridge"; export declare type PerDeviceConfig = { name?: string; address: string; pass_code?: string; } & ({ has_tilt: true; tilt_motor: { address: string; pass_code?: string; orientation: "vertical" | "horizontal"; }; } | { has_tilt: false; }); export interface AM43Config extends PlatformConfig { poll_interval: number; hap_interaction_timeout: number; allowed_devices: PerDeviceConfig[]; }