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

I can not remove a bulb from homekit #39

Open aberthil opened 5 months ago

aberthil commented 5 months ago

Describe Your Problem: Trying to remove a lifx bulb from homekit I removed it from LIFX cloud and app I listed the bulb in the exclusion list Yet it still shows up in homekit

Logs:

[11/04/2024, 15:36:26] Homebridge v1.7.0 (HAP v0.11.1) (Lifx Plugin) is running on port 50154.
[11/04/2024, 15:37:13] [Lifx Plugin] Bulb  throughs error setHardwareInformationError: No LIFX response in time
[11/04/2024, 15:37:16] [Lifx Plugin] Bulb  throughs error setFirmwareVersionError: No LIFX response in time
[11/04/2024, 15:45:46] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 15:45:46] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 15:45:51] [Lifx Plugin] Child bridge process ended
[11/04/2024, 15:45:51] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 15:45:58] [Lifx Plugin] Restarting Process...
[11/04/2024, 15:45:58] [Lifx Plugin] Launched child bridge with PID 602512
[11/04/2024, 15:45:58] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 15:45:59] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:45:59] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 15:47:16] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 15:47:16] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 15:47:21] [Lifx Plugin] Child bridge process ended
[11/04/2024, 15:47:21] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 15:47:28] [Lifx Plugin] Restarting Process...
[11/04/2024, 15:47:28] [Lifx Plugin] Launched child bridge with PID 602681
[11/04/2024, 15:47:29] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 15:47:29] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:47:29] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 15:49:01] [Lifx Plugin] Bulb  throughs error setFirmwareVersionError: No LIFX response in time
[11/04/2024, 15:49:20] [Lifx Plugin] Bulb  throughs error setHardwareInformationError: No LIFX response in time
[11/04/2024, 15:49:31] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 15:49:31] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 15:49:36] [Lifx Plugin] Child bridge process ended
[11/04/2024, 15:49:36] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 15:49:43] [Lifx Plugin] Restarting Process...
[11/04/2024, 15:49:43] [Lifx Plugin] Launched child bridge with PID 602863
[11/04/2024, 15:49:43] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 15:49:43] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:49:43] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 15:52:07] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 15:52:07] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 15:52:12] [Lifx Plugin] Child bridge process ended
[11/04/2024, 15:52:12] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 15:52:19] [Lifx Plugin] Restarting Process...
[11/04/2024, 15:52:19] [Lifx Plugin] Launched child bridge with PID 602955
[11/04/2024, 15:52:19] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 15:52:19] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:52:19] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 15:54:37] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 15:54:38] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 15:54:43] [Lifx Plugin] Child bridge process ended
[11/04/2024, 15:54:43] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 15:54:50] [Lifx Plugin] Restarting Process...
[11/04/2024, 15:54:50] [Lifx Plugin] Launched child bridge with PID 603046
[11/04/2024, 15:54:50] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 15:54:50] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:54:50] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 15:59:48] [Lifx Plugin] Initializing LifxPlugin platform...
[11/04/2024, 15:59:48] [Lifx Plugin] Initializing child bridge 0E:A7:3B:A3:24:26
[11/04/2024, 15:59:49] [Lifx Plugin] Launched child bridge with PID 603215
[11/04/2024, 15:59:49] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 15:59:49] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 16:00:39] [Lifx Plugin] Bulb  throughs error setFirmwareVersionError: No LIFX response in time
[11/04/2024, 16:00:44] [Lifx Plugin] Bulb  throughs error setHardwareInformationError: No LIFX response in time
[11/04/2024, 16:01:58] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 16:01:58] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 16:02:03] [Lifx Plugin] Child bridge process ended
[11/04/2024, 16:02:03] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 16:02:10] [Lifx Plugin] Restarting Process...
[11/04/2024, 16:02:10] [Lifx Plugin] Launched child bridge with PID 603345
[11/04/2024, 16:02:10] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 16:02:10] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 16:02:10] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 16:02:51] [Lifx Plugin] Restarting child bridge...
[11/04/2024, 16:02:51] Got SIGTERM, shutting down child bridge process...
[11/04/2024, 16:02:56] [Lifx Plugin] Child bridge process ended
[11/04/2024, 16:02:56] [Lifx Plugin] Process Ended. Code: 143, Signal: null
[11/04/2024, 16:03:03] [Lifx Plugin] Restarting Process...
[11/04/2024, 16:03:04] [Lifx Plugin] Launched child bridge with PID 603380
[11/04/2024, 16:03:04] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 16:03:04] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 16:03:04] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 16:12:10] [Lifx Plugin] Initializing LifxPlugin platform...
[11/04/2024, 16:12:10] [Lifx Plugin] Initializing child bridge 0E:A7:3B:A3:24:26
[11/04/2024, 16:12:11] [Lifx Plugin] Launched child bridge with PID 604080
[11/04/2024, 16:12:11] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 16:12:11] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 16:12:11] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 16:13:01] [Lifx Plugin] Bulb  throughs error setHardwareInformationError: No LIFX response in time
[11/04/2024, 16:13:08] [Lifx Plugin] Bulb  throughs error setFirmwareVersionError: No LIFX response in time
[11/04/2024, 16:13:21] [Lifx Plugin] Initializing LifxPlugin platform...
[11/04/2024, 16:13:21] [Lifx Plugin] Initializing child bridge 0E:A7:3B:A3:24:26
[11/04/2024, 16:13:22] [Lifx Plugin] Launched child bridge with PID 604692
[11/04/2024, 16:13:22] Registering platform 'homebridge-lifx-plugin.LifxPlugin'
[11/04/2024, 16:13:22] [Lifx Plugin] Loaded homebridge-lifx-plugin v0.3.0 child bridge successfully
[11/04/2024, 16:13:22] Loaded 6 cached accessories from cachedAccessories.0EA73BA32426.
[11/04/2024, 16:14:08] [Lifx Plugin] Bulb  throughs error setHardwareInformationError: No LIFX response in time

Plugin Config:


    "name": "Lifx Plugin",
    "duration": 0,
    "brightnessDuration": 300,
    "colorDuration": 300,
    "default": "0.0.0.0",
    "broadcast": "255.255.255.255",
    "lightOfflineTolerance": 3,
    "messageHandlerTimeout": 45000,
    "resendPacketDelay": 150,
    "resendMaxTimes": 3,
    "updates": true,
    "debug": false,
    "autoDiscover": false,
    "bulbs": [
        {
            "name": "Bench 2",
            "address": "192.168.1.161"
        },
        {
            "name": "Bench 1",
            "address": "192.168.1.165"
        },
        {
            "name": "TV Strip",
            "address": "192.168.1.166"
        },
        {
            "name": "Door R",
            "address": "192.168.1.167"
        },
        {
            "name": "Door L",
            "address": "192.168.1.163"
        }
    ],
    "excludes": [
        {
            "name": "Gate Light",
            "address": "192.168.1.160",
            "id": "d073d566bf6d"
        }
    ],
    "_bridge": {
        "username": "0E:A7:3B:A3:24:26",
        "port": 50154
    },
    "platform": "LifxPlugin"
}

Screenshots:

Environment: