bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

Config entry [sensorDevices] is not configured correctly so ignoring. - son off button #557

Open heldan0 opened 1 week ago

heldan0 commented 1 week ago

Hi,

I have a problem with my sonoff. I bought ZB Bridge-P and button SNZB-01P. I installed the plugin, and configured buttons in ewelink.

I added to my config:

{
    "bridge": {
        "name": "Name",
        "username": "Username",
        "port": port,
        "pin": "xxx-xx-xxx-xx",
        "advertiser": "advertiser"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "platform": "Shelly",
            "name": "Shelly"
        },
        {
            "platform": "ShellyNG",
            "name": "Shelly NG"
        },
        {
            "name": "eWeLink",
            "username": "username",
            "password": "password",
            "mode": "lan",
            "language": "en",
            "platform": "eWeLink",
            "sensorDevices": {
                "deviceId": "a480098895",
                "deviceModel": "SNZB-01P"
            }
        }
    ]
}

But when I restart home bridge I get the message: Config entry [sensorDevices] is not configured correctly so ignoring.

What could be the problem?