Closed bezibaerchen closed 2 years ago
Did you check this Common Issues pages ?
As found in Common issues I ignored the base and only kept doorbell - no change
Could you try the latest beta version ? We' ve introduce huge change just on the .38 with lot of bugs sorry. It may requires some beta version before having something stable.
Sorry!
Went to beta.40, result still same:
[3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: EufyClient connected true [3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: PollingInterval: 30 [3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: Refresh data from cloud and schedule next refresh. [3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: CameraMaxLivestreamDuration: 30 [3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: Found 0 stations. [3/31/2022, 8:41:42 AM] [EufySecurity-1.1.1-beta.40] DEBUG: Found 0 devices.
Also seeing same error as @karesake
So change is that I now don't see devices in UI either...
Please refresh your browser cache
Please refresh your browser cache
Same unfortunately
This happens with a browser that never accessed Homebridge UI
Which eufy devices do you have on your setup ?
doorbell and 2 outdoor cameras. Looking at the doorcam only. From what I see config isn't written at all, will try to set manually.
No real change. After composing config myself:
3/31/2022, 9:32:26 AM] [EufySecurity] Initializing EufySecurity platform... [3/31/2022, 9:32:26 AM] [EufySecurity] Country set: DE [3/31/2022, 9:32:26 AM] [EufySecurity] Finished initializing Eufy Security Platform [3/31/2022, 9:33:45 AM] [EufySecurity] Push Closed!
Some more insights:
[3/31/2022, 9:38:24 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /init [3/31/2022, 9:38:26 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /auth [3/31/2022, 9:38:26 AM] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.40] INFO: config: {"language":"en","persistentDir":"/var/lib/homebridge/eufysecurity","p2pConnectionSetup":0,"pollingIntervalMinutes":10,"eventDurationSeconds":10,"acceptInvitations":true,"username":"
","password":" ","country":"DE"} [3/31/2022, 9:38:26 AM] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.40] INFO: country: DE [3/31/2022, 9:38:28 AM] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.40] INFO: AuthResult.OK [3/31/2022, 9:38:28 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /refreshData [3/31/2022, 9:38:32 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /getStations [3/31/2022, 9:38:32 AM] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.40] ERROR: error: undefined [3/31/2022, 9:38:32 AM] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.40] INFO: Push notification connection successfully established
I was digging around in logfile and maybe stumbled over something:
{"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Retry to register/login for push notification in 50 seconds...","time":"2022-03-31T06:55:34.791Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Retry to register/login for push notification","time":"2022-03-31T06:56:24.792Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":20,"msg":"Create new push credentials...","time":"2022-03-31T06:56:24.793Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"registerFid - Error: RequestError: connect ECONNREFUSED 127.0.0.1:443\n at ClientRequest.
(/usr/lib/node_modules/homebridge-eufy-security/node_modules/got/dist/source/core/index.js:962:111)\n at Object.onceWrapper (node:events:646:26)\n at ClientRequest.emit (node:events:538:35)\n at ClientRequest.origin.emit (/usr/lib/node_modules/homebridge-eufy-security/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)\n at TLSSocket.socketErrorListener (node:_http_client:442:9)\n at TLSSocket.emit (node:events:526:28)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {\n code: 'ECONNREFUSED',\n timings: {\n start: 1648709791912,\n socket: 1648709791912,\n lookup: 1648709791913,\n connect: undefined,\n secureConnect: undefined,\n upload: undefined,\n response: undefined,\n end: undefined,\n error: 1648709791914,\n abort: undefined,\n phases: {\n wait: 0,\n dns: 1,\n tcp: undefined,\n tls: undefined,\n request: undefined,\n firstByte: undefined,\n download: undefined,\n total: 2\n }\n }\n}","time":"2022-03-31T06:56:31.916Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"registerFid - Status return code not 200 { status: undefined, statusText: undefined, data: undefined }","time":"2022-03-31T06:56:31.917Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"registerFid - Generic Error: Error: FID registration failed with error: undefined\n at PushNotificationService.registerFid (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:88:23)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at PushNotificationService.createPushCredentials (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:145:16)\n at PushNotificationService._open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:528:32)\n at PushNotificationService.open (/usr/lib/node_modules/homebridge-eufy-security/rity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Create push credentials Error: Error: FID registration failed with error: Error: FID registration failed with error: undefined\n at PushNotificationService.registerFid (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:92:19)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at PushNotificationService.createPushCredentials (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:145:16)\n at PushNotificationService._open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:528:32)\n at PushNotificationService.open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:592:13)\n at Timeout._onTimeout (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:603:21)","time":"2022-03-31T06:56:31.930Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Push notification connection closed","time":"2022-03-31T06:56:31.931Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Push notifications are disabled, because the registration failed!","time":"2022-03-31T06:56:31.933Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Retry to register/login for push notification in 120 seconds...","time":"2022-03-31T06:56:31.933Z","v":0}node_modules/eufy-security-client/src/push/service.ts:592:13)\n at Timeout._onTimeout (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:603:21)","time":"2022-03-31T06:56:31.929Z","v":0} {"name":"[EufySecrity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Create push credentials Error: Error: FID registration failed with error: Error: FID registration failed with error: undefined\n at PushNotificationService.registerFid (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:92:19)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at PushNotificationService.createPushCredentials (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:145:16)\n at PushNotificationService._open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:528:32)\n at PushNotificationService.open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:592:13)\n at Timeout._onTimeout (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:603:21)","time":"2022-03-31T06:56:31.930Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Push notification connection closed","time":"2022-03-31T06:56:31.931Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Push notifications are disabled, because the registration failed!","time":"2022-03-31T06:56:31.933Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Retry to register/login for push notification in 120 seconds...","time":"2022-03-31T06:56:31.933Z","v":0}urity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Create push credentials Error: Error: FID registration failed with error: Error: FID registration failed with error: undefined\n at PushNotificationService.registerFid (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:92:19)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at PushNotificationService.createPushCredentials (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:145:16)\n at PushNotificationService._open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:528:32)\n at PushNotificationService.open (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:592:13)\n at Timeout._onTimeout (/usr/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/push/service.ts:603:21)","time":"2022-03-31T06:56:31.930Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Push notification connection closed","time":"2022-03-31T06:56:31.931Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":50,"msg":"Push notifications are disabled, because the registration failed!","time":"2022-03-31T06:56:31.933Z","v":0} {"name":"[EufySecurity-1.1.1-beta.40]","hostname":"debobpi001","pid":29569,"level":30,"msg":"Retry to register/login for push notification in 120 seconds...","time":"2022-03-31T06:56:31.933Z","v":0}
What got my attention is this ECONNREFUSED 127.0.0.1:443
So I skipped entering the user data, restarted the HomeBridge and then created the config manually. This is how it works first.
So I skipped entering the user data, restarted the HomeBridge and then created the config manually. This is how it works first.
Did you create the config within config.json in the plugin itself or in main config file?
Now it is doing something! Needed a combination of manual config, then going in GUI again to answer captcha, multiple restarts, but I see the camera now!
Can you share your manual config?
Can you share your manual config?
{ "platform": "EufySecurity", "name": "EufySecurity", "username": "<mailaddress>", "password": "<password>", "country": "DE", "enableDetailedLogging": 1 }
Thank you 🙏🏼 at least the settings UI is working again now. I still get an error when I try to refresh the device list though.
UI isnt working for me a hundred percent either, but devices I shared with this account are showing up.
Because I deleted my configuration my single device has now disappeared. Should have taken a backup... 🙄
When tap the refresh button I get the same error you pasted earlier about stations.length
Update on my situation. I realised I hadn't unbridged the plugin after recreating the config so I've done that and rebooted HomeBridge.
Now I have two camera instances for (I assume) the same camera.
Instance 1 shows the thumbnail but won't stream. It also has the floodlight light, motion sensor and enabled/motion switches.
Instance 2 has a motion sensor and alarm system but doesn't show the thumbnail and won't stream.
Settings UI still doesn't work.
Update 14:45
Managed to get Instance 1 streaming again by (again) forcing the video codec to be "copy" in streamingDelegate.js.
@bezibaerchen please check the latest beta version if you want you can look at beta page on wiki if you want to know how to revert into an older beta release
@bezibaerchen please check the latest beta version if you want you can look at beta page on wiki if you want to know how to revert into an older beta release
I installed latest Beta. However I had to remove the sharing for one device. I will install new one and share over the weekend, will then give it another try.
We do not accept issue on this repo. Please submit your issue on this repo : https://github.com/homebridge-eufy-security/plugin/issues, thanks. If you have any questions, please feel free to contact us.
What happened?
Dear all,
with using Beta I managed to get further with using this plugin. However, I now run into following issue:
In UI I see:
Logfiles unfortunately says:
Device Type
Doorbell (Supported)
Plugin Version
beta (Best Effort)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v14 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
No response