dnpwwo / Domoticz-Google-Plugin Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

Post Reply
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

dnpwwo / Domoticz-Google-Plugin

Post by RezaRose »

Version: 2020.2 (build 12723)
Build Hash: ebd4312af-modified
Compile Date: 2020-12-03 16:42:21
dzVents Version: 3.0.17
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]

I have used the dnpwwo / Domoticz-Google-Plugin notification mode for quite some time now, and it was working perfect. Since a week or 2/3 the notications stopped working.

I get the following error:

Code: Select all

2020-12-09 13:00:23.760 Error: (Google) handleMessage: Unable to find token seed! Did https://translate.google.com change?
2020-12-09 13:00:23.760 Error: (Google) <class 'ValueError'>, plugin.py, Line: 415
I tried:
pip3 install pychromecast --upgrade

and

python -m pip install --upgrade gtts
python -m pip install --upgrade gtts-token

No change

Then i tried to remove the Pycache, then the notification worked once.
The second time i get a clicking noise from the google mini,like it is about to start saying something. but it does not play something.

I get this in the log:

Code: Select all

2020-12-09 18:24:23.911 (Google) HTTP Details (3):
2020-12-09 18:24:23.911 (Google) --->'Verb':'GET'
2020-12-09 18:24:23.911 (Google) --->'URL':'/9c29d97e-3870-4e65-9a15-d200b2d4b3f4.mp3'
2020-12-09 18:24:23.911 (Google) --->'Headers (8):
2020-12-09 18:24:23.911 (Google) ------->'Host':'192.168.xxxxxxxxxxxx'
2020-12-09 18:24:23.911 (Google) ------->'Connection':'keep-alive'
2020-12-09 18:24:23.911 (Google) ------->'User-Agent':'Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36 CrKey/1.50.229149'
2020-12-09 18:24:23.911 (Google) ------->'Range':'bytes=0-'
2020-12-09 18:24:23.911 (Google) ------->'Accept-Encoding':'identity;q=1, *;q=0'
2020-12-09 18:24:23.911 (Google) ------->'Accept':'*/*'
2020-12-09 18:24:23.911 (Google) ------->'CAST-DEVICE-CAPABILITIES':'{"audio_assistant":true,"bluetooth_supported":true,"display_supported":false,"hi_res_audio_supported":false,"remote_control_input_supported":false,"touch_input_supported":false}'
2020-12-09 18:24:23.911 (Google) ------->'Accept-Language':'nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7'
2020-12-09 18:24:23.974 (Google) [Mini - Status] Update 9(9):'Screensaver'(Default Media Receiver): 0(0)
2020-12-09 18:24:23.911 Error: (Google) Invalid web request received, file '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/Messages/9c29d97e-3870-4e65-9a15-d200b2d4b3f4.mp3' does not exist
Somebody else using this plugin and has fixed the problem?
Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: dnpwwo / Domoticz-Google-Plugin

Post by twoenter »

Have read this thread: viewtopic.php?p=256799#p256799

What version of pychromecast and zeroconf do you have?
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: dnpwwo / Domoticz-Google-Plugin

Post by RezaRose »

thanks, i have changed my versoins of pychromecast and Zeroconf. somehow in english it work, but in dutch language it is not working
Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest