YinHangCode / homebridge-mi-aqara

a homebridge plugin for XiaoMi Aqara plugin.
1.08k stars 154 forks source link

No devices show up and no errors in the logs #59

Closed turbidWaters closed 7 years ago

turbidWaters commented 7 years ago

I am sure this is a noob mistake I'm making. Ive rechecked every parameter, updated the RPi, Updated npm, updated homebridge, ive deleted myhome from the home app, deleted cachedaccesories, persist folder, changed the homebridge id and pairing code (more than once), but still the gateway does not appear in the home app, neither do the mijia accessories ive added. All the other accessories (apart from the mijia gateway, etc) are all pairing fine and working fine.

I appreciate the help I can get. Here is my config:

{ "platform": "MiAqaraPlatform", "sid": ["34CE00909B47"], "password": ["kkbvzr54n28rqktr"], "defaultValue": { "158d00011c94ea": { "DuplexSwitch_1": { "name": "Lobby Switch 1", "serviceType": "Switch" }, "DuplexSwitch_2": { "name": "Lobby Switch 2", "serviceType": "Switch" } }, "158d0001870f24": { "Button2": { "name": "living room button" } } } }

and here is part of the log:

Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] Initializing MiAqaraPlatform platform... Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]** Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO] MiAqaraPlatform v0.5.3 By YinHang Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO] GitHub: https://github.com/YinHangCode/homebridge-mi-aqara Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO] QQ Group: 107927710 Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]** Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] [MiAqaraPlatform][INFO]start success... Aug 30 18:55:00 pi homebridge[1206]: [2017-8-30 18:55:00] Loading 5 accessories...

Thanks!

turbidWaters commented 7 years ago

Ok, I got it to appear in the Home app, I guess its because I unplugged and re-plugged the gateway once. But I am having some other issues, like DuplexButton_86_1 Doesn't work (it works on the MI App) but DuplexButton_86_2 works but again only for single press. Will open another issue for that.