Page 8 of 8

Re: Alexa text to speech

Posted: Monday 08 March 2021 10:05
by sammyke007
poweredge wrote: Monday 08 March 2021 9:07
philchillbill wrote: Sunday 07 March 2021 18:58
poweredge wrote: Sunday 07 March 2021 14:41 how did you do that ? im from NL as well - and have an international amazon account but i keep gettting failed MFA logins (mfa activated oathtool works etc)
In the script towards the beginning:

SET_AMAZON='amazon.co.uk'
SET_ALEXA='alexa.amazon.co.uk'
thanks - tried it but no luck... did you login on the DM machine prior with browser so it recognizes your instance? i still get the captcha and MFA etc.
Are you doing the MFA in the correct way? You need to enter the correct digits. Most people do the MFA part wrong.
I also use .co.uk with MFA as a Belgian user and never had any problems with Alexa text2speech since the last year.

See page 6 of this topic for my conversation with salopette. He was doing the same thing wrong. The usage of the correct quotes (double or single) is important!

Re: Alexa text to speech

Posted: Monday 08 March 2021 10:18
by poweredge
sammyke007 wrote: Monday 08 March 2021 10:05
poweredge wrote: Monday 08 March 2021 9:07
philchillbill wrote: Sunday 07 March 2021 18:58

In the script towards the beginning:

SET_AMAZON='amazon.co.uk'
SET_ALEXA='alexa.amazon.co.uk'
thanks - tried it but no luck... did you login on the DM machine prior with browser so it recognizes your instance? i still get the captcha and MFA etc.
Are you doing the MFA in the correct way? You need to enter the correct digits. Most people do the MFA part wrong.
I also use .co.uk with MFA as a Belgian user and never had any problems with Alexa text2speech since the last year.

See page 6 of this topic for my conversation with salopette. He was doing the same thing wrong. The usage of the correct quotes (double or single) is important!
i think i do - just sent you a PM as well - im using the correct 'string' - i think ...the long secret / combi of letters/numbers in groups of 4.

EDIT: registration on the amazon website also went fine - so that would be the issue ... ran the oathtool with options and " MFA KEY AMAZON "

Re: Alexa text to speech

Posted: Monday 05 April 2021 10:08
by witchdocta
Hi guys,

I'm struggling getting the MFA thingy to work.

As far as I understood, the MFA key has to be generated on the machine which is usingt the script, right? I've tried to work around thiws by using the google authenticator app on an iphone, scan the QR on the amazon webpage, click "can't read the QR" and put in the shown (long) key as MFA secret in the script. But creating the answer on another device is obviously not correct.

:?: As I'm on a synology running domoticz in a docker container maybe someone could give me a hand on how to install the oauthtool there. Is it even possible? Or is there a workaround to create the key for the synology/domoticz/container-combination?

Help is very much appreciated.

Re: Alexa text to speech

Posted: Wednesday 22 September 2021 9:03
by wxop
Here is a full integration in Domoticz, as a Dzvent script, (using a bash wrapper to this excellent alexa_remote_control.sh script).

viewtopic.php?f=59&t=37038&p=279913

Enjoy playing sound, or speaking text, when any Domoticz's switch changes its state.

Re: Alexa text to speech

Posted: Tuesday 11 January 2022 14:32
by gizmocuz
In beta 14040 I added the possibility to add a custom http/script action for each notification.
NotificationWithScript.jpg
NotificationWithScript.jpg (61.32 KiB) Viewed 3491 times
Using the script from:
https://blog.loetzimmer.de/2021/09/alex ... cript.html

With this you can set a custom message in your own language that is being send to (for example) PushOver and let your english speaking alexa speak something complete different

Hope it can benefit someone here

Re: Alexa text to speech

Posted: Tuesday 11 January 2022 18:37
by Hesmink
gizmocuz wrote: Tuesday 11 January 2022 14:32 In beta 14040 I added the possibility to add a custom http/script action for each notification.
Nice! Thanks for implementing this.

Re: Alexa text to speech

Posted: Wednesday 12 January 2022 9:55
by sammyke007
Nice one indeed, tnx!

Re: Alexa text to speech

Posted: Saturday 04 June 2022 7:25
by acaonweb
I'm using node red to make Alexa speech 😄
There is a nice palette to install that provide everything you need, and more flexible and powerful than the script ( I mean, script is only for speech, node red do all the rest 😄 )

Re: Alexa text to speech

Posted: Saturday 04 June 2022 18:29
by grecof973
acaonweb wrote: Saturday 04 June 2022 7:25 I'm using node red to make Alexa speech 😄
There is a nice palette to install that provide everything you need, and more flexible and powerful than the script ( I mean, script is only for speech, node red do all the rest 😄 )
Any more info or some links? it's possible

Re: Alexa text to speech

Posted: Sunday 05 June 2022 12:02
by acaonweb
yes sure,
obviously you need to run node red in a server somewhere, easy to do (click https://nodered.org/docs/getting-started/raspberrypi)
The you need to install a new palette inside node red, click hamburger on the top right side, cli manage Palette, click on Install tab, find node-red-contrib-alexa-remote2-v2, install it
See https://tech.scargill.net/node-red-cont ... cakebaked/ to configure it

Re: Alexa text to speech

Posted: Wednesday 26 October 2022 14:10
by nigels0
To get pass the cookie issue, I ran the app once and Amazon sent me a OTP via text. I added that to the end of my password and tried again - and it worked.

On rebooting though, the cookies placed in /tmp disappeared, so I moved the tmp directory constant in the script to something that would persist between re-boots, and that was fine.

Re: Alexa text to speech

Posted: Friday 27 January 2023 18:22
by TroisSix
Hi,
Have you any issue with the cookies today? on my side, even with the method oathtool/mfa, the cookies are not downloading :(

Edit: it works using the cookie-cli, and just forget the email/pwd/mfa ;-)

Re: Alexa text to speech

Posted: Thursday 13 April 2023 7:49
by ssk17051980
I'm not a master of pi, but with a proper tutorial I could replicate this function for myself. I have a zigbee socket with consumption monitoring, and theoretically I would like Alexa to notify me when the washing machine has finished the washing program. is there a whole tutorial somewhere so I can replicate this function?

thx