kovapatrik / homebridge-midea-platform

Homebridge plugin for Midea devices
https://www.npmjs.com/package/homebridge-midea-platform
Apache License 2.0
29 stars 2 forks source link

Error: No plugin was found for the platform "midea" in your config.json. Please make sure the corresponding plugin is installed correctly. #79

Closed gklka closed 7 months ago

gklka commented 7 months ago

Describe The Bug:

I used v0.1.2 version which worked fine, but after today I updated to 1.0.3, I got the following message in console:

No plugin was found for the platform "midea" in your config.json. Please make sure the corresponding plugin is installed correctly.

To Reproduce:

  1. update the plugin from the Homebridge web UI
  2. on Plugins page, select Plugin config and add the air conditioner again (it finds the AC unit, adds the config)
  3. restart Homebridge

Expected behavior:

I think the plugin registers for different name than "midea", and the Homekit server does not find it by this name

Logs:

[4/10/2024, 12:47:15 PM] No plugin was found for the platform "midea" in your config.json. Please make sure the corresponding plugin is installed correctly.

Plugin Config

        {
            "devices": [
                {
                    "type": "Air Conditioner",
                    "name": "Kondika",
                    "id": 146235046509617,
                    "advanced_options": {
                        "token": "[...]83ce0cfee8adee2491eba99c2265bf36479e10cd3dd4f4c72c2aa101b8baad23a658a12216ec9adc68c7947bab6793dda08",
                        "key": "[...]c351a5a208fd20773d22c34326ba8ceb3f76d8bdc2"
                    },
                    "AC_options": {
                        "heatingCapable": true,
                        "outDoorTemp": true,
                        "ecoSwitch": true
                    }
                }
            ],
            "platform": "midea"
        }

Environment:

kovapatrik commented 7 months ago

It's weird you have the platform field in your config set to "midea", because in case of my plugin it never was that. It should be "midea-platform".

kovapatrik commented 7 months ago

Or maybe it was at the beginning, I just noticed you wrote v0.1.2. At the first glance I read that as v1.0.2 for some reason.

kovapatrik commented 7 months ago

Did it solve your issue?

kovapatrik commented 7 months ago

Closed until further help is needed.