When trying to authenticate, I don't get the amazon username/password screen
complete
R
RG
When I try and authenticate using the URL that is shown in the log when I restarted homebridge, I get taken to an Amazon screen that says "Scan QR code with your phone’s camera to open the Alexa app." instead of the screen that asks for my credentials. I have installed this plugin as a child bridge, and followed the other instructions in the readme. The main difference I see is I get this message in the log:
Homebridge v1.6.1 (HAP v0.11.1) (homebridge-alexa-smarthome) is running on port 51405 instead of port 9000 which is what I set in the plugin settings.
Please let me know if I can provide any more information.
J
Joey Hage
complete
Joey Hage
Port 9000 is only for that URL shown in the log, not for the child bridge so that's not the issue. Did you try the QR code? That is a valid way to login that should work.
R
RG
Joey Hage: The QR code only takes me to the app store to download Alexa. I uninstalled everything, and then reinstalled (newest version of the plugin updated today 9/12/2023), but that seems to have made the problem worse... There are the errors I'm getting now:
[9/12/2023, 10:00:12 PM] ERROR LOADING PLUGIN homebridge-alexa-smarthome:
[9/12/2023, 10:00:12 PM] Error: Cannot find module 'fp-ts/String'
Require stack:
- /homebridge/node_modules/homebridge-alexa-smarthome/dist/domain/alexa/save-device-capabilities.js
- /homebridge/node_modules/homebridge-alexa-smarthome/dist/wrapper/alexa-api-wrapper.js
- /homebridge/node_modules/homebridge-alexa-smarthome/dist/platform.js
- /homebridge/node_modules/homebridge-alexa-smarthome/dist/index.js
- /homebridge/node_modules/homebridge/lib/plugin.js
- /homebridge/node_modules/homebridge/lib/pluginManager.js
- /homebridge/node_modules/homebridge/lib/server.js
- /homebridge/node_modules/homebridge/lib/cli.js
- /homebridge/node_modules/homebridge/bin/homebridge
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Function.Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/homebridge/node_modules/homebridge-alexa-smarthome/src/domain/alexa/save-device-capabilities.ts:4:1)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Function.Module._load (node:internal/modules/cjs/loader:922:12)
at Module.require (node:internal/modules/cjs/loader:1105:19)
[9/12/2023, 10:00:12 PM] ====================
J
Joey Hage
RG: it looks like you installed v0.2.2-beta.0 of the plug-in which is a beta version for testing, I would suggest going back to v0.2.1.
Alexa account is in a state where you need to install the Alexa app and login before you can proceed.
R
RG
Joey Hage: Okay--I think it's working! Thank you.