Closed BigTomFPV closed 5 years ago
Hi @BigTomFPV, you mistakenly put the eWeLink platform into the cameras array of the Camera-ffmpeg platform. It won't work that way. Instead, you should put the eWeLink platform configuration in the platforms array. Like this:
{
"bridge": {
"name": "Toms Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "111-22-333"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"ports": {
"start": 52100,
"end": 52500,
"comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
},
"platforms": [
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "Drive Camera",
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://192.168.1.240:554/user=admin&password=&channel=1&stream=0.sdp?",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 20
}
},
{
"name": "Garage Camera",
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://192.168.1.240:554/user=admin&password=&channel=3&stream=0.sdp?",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 20
}
}
]
},
{
"platform" : "eWeLink",
"name" : "eWeLink",
"email" : "HIDDENEMAIL",
"password" : "HIDDENPW",
"imei" : "136E1790-E312-466D-AAD1-50F861F94F6E"
}
]
}
Hi guys,
Getting this error while booting up
[2019-5-25 10:01:23] [homebridge-eWeLink.eWeLink] Initialization skipped. Missing configuration data. Setup Payload: X-HM://0023NJY59N94F
I ran the code
sudo npm -g install homebridge-ewelink-max
then changed my config file to whats below, any ideas? Might look a mess on here but jsonlint verifies it as valid.