Closed lenoxys closed 11 months ago
do you use a dedicated account for the plugin ? https://github.com/homebridge-eufy-security/plugin/wiki/Create-a-dedicated-admin-account-for-Homebridge-Eufy-Security-Plugin
can you log using this account into Eufy App while plugin is disabled ? Do you see any prompt ? When done logout from this account and try to reset (red button) then log back.
Same issue on meš„²
I think something changed from eufy side.. although i was able to fix it by deleting everything. I havenāt been able to get this plugin work correctly again. Now i show that it is streaming in the logs but nothing happens on my iphone or appletv.
Just tried to create another dedicated account and joined the home. It works again.
Not sure if it helpsā¦
Thanks for the tips, guys! Unfortunately, it's still not working for me. I've tried:
1.) Using main account 2.) Using dedicated account via sharing entire home (followed guide as per lenoxys above) 3.) Using dedicated account via sharing individual devices with admin rights (ditto) 4.) Disabling 2FA 5.) Uninstalling the plugin, remove all configuration data, reset Homebridge cache, etc.
With all of that, I'm still getting the dreaded error: [EufySecurity-2.2.5] ERROR [platform.ts:228] Not connected can't continue!
Can you try the test version ?
try 2.2.6?
I'm also having this issue, tried version 2.2.5 and 2.2.7. Turned on the debug logs and it looks like a captcha is being received each time Homebridge restarts that is preventing the plugin from logging in. Logs below.
[09/02/2023 08:03:13] [EufySecurity-2.2.7] DEBUG [api.ts:83] Loaded API { apieBase: 'https://security-app.eufylife.com', country: 'AU', username: 'xxx@gmail.com', persistentData: { user_id: '', email: '', nick_name: '', device_public_keys: {}, clientPrivateKey: 'xxxxxxxxx', serverPublicKey: 'xxxxxxxxxxxx' } } [09/02/2023 08:03:13] [EufySecurity-2.2.7] DEBUG [eufysecurity.ts:174] Load previous login_hash { login_hash: 'xxxxxxxx' } [09/02/2023 08:03:13] [EufySecurity-2.2.7] DEBUG [api.ts:293] Login and get an access token { token: null, tokenExpiration: null, options: { force: false } } [09/02/2023 08:03:13] [EufySecurity-2.2.7] DEBUG [api.ts:618] Api request { method: 'post', endpoint: 'v2/passport/login_sec', responseType: undefined, token: null, data: { ab: 'AU', client_secret_info: { public_key: 'xxxxxxxxxx' }, enc: 0, email: 'xxxxx@gmail.com', password: '[]', time_zone: 36000000, transaction: '1693641793121' } } [09/02/2023 08:03:14] [EufySecurity-2.2.7] DEBUG [api.ts:631] Api request - Response { token: null, request: { method: 'post', endpoint: 'v2/passport/login_sec', data: { ab: 'AU', client_secret_info: { public_key: 'xxxxxxxxxxx' }, enc: 0, email: 'xxxxxx@gmail.com', password: '[]', time_zone: 36000000, transaction: '1693641793121' } }, response: { code: 100032, msg: 'Failed to request.', data: { captcha_id: 'ec794b48-4a56-4ec8-8ff2-8371e8a6b161', item: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAAArCAIAAACGv1O8AAAJeElEQVR4nOyabUxb1RvA7729vS0bZSusa9qydthmHaXMtWSZS+fL3JyJlCrTBEh1xqQm6owRQ3S6fXDxi2kWErdsxg8TTaRrpguKiWvWbmsmC9ICBYowQGnLW2uhxdKWvt2Xf7L7T62Ue2GKEsN+n7pznuec5znPc55z7hkwQRDABgZabwPWmQf+b2we+L+xeeD/xuaB/xsbeL0NWAMwDLPZbIlE4rHHHisuLr4/ZWJNwXF88R70YvF43GazdXR0rMmkP//8886dO2UymdPpRFGUyrBMJpPfvpb5TxDEb7/9ZjQa29ra5ubmqMQSiURra+ubb77Z2NgYDof/5qQ4jqdSKa/XOzU15fV6GQzGsmIzMzMnT540Go3xeHyp0WtFMpk8f/48CIJsNvvdd98NhUL5MiiK3rhxQyaTQRBUVVWVTqeXHWrZWFHR1dVVVFTE4/HOnj2b34vjeCAQOH78OAAAO3bsCAQCub1r6T+O43fv3pVIJCAIQhBkNBoTicQSmUAgcOjQIQAAuFyu3W7HcTx/kOHh4Vu3bo2Pj2MYtpp57Xa7Wq3esmXLBx98kN87Nzd38eJFGIYLCwvr6+uX7M013v8EQbjdbrlcDkFQYWHh1atXcyOMoujp06c3bdoEQdDZs2djsVi++uDg4LFjxzgczsmTJ/OXb1m6u7uPHj3KYDDee++9/DEtFsvBgwcZDEZ1dXV3d/eS3tXu/0QiMTg42NnZOTw8HIvFaCSVSuXFixfLys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1f/9Yc/r7++vr65lM5pEjR9Z88P/A+//u3bvVajUAAD/++KPP58vtuu8dngeUOxbJ3xxxTZienu7r64vH4ziOIwhSXl5eUVGB47jVas3KkKb+BYPBHODcsbK/1/2PYux2u9lsVqlUer1eLpeXlJRs27YNgiCDwZCVIQjir5n6JxVyG6xS7V/j3LlzbDZ7+/btBoPhH53o/+u3JIuWXZH8TFv3NPn7/JE/uR8562rSv8ofD8wbyu0s/4Hz7x/lgf8bm/8FAAD//1XENS1PhbtSAAAAAElFTkSuQmCC' } } } [09/02/2023 08:03:14] [EufySecurity-2.2.7] DEBUG [api.ts:355] Login - Captcha verification received { captchaId: 'ec794b48-4a56-4ec8-8ff2-8371e8a6b161', item: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAAArCAIAAACGv1O8AAAJeElEQVR4nOyabUxb1RvA7729vS0bZSusa9qydthmHaXMtWSZS+fL3JyJlCrTBEh1xqQm6owRQ3S6fXDxi2kWErdsxg8TTaRrpguKiWvWbmsmC9ICBYowQGnLW2uhxdKWvt2Xf7L7T62Ue2GKEsN+n7pznuec5znPc55z7hkwQRDABgZabwPWmQf+b2we+L+xeeD/xuaB/xsbeL0NWAMwDLPZbIlE4rHHHisuLr4/ZWJNwXF88R70YvF43GazdXR0rMmkP//8886dO2UymdPpRFGUyrBMJpPfvpb5TxDEb7/9ZjQa29ra5ubmqMQSiURra+ubb77Z2NgYDof/5qQ4jqdSKa/XOzU15fV6GQzGsmIzMzMnT540Go3xeHyp0WtFMpk8f/48CIJsNvvdd98NhUL5MiiK3rhxQyaTQRBUVVWVTqeXHWrZWFHR1dVVVFTE4/HOnj2b34vjeCAQOH78OAAAO3bsCAQCub1r6T+O43fv3pVIJCAIQhBkNBoTicQSmUAgcOjQIQAAuFyu3W7HcTx/kOHh4Vu3bo2Pj2MYtpp57Xa7Wq3esmXLBx98kN87Nzd38eJFGIYLCwvr6+uX7M013v8EQbjdbrlcDkFQYWHh1atXcyOMoujp06c3bdoEQdD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IYDJs3b5ZKpW63m0YslUqdP3/++PHj/f39VFPn8yefaVYhl8XFRZfLtbCwkP/9FwwGT5w48c4779BfclEU9fv9PT09S15jlqWlpUWpVHK53Obm5hWF75e1f/9Yc/r7++vr65lM5pEjR9Z88P/A+//u3bvVajUAAD/++KPP58vtuu8dngeUOxbJ3xxxTZienu7r64vH4ziOIwhSXl5eUVGB47jVas3KkKb+BYPBHODcsbK/1/2PYux2u9lsVqlUer1eLpeXlJRs27YNgiCDwZCVIQjir5n6JxVyG6xS7V/j3LlzbDZ7+/btBoPhH53o/+u3JIuWXZH8TFv3NPn7/JE/uR8562rSv8ofD8wbyu0s/4Hz7x/lgf8bm/8FAAD//1XENS1PhbtSAAAAAElFTkSuQmCC' } [09/02/2023 08:03:14] [EufySecurity-2.2.7] DEBUG [platform.ts:233] EufyClient connected false [09/02/2023 08:03:14] [EufySecurity-2.2.7] ERROR [platform.ts:239] Not connected can't continue!
Yeah in that case unfortunately you will need to create a new account looks like the old one will be permanently asked for captcha :(
@lenoxys Apologies for lack of response on my end. I was away, but was able to update to the latest version yesterday and all is well using the dedicated admin account.
Ha cool fix is working properly so I've 2 positive feedback I'm glad it's works !
Logs: https://drive.google.com/drive/folders/1G5Cxc7BTOAaCeoDopsUR5yoI9kwldkIr?usp=sharing
Originally posted by @frozenfractals in https://github.com/homebridge-eufy-security/plugin/issues/379#issuecomment-1696935344