YinHangCode / homebridge-mi-aqara

a homebridge plugin for XiaoMi Aqara plugin.
1.08k stars 154 forks source link

Accessories not getting deleted from HomeKit #309

Open orevron opened 2 years ago

orevron commented 2 years ago

Hi I've seen this issue and I double checked my configuration. The issue is that I see these accessories in the HomeKit app but the plugin is not recognize them. I tried added the disable property to their ids and also tried to search them in the manage web console with no success. This is my configuration:

{
  "platform": "MiAqaraPlatform",
  "manage": {
    "port": 5432,
    "password": "******"
  },
  "autoRemoveAccessoryInterval": 100,
  "gateways": {
    "f0b429cc8504": {
      "password": "********",
      "ip": "x.x.x.x"
    },
    "defaultValue": {
      "Global": {
        "ignoreWriteResult": false,
        "syncValue": true
      },
      "158d000588ad0d": {
        "Global": {
          "disabled": true
        },
        "ContactSensor_ContactSensor": {
          "disabled": true
        }
      },
      "158d00042d5543": {
        "Global": {
          "disable": true
        },
        "TemperatureAndHumiditySensor2_HumiditySensor": {
          "disable": true
        },
        "TemperatureAndHumiditySensor2_TemperatureSensor": {
          "disable": true
        }
      },
      "158d0002c48270": {
        "Global": {
          "disable": true
        },
        "Button_Switch_VirtualDoublePress": {
          "disable": true
        },
        "Button_Switch_VirtualSinglePress": {
          "disable": true
        },
        "Button_StatelessProgrammableSwitch": {
          "disable": true
        }
      }
    }
  }
}

And this is my web manage console:

image

Which the accessories I want to remove not showing there. Also the bottom list of the Orphan Accessory is constantly loading without resolving:

image

This is example of one of the accessories I want to remove in HomeKit app:

image

Any ideas what could cause this and how I can fix this issue and remove those accessories?

Thanks for the help!