JanLoebel / JanLoebel/eufy-node-client-examples
Unable to run initial discovery
- Dominant language
- Shell
- Stars
- 15
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Completed the .env as appropriate and ran the http-read-data node.
When using debug=true the following returns every few seconds :
url: https://mysecurity.eufylife.com/api/v1/passport/login -> body: {"code":0,"msg":"ok","data":{"user_id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","email":"[real_user_name_returned_here]","nick_name":"user","auth_token":"yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy","token_expires_at":1608084891,"avatar":"","invitation_code":"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz","inviter_code":"","verify_code_url":"","mac_addr":"","domain":"security-app.eufylife.com","ab_code":"US","geo_key":"wwwwwwwwwwwwwwwwwwwwwwww","privilege":0,"phone":"","phone_code":"","params":null,"trust_list":[]}}
The correct P2P etc. info doesn't return. Username and other info are correct, auth_token refreshes on every return. Just in case I changed the country and language codes in the main http code under eufy-node-client, but no luck.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the initial discovery with debug=true through the http-read-data node, then inspect the main HTTP code under eufy-node-client and the returned login data. Compare the successful authentication response with the missing P2P information; the issue is done when discovery returns the expected P2P details using the configured credentials and country/language settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100