bropat / eufy-security-ws

Small server wrapper around eufy-security-client library to access it via a WebSocket.
MIT License
165 stars 24 forks source link

[Question]: error with Home Assistant Add-on: eufy-security-ws #224

Closed AGC1964 closed 11 months ago

AGC1964 commented 1 year ago

Ask your question

Cannot run EUFY security in Home assistant. Tried installing Home Assistant Add-on: eufy-security-ws and get the following error: Running Home assistant on Docker.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started node:events:491 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE: address already in use 0.0.0.0:3000 at Server.setupListenHandle [as _listen2] (node:net:1740:16) at listenInCluster (node:net:1788:12) at doListen (node:net:1937:7) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) Emitted 'error' event on WebSocketServer instance at: at Server.emit (node:events:525:35) at emitErrorNT (node:net:1767: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 v18.16.0 s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

Thanks

oxtn commented 1 year ago

Change the port from 3000 to something that's not in use already and restart the add-on.