bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
77 stars 21 forks source link

Fixed Issue with devices registered on different accounts in an Alexa Household #20

Closed TactfulElf closed 3 years ago

TactfulElf commented 3 years ago

Ported changes to customerId handling from thorsten-gehrig/alexa-remote-control@f05854f this allow devices accross multiple accounts to work in an Alexa Household.

CustomerId from devicelist is the Customer that initially registered the Alexa device, however the customerId in the payload for the command needs to be the Customer issuing the request.

Pull the customerId of the logged in user from the same URL used to check authentication.

bbindreiter commented 3 years ago

Awesome, thank you!

bbindreiter commented 3 years ago

@TactfulElf I'll release a new version tomorrow with your fix 👍

bbindreiter commented 3 years ago

I couldn't test it due to only having one connected account. I noticed that a full redeploy was necessary to pull the customerId. Thank you for your contribution @TactfulElf, 5.0.7 is out