diff options
| author | Li Zhineng <[email protected]> | 2025-07-19 15:35:44 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2025-07-19 15:35:44 +0800 |
| commit | 02298eb69f34876143e4955b6660d5cd9d2631a5 (patch) | |
| tree | 7e073c6ff1ee1df1669337f7946ee784b93478d0 /README.md | |
| parent | e6279ae486eef2d549a4b5dd15e4e446d2180dc7 (diff) | |
| download | airmx-02298eb69f34876143e4955b6660d5cd9d2631a5.tar.gz airmx-02298eb69f34876143e4955b6660d5cd9d2631a5.zip | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -42,11 +42,11 @@ Just provide the device ID and control data. ```typescript airmx.control(1, { - power: 1, // 1 indicates on - mode: 0, // 0 indicates manual control - cadr: 47, // CADR accepts a number range from 0 - 100 - denoise: 0, // 0 indicates off - heatStatus: 0 // 0 indicates off + power: 1, // 1 indicates on + mode: 0, // 0 indicates manual control + cadr: 47, // CADR accepts a number range from 0 - 100 + denoise: 0, // 0 indicates off + heatStatus: 0, // 0 indicates off }) ``` @@ -81,10 +81,10 @@ The library replicates the built-in modes available in the official mobile applications: - **AI Mode:** Automatically adjusts CADR (Clean Air Delivery Rate) based - on data from a paired air monitor. + on data from a paired air monitor. - **Silent Mode:** Reduces fan speed to minimize noise output. - **Turbo Mode:** Maximizes the device's purification capability, operating - at 100% fan speed for rapid air cleaning. + at 100% fan speed for rapid air cleaning. ```typescript airmx.device(1).ai() |
