rench / homebridge-smarthome

this is a homebridge plugin for mijia eco-chain but also a management webapp provide web and restapi to manage your mijia eco-chain,you can control and monitor your accessory via apple's homekit or the webapp
MIT License
39 stars 4 forks source link

Don't start #3

Closed Dengor1984 closed 7 years ago

Dengor1984 commented 7 years ago

Why i have this issues? img_2732 img_2735 img_2736

Dengor1984 commented 7 years ago

Homebridge 4.22 Node 7.10

Dengor1984 commented 7 years ago

My config:

{ "bridge": { "name": "Homebridge", "username": "F0:B4:29:CF:B7:F7", "port": 36640, "pin": "000-00-001" }, "accessories": [ { "accessory": "PiTemperature", "name": "Raspberry PI Temperature" }], "platforms": [ {"platform": "smarthome-mijia", "web": {"port": 8888}, "mijia": {"sids": ["xxxx"], "passwords": ["xxxx"], "devices": [ { "sid": "Yeelight 001", "name": "Yeelight", "type": "wifi", "model": "light" } ] } } ] }

Dengor1984 commented 7 years ago

Sids and password i have changed to xxxx

rench commented 7 years ago

i think if you don't have gateway ,just let the config like

"sids":[],
"passwords":[]

And make a update action. Then print out the error message and whole config.json.

Dengor1984 commented 7 years ago

I have Gateway v2, and do sids and passwords as usual in other worked plugins

Dengor1984 commented 7 years ago

First i have the error, when i have in subdevices curtain. When i have delite the curtain - i have error with wall switch, when i delite wall switch, i have error with another device...

rench commented 7 years ago

delite -> delete? where did you delete the curtain?

please print out error message if you would like to .

Dengor1984 commented 7 years ago

I have delite the curtain from device list in MiHome app, and after i had error messages which i have shown before...

Dengor1984 commented 7 years ago

And firstwall at start plugin i have broadlink error message. After i delite broadlink in index.js, i have errors with aqara devices!(

rench commented 7 years ago

oh,it's very said. if you are using the plug,just reinstall and clean cache accessory.