Trying to configure Aqara Hub in Homebridge
Hi everyone, I'm new in Homebridge and I'm trying to configure an Aqara Hub but I'm having this error when Homebridge starts:

[10/2/2020, 12:04:05 AM] [MiAqaraPlatform] [INFO]Aqara LAN protocol server is listening on port: 9898
[10/2/2020, 12:04:05 AM] TypeError: Cannot convert undefined or null to object
    at Function.getOwnPropertyNames (<anonymous>)
    at MiAqaraPlatform.sendWhoisCommand (/usr/local/lib/node_modules/homebridge-xiaomi/index.js:175:58)
    at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-xiaomi/index.js:106:18)
    at HomebridgeAPI.emit (events.js:327:22)
    at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:251:10)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:160:14)
    at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[10/2/2020, 12:04:05 AM] Got SIGTERM, shutting down Homebridge...]


My config file is this one:

{
            "platforms": [
                {
                    "platform": "MiAqaraPlatform",
                    "gateways": {
                        "50ec50ee4c9e": {
                            "password": "xxxxxxxx",
                            "ip": "192.168.68.104"
                        },
                        "defaultValue": {
                            "158d00053f35ff": {
                                "ContactSensor_ContactSensor": {
                                    "name": "porta da sala"
                                }
                            }
                        }
                    }
                }
            ],
            "platform": "MiAqaraPlatform"
        }


Can someone help me? Thanks a lot!