homebridge-mi-aqara
homebridge-mi-aqara copied to clipboard
How to identify the connection failure?
Hello there - hope you can help.
I'm trying to identify where the failure in my configuration is, as I can't get Xiaomi Gateway to appear in home, no matter what :(
I'm trying to identify the point of failure, and would really appreciate any help anyone can give me to these questions...
- Do the log files from Homebridge identify if the plug-in fails to connect to the gateway? Right now, even if I change the password or Mac to something I know to be wrong, it doesn't throw an error. How can I tell if it's actually connecting?
Here's my log :
`Loaded plugin: homebridge-mi-aqara [2018-11-3 10:08:19] Registering platform 'homebridge-mi-aqara.MiAqaraPlatform' [2018-11-3 10:08:19] --- [2018-11-3 10:08:20] Loaded plugin: homebridge-config-ui-x [2018-11-3 10:08:20] Registering platform 'homebridge-config-ui-x.config' [2018-11-3 10:08:20] --- [2018-11-3 10:08:20] Loading 1 platforms... [2018-11-3 10:08:20] [MiAqaraPlatform] Initializing MiAqaraPlatform platform... [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]************************************************************** [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO] MiAqaraPlatform v0.7.2 By YinHang [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO] GitHub: https://github.com/YinHangCode/homebridge-mi-aqara [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO] QQ Group: 107927710 [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]************************************************************** [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]start success... [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]config gateways: 7c49eb18ca4122 [2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]binding to the default interface [2018-11-3 10:08:20] Loading 0 accessories... Setup Payload: X-HM://0023ISYWYF3PH
[2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]Aqara LAN protocol server is listening on port: 9898 [2018-11-3 10:08:20] Homebridge is running on port 51826.`
- I've tried running portscan against the gateway and the Homebridge server, and it doesn't show 9898 as being open. I've reconfigured the firewall to allow UDP, but I'm assuming this should show up on portscan?
Sorry if these are terribly newbie questions, but I feel like I must be missing something simple here as most other people seem to report this working painlessly :)
Thanks in advance!
Same issues...have u solved?
i tried to setup the http web manage but i can not reach it...
Manage configuration
Before version 0.7.x, the addition and deletion of accessories are automatic. The rules are as follows: find new accessories every one hour, delete accessories which did not receive heartbeat over 7 days. Obviously, this is not easy to use. So version 0.7.0 added http web manage(if you do not set manage item, then http web manage is close.). config add these:
... { "platforms": [{ "platform": "MiAqaraPlatform", "manage": { "port": 11128, "password": "107927710" }, ...
[2018-11-3 10:08:20] [MiAqaraPlatform] [INFO]config gateways: 7c49eb18ca4122
First of all, I'm no expert, but it seems you have not provided the correct MAC address. It's too long, should be 12 characters instead of 14?