Closed marcelobiondo closed 5 years ago
This means you did not configure the plugin correctly. As you did not show us the content of your config.json, we cannot help.
This means you did not configure the plugin correctly. As you did not show us the content of your config.json, we cannot help.
Oh, sorry, i new at this. So, this is my config.json:
"bridge": {
"name": "Homebridge",
"username": "78:31:C1:D6:7B:EA",
"pin": "031-45-154"
},
"accessories": [
{
"accessory": "webostv",
"name": "TV LG",
"ip": "192.168.15.197",
"mac": "78:5D:C8:85:4A:E0",
"keyFile": "/home/pi/.homebridge/lgtvKeyFile",
"pollingInterval": 10,
"volumeControl": "slider",
"mediaControl": false,
"inputs":[
{
"appId": "com.webos.app.livetv",
"name": "Live TV"
},
{
"appId": "com.webos.app.hdmi2",
"name": "PS4"
},
{
"appId":"com.webos.app-10.hdmi1",
"name": "Vivo"
},
{
"appId": "youtube.leanback.v4",
"name": "YouTube"
},
{
"appId": "netflix",
"name": "Netflix"
}
],
"channelButtons": [3,5,7,8],
"notificationButtons": [
"Motion detected - living room",
"Motion detected - kitchen"
],
"remoteControlButtons": [
"HOME",
"LIST",
"EXIT"
],
"platforms": [
{
"platform" : "eWeLink",
"name" : "eWeLink",
"email" : "marceloppps@gmail.com",
"password" : "mypassword",
"imei" : "4AA0773B-A2BE-45D2-BDDB-20E57A005855"
}
]
}
]
}
It seems your config.json is not valid.
Try this instead:
{
"bridge": {
"name": "Homebridge",
"username": "78:31:C1:D6:7B:EA",
"pin": "031-45-154"
},
"accessories": [
{
"accessory": "webostv",
"name": "TV LG",
"ip": "192.168.15.197",
"mac": "78:5D:C8:85:4A:E0",
"keyFile": "/home/pi/.homebridge/lgtvKeyFile",
"pollingInterval": 10,
"volumeControl": "slider",
"mediaControl": false,
"inputs": [
{
"appId": "com.webos.app.livetv",
"name": "Live TV"
},
{
"appId": "com.webos.app.hdmi2",
"name": "PS4"
},
{
"appId":"com.webos.app-10.hdmi1",
"name": "Vivo"
},
{
"appId": "youtube.leanback.v4",
"name": "YouTube"
},
{
"appId": "netflix",
"name": "Netflix"
}
],
"channelButtons": [3,5,7,8],
"notificationButtons": [
"Motion detected - living room",
"Motion detected - kitchen"
],
"remoteControlButtons": [
"HOME",
"LIST",
"EXIT"
]
}
],
"platforms": [
{
"platform" : "eWeLink",
"name" : "eWeLink",
"email" : "marceloppps@gmail.com",
"password" : "mypassword",
"imei" : "4AA0773B-A2BE-45D2-BDDB-20E57A005855"
}
]
}
Tip: You may use an online JSON validator like https://jsonlint.com/ to check your JSON file.
Hi marceloppps, it've been a while since I replied and I didn't heard from you again. I suppose your problem is solved, and this is not even an issue of the homebridge-ewelink-max plugin. I am closing this issue now. If you still have trouble configuring homebridge, you may look into Homebridge Basic Troubleshooting and please do not post here. This is strictly for issues within the homebridge-ewelink-max plugin only.
I follow up installation guide here, put all toghether but this messege apears:
Load homebridge-eWeLink.eWeLink [16/02/2019 22:56:21] [homebridge-eWeLink.eWeLink] Initialization skipped. Missing configuration data.
And none of my sonoff shows on homekit...
Someone can help?