homebridge-purpleair-sensor
Version:
Monitor air quality using PurpleAir.
25 lines • 884 B
TypeScript
/**
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
*/
export declare const PLATFORM_NAME = "PurpleAirSensor";
/**
* This must match the name of your plugin as defined the package.json
*/
export declare const PLUGIN_NAME = "homebridge-purpleair-sensor";
/**
* This is the default update interval in seconds - 5 minutes.
*/
export declare const DEFAULT_UPDATE_INTERVAL_SECS: number;
/**
* Never update more frequently than the following value - 30 seconds.
*/
export declare const MIN_UPDATE_INTERVAL_SECS = 30;
/**
* Timeout after which to consider a sensor or API failed - 1 hour.
*/
export declare const SENSOR_FAILURE_TIMEOUT_SECS: number;
/**
* The base URL for the PurpleAir API.
*/
export declare const PURPLEAIR_API_BASE_URL = "https://api.purpleair.com/v1/sensors";
//# sourceMappingURL=settings.d.ts.map