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, Door, Sprinkler, Valve, Air Quality, Smoke, C

19 lines (18 loc) 418 B
type Sensor = { defaultValue: number; range: [number, number]; transform?: (value: number) => number; }; type State = { param: string; topic: string; webhook: boolean; }; type SensorConfig = { paramNames: string[]; sensors: Record<string, Sensor>; states: Record<string, State>; }; type Sensors = Record<string, SensorConfig>; export declare const sensorConfig: Sensors; export {};