Open hutchtg opened 3 years ago
Anyone?
Smells like an issue with MQTT, not the addon itself. You sure you are using a correct username/passwort/host for mqtt?
I have what looks to be the same issue. I have tried with default login and tried creating a separate user for MQTT. 2nd login for Eufy logs in fine on the app without 2 factor auth and can see the cameras.
eufy-ha-mqtt-bridge@1.0.0 start /app NODE_ENV=production node --unhandled-rejections=strict index.js (node:353) UnhandledPromiseRejectionWarning: TypeError: devices is not iterable at EufyHttp.refreshStoredDevices (/app/eufy/http.js:45:24) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async EufyClient.init (/app/eufy/client.js:17:5) (Use
node --trace-warnings ...
to show where the warning was created) (node:353) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! eufy-ha-mqtt-bridge@1.0.0 start:NODE_ENV=production node --unhandled-rejections=strict index.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the eufy-ha-mqtt-bridge@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-02-13T17_14_10_393Z-debug.log [cmd] /run.sh exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] 99-message.sh: executing...Oops! Something went wrong.
We are so sorry, but something went terribly wrong when starting or running this add-on.
[cont-finish.d] 99-message.sh: exited 0. [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.
Hmm i get the same but this:
NODE_ENV=production node --unhandled-rejections=strict index.js (node:353) UnhandledPromiseRejectionWarning: TypeError: devices is not iterable at EufyHttp.refreshStoredDevices (/app/eufy/http.js:45:24) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async EufyClient.init (/app/eufy/client.js:17:5) (Use
node --trace-warnings ...
to show where the warning was created)
Getting the following connection issue when starting up the integration (via the MaxWinterstein add-on)
(node:352) UnhandledPromiseRejectionWarning: Error: Connection refused: Not authorized
I've had a lok through other issues, and can't find anything relatable. I'm using a separate EUFY account. any help would be appreciated.
code is as follows: `[12:08:06] INFO: starting original stuff...
We are so sorry, but something went terribly wrong when starting or running this add-on.
Be sure to check the log above, line by line, for hints.
[cont-finish.d] 99-message.sh: exited 0. [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.`