Alexa text to speech Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Alexa text to speech

Post 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!
poweredge
Posts: 21
Joined: Thursday 05 July 2018 13:54
Target OS: Linux
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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 "
DM2021.1 (pri+sec) VM/RPI4. Dashticz @touchscreen. IT: Dell ESXi cluster, UPS, fiber+4g WAN. Smart: Aeotec/Neo/Qubino/Eurotronic zwave, Philips Hue, P1, rfxom433, OTGW, ITHO WiFi, Shelly shutter/water sens, NEST v3, 9x Alexa
witchdocta
Posts: 1
Joined: Friday 02 April 2021 8:04
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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.
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
gizmocuz
Posts: 2541
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Alexa text to speech

Post 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 2684 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
Quality outlives Quantity!
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Alexa text to speech

Post 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.
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Alexa text to speech

Post by sammyke007 »

Nice one indeed, tnx!
acaonweb
Posts: 86
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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 😄 )
grecof973
Posts: 24
Joined: Wednesday 26 July 2017 6:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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
acaonweb
Posts: 86
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alexa text to speech

Post 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
nigels0
Posts: 221
Joined: Thursday 23 January 2014 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Alexa text to speech

Post 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.
TroisSix
Posts: 92
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Alexa text to speech

Post 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 ;-)
VM Debian - Domoticz stable v2024.7, RFXtrx433, Aeotec Z-Stick Gen5, Two APC
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, Pilot app.
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Alexa text to speech

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest