Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to configure Aqara Hub in Homebridge #290

Open
carlosgabrielarpini opened this issue Oct 2, 2020 · 0 comments
Open

Trying to configure Aqara Hub in Homebridge #290

carlosgabrielarpini opened this issue Oct 2, 2020 · 0 comments

Comments

@carlosgabrielarpini
Copy link

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 ()
at MiAqaraPlatform.sendWhoisCommand (/usr/local/lib/node_modules/homebridge-xiaomi/index.js:175:58)
at HomebridgeAPI. (/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. (/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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant