Open livefeed opened 7 years ago
Can you post your config.json?
{ "bridge": { "name": "Homebridge", "username": "****", "port": 51826, "pin": "123-45-*" }, "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.", "accessories": [ { "accessory": "Chamberlain", "name": "Garage Door", "username": "MYEMAIL", "password": "*****", "deviceId": "***" }, { "accessory": "WUNDERGROUND", "name": "Weather Underground", "device": "WURecklinghausen", "key": "**", "city": "pws:KM**" } ], "platforms": [
{
"platform": "Indigo",
"name": "My Indigo Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": "******",
"password": "*****",
"includeActions": true,
"includeIds": ["1970511626", "1202930629", "188029385", "1841980619"],
"excludeIds": ["98765", "43210"],
"treatAsSwitchIds": ["13579", "24680"],
"treatAsLockIds": ["112233", "445566"],
"treatAsDoorIds": ["224466", "664422"],
"treatAsGarageDoorIds": ["223344", "556677"],
"treatAsWindowIds": ["123123", "456456"],
"treatAsWindowCoveringIds": ["345345", "678678"],
"thermostatsInCelsius": false,
"accessoryNamePrefix": ""
},
{
"platform" : "HomeBridgeControllerLink"
},
{
"platform": "FoscamCamera",
"name": "Foscam",
"cameras": [
{
"username": "*******",
"password": "*****",
"host": "MYIP",
"port": 86,
"spkrEnable": true,
"spkrCompression": true,
"spkrGain": 1
},
{
"username": "*****",
"password": "******",
"host": "MYIP",
"port": 88,
"spkrEnable": true,
"spkrCompression": true,
"spkrGain": 1
},
{
"username": "*****",
"password": "*****",
"host": "MYIP",
"port": 85,
"spkrEnable": true,
"spkrCompression": true,
"spkrGain": 1
},
{
"username": "*****",
"password": "***",
"host": "MyIP",
"port": 8010,
"spkrEnable": true,
"spkrCompression": true,
"spkrGain": 1
}
]
}
]
}
Assumming MyIP
is something like 192.168.1.10
?
Yes, just hiding it to post here!
luisiam, happy to let you remote into my machine if that would help?
What version of node and homebridge are you using?
Everything is current
Can I have the node version that you are using? And what cameras are you using?
My cameras are Foscam R2 v3- 4 of them.
Node v6.9.4 Npm 4.1.2
Are you using LAN IP? Are you able to access the camera config page using that IP and port?
All 4 are over wifi and yes I can access them, it seems if the camera goes offline for whatever reason it throws the plugin into a fit and it crashes.
Any thoughts on this?
Crashing my bridge, any help to fix this error would be great;
Unhandled Rejection Detected at: Promise Promise {