import type { MeterProCO2Status } from '../types/device.js'; import { WoSensorTHPro } from './wo-sensor-th-pro.js'; /** CO2 alarm settings (getCo2Alarm) */ export interface MeterProCO2Alarm { /** MeterProCO2AlarmMode flags */ mode: number; lowPpm: number; highPpm: number; /** MeterProCO2AlarmStatus */ status: number; } /** CO2 colour level thresholds (getCo2LevelThresholds) */ export interface MeterProCO2LevelThresholds { greenToYellowPpm: number; yellowToRedPpm: number; } /** * Meter Pro CO2 (Temperature/Humidity/CO2 Sensor) * * Temperature and humidity behave exactly as the standard Meter. This model * additionally reports carbon dioxide in ppm, which the OpenAPI status returns * as `CO2`. * * The BLE service data for this model is not yet parsed for CO2, so `co2` is * omitted on the BLE path rather than reported as 0 - a real reading of 0 ppm * is not physically meaningful, and a placeholder would be indistinguishable * from a working sensor. * * It has every Meter Pro setting, plus the CO2 controls of pySwitchbot's * SwitchbotMeterProCO2 (3.13.0, 3.15.0), which are BLE only. */ export declare class WoSensorTHProCO2 extends WoSensorTHPro { /** Request a CO2 sample; sent once (pySwitchbot 3.13.0) */ triggerCo2Sampling(): Promise; /** * Start manual CO2 calibration; sent once (pySwitchbot 3.13.0). Place the meter outdoors in a * well-ventilated area for one minute first, and keep it still during the five-minute * calibration. */ startCo2Calibration(): Promise; /** Whether USB-C power is connected (pySwitchbot 3.13.0) */ isUsbPowered(): Promise; /** The CO2 update interval on battery power, in seconds (pySwitchbot 3.13.0) */ getCo2BatteryUpdateInterval(): Promise; /** Set the CO2 update interval on battery power, 1-65535 seconds (pySwitchbot 3.13.0) */ setCo2BatteryUpdateInterval(seconds: number): Promise; /** The CO2 update interval on USB power, in seconds (pySwitchbot 3.13.0) */ getCo2UsbUpdateInterval(): Promise; /** Set the CO2 update interval on USB power, 1-65535 seconds (pySwitchbot 3.13.0) */ setCo2UsbUpdateInterval(seconds: number): Promise; private getCo2UpdateInterval; private setCo2UpdateInterval; /** Read the CO2 alarm conditions, limits in ppm and current alarm status (pySwitchbot 3.15.0) */ getCo2Alarm(): Promise; /** * Set the CO2 alarm conditions (MeterProCO2AlarmMode flags) and limits in ppm (pySwitchbot * 3.15.0). Pass the existing limits when disabling an alarm to keep them configured. */ setCo2Alarm(mode: number, lowPpm: number, highPpm: number): Promise; /** Read the green-to-yellow and yellow-to-red CO2 thresholds in ppm (pySwitchbot 3.13.0) */ getCo2LevelThresholds(): Promise; /** Set the green-to-yellow and yellow-to-red CO2 thresholds, in 100 ppm steps (pySwitchbot 3.13.0) */ setCo2LevelThresholds(greenToYellowPpm: number, yellowToRedPpm: number): Promise; /** * Get device status (BLE-first, API-fallback) */ getStatus(): Promise; } //# sourceMappingURL=wo-sensor-th-pro-co2.d.ts.map