bropat / eufy-security-client

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.
MIT License
487 stars 69 forks source link

[Question]: When I add the Eufy Security integration and authenticate with 2FA, only one of 6 cameras get added #522

Closed Tcsekhar74 closed 1 month ago

Tcsekhar74 commented 3 months ago

Ask your question

When I add the Eufy Security integration into HomeAssistant (after adding a docker instance) and authenticate with 2FA, only one of 6 cameras is showing up as ONE device. I can't see the rest of the devices.

Can you please let me know how to make it read all the cameras from Eufy API of my account?

Tcsekhar74 commented 3 months ago

I added a Eufy hub and added my cameras to the hub, even shared all the devices/home to a different account and used that account with 2FA. Now I get this error message:


 -v "$(PWD)"/data:/data -p 3001:3001 bropat/eufy-security-ws:latest
PWD: command not found
WARNING: Published ports are discarded when using host network mode
SECURITY WARNING: Reverting CVE-2023-46809: Marvin attack on PKCS#1 padding
node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use 0.0.0.0:3000
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at doListen (node:net:2075:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on WebSocketServer instance at:
    at Server.emit (node:events:530:35)
    at Server.emit (node:domain:488:12)
    at emitErrorNT (node:net:1899:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '0.0.0.0',
  port: 3000
}

Node.js v20.11.1