Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can’t login after plug-in remove #254

Closed
danidindin opened this issue Oct 17, 2021 · 19 comments · Fixed by #256
Closed

[Bug]: can’t login after plug-in remove #254

danidindin opened this issue Oct 17, 2021 · 19 comments · Fixed by #256
Labels
bug Something isn't working

Comments

@danidindin
Copy link

What happened?

The plug in was working well,
But after I uninstall the plug in and installed again
I can’t login again and cannot get the my camera.

I get the error:
“this.driver.refreshData is not a functional”
Someone was get this error?

What can I do?

Thanks

Device Type

Doorbell (Supported)

Plugin Version

v1.0.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v12 (Supported)

Operating System

Mac OS X

Relevant log output

No response

@danidindin danidindin added the bug Something isn't working label Oct 17, 2021
@github-actions
Copy link

Did you check this Common Issues pages ?

@danidindin
Copy link
Author

Another Log

[Homebridge UI]�[0m [homebridge-eufy-security] TypeError: this.driver.refreshData is not a function
at UiServer.requestOtp (/usr/local/lib/node_modules/homebridge-eufy-security/homebridge-ui/server.js:63:25)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async UiServer.processRequest (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/@homebridge/plugin-ui-utils/dist/server.js:75:30)

@charlierushton
Copy link

I am also getting this problem.

I am new to Homebridge so don't really know where to start

Logs:
[10/18/2021, 10:55:42 AM] [EufySecurity] Error refreshing data from Eufy: TypeError: client.refreshData is not a function
at EufySecurityPlatform.refreshData (/opt/homebrew/lib/node_modules/homebridge-eufy-security/src/platform.ts:418:22)
at EufySecurityPlatform.discoverDevices (/opt/homebrew/lib/node_modules/homebridge-eufy-security/src/platform.ts:151:16)
at HomebridgeAPI. (/opt/homebrew/lib/node_modules/homebridge-eufy-security/src/platform.ts:119:7)

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

Hello,

the best is to remove eufy security configuration and redo the install process.

How to do it :

Click delete icon when editing the setting of the plugin

screenshot-192 168 86 159_8581-2021 10 18-12_33_40

@charlierushton
Copy link

@lenoxys No joy, I've tried removing the configuration & uninstalling / reinstalling the plugin

Screenshot 2021-10-18 at 11 40 16

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

Did you use a specific account for the plugin or use the same than the one in the Eufy App ?

@charlierushton
Copy link

I use the same account as in the eufy app @lenoxys

@danidindin
Copy link
Author

I also try to uninstall the pulg-in, install again and get the error
I deleted all the homebridge and module folder, create new homebridge and also doesn't work
I create 2 deferent users and get this error aging

@charlierushton
Copy link

I also created a separate account / guest user and tried that, didn't work

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

Which version of MacOS you're using ?

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

I use the same account as in the eufy app @lenoxys

We recommend to use a different account.

@charlierushton
Copy link

Screenshot 2021-10-18 at 11 55 37

@charlierushton
Copy link

@lenoxys I've tried using a guest account, I've tried clearing the config and re-adding it via the JSON file rather than the wizard. No joy. I'm running macOS 11.6 on an M1 chip.

Any suggestions?

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

Look like an issue with MacOS. I'm able to reproduce the issue. Let me check.

@danidindin
Copy link
Author

The real issue is that it worked until i uninstall the plugin and reinstall because of problem,
i tryed in my other homebridge on rpi and Iven there it doesn't work after uninstall and reinstall it.

Someone can check if hem uninstall the plug in they can login back agin?
maybe the user is locked on the server and cant get the token again.

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

can you test the 1.0.1 ?

@crushton97
Copy link

@lenoxys I can confirm 1.0.1 allows me to get past the login stage of installation, and I can see all of my devices in Home app.

However none of my cameras (2 cams, 1 doorbell) won't stream video

[10/18/2021, 3:49:43 PM] [EufySecurity] FFmpeg process creation failed: spawn ffmpeg ENOENT Doorbell

@crushton97
Copy link

Please ignore last post - realised I didn't have FFmpeg installed

@lenoxys
Copy link
Collaborator

lenoxys commented Oct 18, 2021

Cool thanks for your feedback. I'm closing this.

@lenoxys lenoxys closed this as completed Oct 18, 2021
@lenoxys lenoxys linked a pull request Oct 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants