Closed beamwerks closed 2 years ago
Please don't use _
in the camera names, this could lead to errors with Apple Home
try this config.json
{
"name": "CameraUI",
"port": 8283,
"atHomeSwitch": true,
"debug": true,
"mqtt": {
"active": false,
"tls": false,
"port": 1883
},
"http": {
"active": true,
"port": 7272,
"localhttp": false
},
"smtp": {
"active": false,
"port": 2727,
"space_replace": "+"
},
"ftp": {
"active": false,
"useFile": false,
"port": 5050
},
"ssl": {
"active": false
},
"options": {
"videoProcessor": "/homebridge/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
},
"cameras": [
{
"name": "Eufy_1",
"manufacturer": "Eufy",
"model": "Indoor",
"motion": true,
"motionTimeout": 15,
"unbridge": true,
"hsv": false,
"prebuffering": true,
"prebufferLength": 4,
"videoConfig": {
"source": "-i rtsp://192.168.1.107:554/live0",
"subSource": "-i rtsp://192.168.1.107:554/live0",
"stillImageSource": "-i rtsp://192.168.1.107:554/live0",
"maxStreams": 2,
"maxWidth": 1920,
"maxHeight": 1080,
"vcodec": "copy",
"acodec": "libfdk_aac",
"videoFilter": "scale=1280:720",
"audio": false,
"debug": true,
"rtspTransport": "tcp"
},
"smtp": {
"email": "Eufy_1"
},
"videoanalysis": {
"active": true
},
"mqtt": {}
},
{
"name": "Eufy_2",
"manufacturer": "Eufy",
"model": "Security Cam",
"motion": true,
"unbridge": true,
"hsv": false,
"prebuffering": true,
"prebufferLength": 4,
"videoConfig": {
"source": "-i rtsp://192.168.1.149:554/live0",
"maxStreams": 2,
"maxWidth": 1920,
"maxHeight": 1080,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": true,
"stillImageSource": "-i rtsp://192.168.1.149:554/live0",
"subSource": "-i rtsp://192.168.1.149:554/live0",
"rtspTransport": "tcp"
},
"videoanalysis": {
"active": true
},
"motionTimeout": 15,
"smtp": {
"email": "Eufy_2"
},
"mqtt": {}
}
],
"platform": "CameraUI"
}
still getting the 'handling thru extern controller' error and no recordings.
is it because i'm also using the eufy app for recordings?
update: looks like i can change the camera ui settings to allow motion trigger thru the ui but not thru "external controller" and i can manually trigger a recording that saves. but as soon as i reboot homebridge, that setting is turned off again.
still getting the 'handling thru extern controller' error and no recordings.
is it because i'm also using the eufy app for recordings?
update: looks like i can change the camera ui settings to allow motion trigger thru the ui but not thru "external controller" and i can manually trigger a recording that saves. but as soon as i reboot homebridge, that setting is turned off again.
Describe the bug I can't get eufy cams to record within camera.ui. Using http triggers and I get this response in the logs and if i hit the trigger url directly: {"error":false,"message":"Handling through extern controller.."}
i've disabled hsv and also tried setting continuous recording the eufy app to both yes and no.
json config
To Reproduce new eufy cam, configure as above in json. have enabled http server in camera.ui interface
Expected behavior A clear and concise description of what you expected to happen.
Logs [4/7/2022, 2:08:30 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-04-07T20:08:30.049Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Eufy_1 [4/7/2022, 2:08:30 PM] [CameraUI] Eufy_1: {"error":false,"message":"Handling through extern controller.."} [4/7/2022, 2:08:30 PM] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":18.91796875,"sensitivity":82,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Eufy_1 [4/7/2022, 2:08:30 PM] [CameraUI] Eufy_1: {"error":false,"message":"Handling through extern controller.."} [4/7/2022, 2:08:30 PM] [CameraUI] Eufy_1: Motion ON [4/7/2022, 2:08:31 PM] [CameraUI] Eufy_1: New motion detected, resetting motion in 60s.. [4/7/2022, 2:08:31 PM] [CameraUI] Eufy_1: Motion data: [{"zone":"region0","percent":9.48133659362793,"sensitivity":92,"dwell":60,"forceClose":3}]}
Screenshots If applicable, add screenshots to help explain your problem.
Environment