Page 1 of 1

dnpwwo / Domoticz-Google-Plugin

Posted: Wednesday 09 December 2020 18:28
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?

Re: dnpwwo / Domoticz-Google-Plugin

Posted: Sunday 13 December 2020 19:58
by twoenter
Have read this thread: viewtopic.php?p=256799#p256799

What version of pychromecast and zeroconf do you have?

Re: dnpwwo / Domoticz-Google-Plugin

Posted: Saturday 06 February 2021 21:37
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