Skip to content

error calling API #29

@jcato77-commits

Description

@jcato77-commits

Describe The Bug:
Looks like the API keeps timing out with a bad call with 'undefined'

To Reproduce:
Simply try to connect to Winix from HomeKit or even HB

Expected behavior:
Be able to manage the device.

Logs:
[12/10/2025, 09:35:57] [homebridge-winix-purifiers] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[12/10/2025, 09:35:57] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)
[12/10/2025, 09:35:57] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)
[12/10/2025, 09:35:57] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)
[12/10/2025, 09:35:58] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)
[12/10/2025, 09:35:58] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)
[12/10/2025, 09:35:58] [homebridge-winix-purifiers] [C545-Bedroom] error calling Winix API: no data (invalid or unregistered device?)

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.
{
    "exposeAirQuality": true,
    "exposeAmbientLight": false,
    "exposePlasmawave": false,
    "exposeAutoSwitch": false,
    "exposeSleepSwitch": false,
    "filterReplacementIndicatorPercentage": 10,
    "cacheIntervalSeconds": 60,
    "deviceRefreshIntervalMinutes": 60,
    "auth": {
        "username": "XXX",
        "password": "XXXX",
        "userId": "XXX"
    },
    "deviceOverrides": [
        {
            "deviceId": "xxxxxxxxxxx",
            "serialNumber": "yyyyyyyyyyy",
            "nameDevice": "Main Bedroom Air Purifier"
        },
        {
            "deviceId": "xxxxxxxxxxx",
            "serialNumber": "yyyyyyyyyyyyyy",
            "nameDevice": "Kylie Bedroom Air Purifier"
        }
    ],
    "_bridge": {
        "username": "0E:B3:65:A2:66:A9",
        "port": 52431
    },
    "platform": "WinixPurifiers"
}

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Winix Purifier Model**: <!-- ie: C545 / C909 / etc -->
* **Plugin Version**:
* **Homebridge Version**: <!-- homebridge -V -->
* **Node.js Version**: <!-- node -v -->
* **NPM Version**: <!-- npm -v -->
* **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions