Skip to content

minimum polling interval has changed #637

Open
@mbierman

Description

@mbierman

Describe the bug

error is showing

[timestamp] [TuyaWebPlatform] Requesting too quickly. - you can discovery once in 1020 seconds

crrently set to 601 in the plugin
Steps To Reproduce
Steps to reproduce the behavior:

  1. set the polling interval to 601
  2. watch the logs

Plugin Version
v1.1.5

Homebridge Config
Note polinginterfal was at 601 when the error occurred

{
    "name": "TuyaWebPlatform",
    "options": {
        "username": "redacted",
        "password": "redacted",
        "countryCode": "1",
        "platform": "smart_life",
        "pollingInterval": 1021
    },
    "defaults": [
        {
            "id": "redacted",
            "device_type": "outlet"
        },
        {
            "id": "redacted ",
            "device_type": "outlet"
        },
        {
            "id": "redacted",
            "device_type": "outlet"
        },
        {
            "id": "redacted",
            "device_type": "switch"
        },
        {
            "id": "redacted",
            "device_type": "outlet"
        },
        {
            "id": "redacted",
            "device_type": "outlet"
        },
        {
            "id": "redacted",
            "device_type": "outlet"
        },
        {
            "id": "redacted",
            "device_type": "outlet"
        }
    ],
    "scenes": false,
    "_bridge": {
        "username": "redacted*",
        "pin": "redacted",
        "port": 32728,
        "manufacturer": "Tuya"
    },
    "platform": "TuyaWebPlatform"
}

Device Config

Additional Context
I assume Tuya changed the interval so this should just be relfected in the UI so people don't get the error.

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