UNPKG

homebridge-http-sensors-switches

Version:

This plugin communicates with your devices over HTTP or MQTT. Currently it supports Light Bulb, Switches, Outlets, Fan, Garage Door, Shades / Blinds, Temperature/Humidity, Motion, Contact and Occupancy sensor, Air Quality, Smoke, Carbon Dioxide and Light

18 lines (17 loc) 388 B
type State = { param: string; topic: string; webhook: boolean; setHandler: boolean; }; type Device = { paramNames: string[]; sensors: Record<string, { defaultValue: number; range: [number, number]; }>; states: Record<string, State>; }; type DeviceConfig = Record<string, Device>; export declare const deviceConfig: DeviceConfig; export {};