cellcortex / homebridge-yeelighter

Homebridge plugin for Yeelights - special focus on supporting features of ceiling lights
MIT License
98 stars 19 forks source link

Interval setting ignored, still polling for updates every 1 minute #89

Closed gilshahar7 closed 2 years ago

gilshahar7 commented 2 years ago

Hi, thanks for the great plug-in. i have tried to set "interval" to 10000ms (10 seconds) but the lightbulbs are still refreshed only every 1 minute which is the default setting.

How did i make sure thats the case:

My config is:

        {
            "name": "Yeelighter",
            "timeout": 5000,
            "interval": 10000,
            "ctforcolor": true,
            "blocking": false,
            "split": false,
            "override": [
                {
                    "id": "0x00000000036eba1e",
                    "name": "bedroom yeelight 2",
                    "offOnDisconnect": true
                },
                {
                    "id": "0x0000000004981936",
                    "name": "bedroom yeelight 1",
                    "ignored": false,
                    "offOnDisconnect": true
                },
                {
                    "id": "0x0000000007d1247c",
                    "name": "living room yeelight 1",
                    "offOnDisconnect": true
                },
                {
                    "id": "0x0000000012a02ae1",
                    "name": "living room yeelight 2",
                    "offOnDisconnect": true
                }
            ],
            "platform": "Yeelighter"
        }

Am i doing it wrong? Thanks in advance

cellcortex commented 2 years ago

Good catch. This was bug. I will fix it in the next update.