calvarium / homebridge-lifx-plugin

A plugin that adds lifx-lights in the network automatically to the homebridge, also single lights can be added manually
Apache License 2.0
31 stars 11 forks source link

Phantom Updates on LIFX GU10 After Homebridge Restarts #8

Closed L0T8 closed 2 years ago

L0T8 commented 2 years ago

Describe The Bug: Every time the Homebridge restarts, the phantom updates appear for LIFX GU10 bulbs. I have three GU10 bulbs, and they sometimes show one to three updates. They disappear on their own after one to 12 hours. The phantom update doesn't happen for other LIFX bulbs, including A19 and Day & Dusk.

To Reproduce:

  1. Have a LIFX GU10 bulb
  2. Restart Homebridge
  3. Receive a notification for the "phantom" update

Expected behavior: The phantom update should not happen for GU10 bulbs. There should be an option to disable an update check for bulb/s. Homebridge API documentation mentions Firmware Update.

Logs:

N/A

Plugin Config:

        {
            "name": "LIFX Plugin",
            "duration": 0,
            "brightnessDuration": 300,
            "colorDuration": 300,
            "broadcast": "255.255.255.255",
            "lightOfflineTolerance": 3,
            "messageHandlerTimeout": 45000,
            "resendPacketDelay": 150,
            "resendMaxTimes": 3,
            "debug": false,
            "autoDiscover": true,
            "excludes": [
                {
                    "name": "LIFX Switch",
                    "id": "d073d5635c52"
                }
            ],
            "platform": "LifxPlugin"
        }

Screenshots: IMG_9BEFCF97BA11-1

Environment:

calvarium commented 2 years ago

Hi @L0T8,

I had the same problem with my Z Strips that are secondarily not connected to power. In the latest update (v0.1.21) we should no longer have problems with the update function of the Homekit. In addition, I have added the function to disable updates manually

If you have any other problems with the plugin let me know

L0T8 commented 2 years ago

Hi @calvarium,

Thanks for the quick fix. The phantom update no longer shows up for GU10 when I restart my Homebridge

-L0T8