howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

Homebridge keeps crashing #32

Closed Hendriks046 closed 5 years ago

Hendriks046 commented 5 years ago

To start off, i'm pretty newbie with this. But I managed to install the ewelink-max plugin. And configurated my json file:

{ "accessories" : [ { "name" : "Example PC", "accessory" : "NetworkDevice", "pingInterval" : "15", "mac" : "EX:AM:PL:E:PC", "wakeGraceTime" : "20", "shutdownGraceTime" : "45", "ip" : "192.168.178.1" }, { "name" : "Pi Temp", "accessory" : "RaspberryPiTemperature" } ], "bridge" : { "username" : "CD:22:3D:E3:CE:15", "name" : "Homebridge", "pin" : "123-45-678", "port" : 51826 }, "platforms" : [ { "platform" : "NeatoVacuumRobot", "email" : "mhm.hendriks@hotmail.com", "password" : "" }, { "platform" : "SamsungTizen", "devices" : [ { "name" : "TV", "ip" : "192.168.178.68", "mac" : "9c:8c:6e:f4:59:a8" }, { "email" : "‪mhm.hendriks@hotmail.com‬", "password" : "", "platform" : "eWeLink", "name" : "eWeLink", "imei" : "eb29dc62-fcce-4f8a-b627-fe0d00d42147" } ] } ] }

If i launch homebridge with this configuration it crashes constantly. And none of my other plugins will work. Can you please help me solve this?

Thanks already

Hendriks046 commented 5 years ago

Fixed after configuring the config file. And trying a couple of times!