Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2s not able to change speed and always set to Auto when switch on #288

Open
KPPT87 opened this issue Feb 2, 2022 · 0 comments
Open

2s not able to change speed and always set to Auto when switch on #288

KPPT87 opened this issue Feb 2, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@KPPT87
Copy link

KPPT87 commented Feb 2, 2022

Hi
I'm unable to change speed on my 2s device and when switch on the device is set to Auto mode every time.

Here's my Logs :

[02/02/2022, 20:18:08] [homebridge-xiaomi-mi-air-purifier] **This plugin threw an error from the characteristic 'Rotation Speed': Unhandled error thrown inside write handler for characteristic: device.changeFanSpeed is not a function. See https://git.io/JtMGR for more info.**
[02/02/2022, 20:18:08] [homebridge-xiaomi-mi-air-purifier] TypeError: device.changeFanSpeed is not a function
    at RotationSpeed.setHandler (/usr/local/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/rotation-speed.ts:35:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Plugin Config:

    "accessories": [
        {
            "name": "Air Purifier",
            "address": "1xxxxx",
            "token": "xxxxxxx",
            "enableAirQuality": true,
            "enableTemperature": true,
            "enableHumidity": true,
            "filterChangeThreshold": 5,
            "enableFanSpeedControl": true,
            "enableChildLockControl": false,
            "accessory": "XiaomiMiAirPurifier"
        }

Environment:

  • Plugin Version: 2.0.2
  • Homebridge Version: <4.42.0 -->
  • Node.js Version: <v16.13.2>
  • NPM Version: <v8.3.1>
  • Device: <!-- Xiaomi Air Purifier 2s
  • Operating System: <!-- Raspbian>

Please help
Thank you

@KPPT87 KPPT87 added the bug Something isn't working label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant