plugin: [Bug]: Updating to Node.js 20.11.1 causes ffmpeg to not start, camera not found etc.
What happened?
After updating to Node.js 20.11.1, ffmpeg would not start, P2P times out etc. Backdating to 20.11.0 fixes the problem.
More info on setup: Plugin version 2.2.21 Homebridge version: 1.7.0 NodeJS version: 20.11.1 is broken!!! 20.11.0 is ok Operating system: Linux homebridge 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux
Device Type
Indoor Camera (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
other (UnSupported)
NodeJS Version
v18 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Living Room Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:20[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:20[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:28[0m[0m] [32m[EufySecurity][39m[0m[0m [34m[1mINFO[22m[39m[0m[0m Living Room station livestream (P2P session) for Living Room has started.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:39[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Kitchen Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:39[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:39[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:43[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room ffmpeg process timed out.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:50[0m[0m] [32m[EufySecurity][39m[0m[0m [34m[1mINFO[22m[39m[0m[0m Living Room station livestream (P2P session) for Living Room has started.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:51[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Kitchen Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:51[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:58[0m[0m:51[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:02[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Kitchen Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:02[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:02[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:05[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room ffmpeg process timed out.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:14[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Kitchen Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:14[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:14[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:23[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Living Room Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:23[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:23[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Living Room No camera source detected.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:25[0m[0m] [32m[EufySecurity][39m[0m[0m [34m[1mINFO[22m[39m[0m[0m Living Room station livestream (P2P session) for Living Room has started.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:25[0m[0m] [32m[EufySecurity][39m[0m[0m [31m[1mERROR[22m[39m[0m[0m Kitchen Local livestream didn't start in time. Abort livestream request.
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:25[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen Could not get snapshot from livestream!
[02[0m[0m/16[0m[0m/2024[0m[0m, 21[0m[0m:59[0m[0m:25[0m[0m] [32m[EufySecurity][39m[0m[0m [33m[1mWARN[22m[39m[0m[0m Kitchen No camera source detected.
config
{
"username": "xxx",
"password": "xxx",
"country": "US",
"deviceName": "",
"stations": [
{
"hkHome": 1,
"hkAway": 0,
"serialNumber": "xxx",
"hkNight": 3,
"hkOff": 63
},
{
"serialNumber": "xxx,
"manualTriggerModes": []
}
],
"platform": "EufySecurity",
"ignoreStations": [],
"ignoreDevices": [],
"cleanCache": true,
"cameras": [
{
"serialNumber": "xxx",
"useCachedLocalLivestream": true,
"videoConfig": {
"audio": true,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 15,
"useSeparateProcesses": true
},
"talkback": true,
"enableCamera": "true",
"hsv": true,
"hsvRecordingDuration": 90,
"hsvConfig": {},
"unbridge": false,
"snapshotHandlingMethod": 2,
"refreshSnapshotIntervalMinutes": 5
},
{
"serialNumber": "xxx,
"useCachedLocalLivestream": true,
"videoConfig": {
"audio": true,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 15,
"useSeparateProcesses": true
},
"talkback": true,
"enableCamera": "true",
"hsv": true,
"hsvRecordingDuration": 90,
"hsvConfig": {},
"unbridge": false,
"snapshotHandlingMethod": 2,
"refreshSnapshotIntervalMinutes": 5
}
],
"_bridge": {
"username": "xxx",
"port": 32980
}
}
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 29 (3 by maintainers)
Yeah nodejs is the cause of the issue. Use 2.3.22 it will prevent plugin to work on NodeJS version which introduced the bug
Hi @lenoxys ,
I have restarted the access data process at Miele. That seems to have helped.