Page 10 of 11

Re: Python Plugin: Chromecast

Posted: Tuesday 02 April 2019 12:12
by Ewaldharmsen
please install Spotipy properly:

Code: Select all

sudo pip3 install git+https://github.com/plamere/spotipy.git

Re: Python Plugin: Chromecast

Posted: Tuesday 02 April 2019 18:59
by Tobbo
Ewaldharmsen wrote: Tuesday 02 April 2019 12:12 please install Spotipy properly:

Code: Select all

sudo pip3 install git+https://github.com/plamere/spotipy.git
I already have this installed so I will try and re-install it and return with an update. Thank you.

Edit:
That did the trick.

Code: Select all

sudo pip3 uninstall spotipy
sudo pip3 install git+https://github.com/plamere/spotipy.git

Re: Python Plugin: Chromecast

Posted: Sunday 28 April 2019 11:12
by brain
hi i am getting this error((chromecast) pychromecast is not up to date, please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade) and pychromecast is up to date.
what can i do?

thanx

Re: Python Plugin: Chromecast

Posted: Sunday 28 April 2019 16:24
by jeroenkl
Dnpwwo wrote: Tuesday 12 March 2019 11:30
I will add new aplications (as they are used) to the Source device in the next version.
great, just wondering when do you have time to implement this?

regards,

Jeroen

Re: Python Plugin: Chromecast

Posted: Friday 03 May 2019 19:49
by Ewaldharmsen
brain wrote: Sunday 28 April 2019 11:12 hi i am getting this error((chromecast) pychromecast is not up to date, please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade) and pychromecast is up to date.
what can i do?

thanx
can you update the plugin to version 4.4.0? That should solve the issue, or should show the problem.

Re: Python Plugin: Chromecast

Posted: Thursday 09 May 2019 16:32
by snellejellep
after updating to the latest stable version of Domoticz i get this error messageL

Code: Select all

2019-05-09 16:32:14.933 Error: (Chromecasts) Error on line 413 Error is 'BasePlugin' object has no attribute 'ConnectedChromecasts'
i already tried updating the plugin but that does not fix the issue.
does someone know what to do?

Re: Python Plugin: Chromecast

Posted: Thursday 16 May 2019 20:34
by brain
Hi does anyone know how to change the volume of the voice notification in a lua script?

please

Thanx

Re: Python Plugin: Chromecast

Posted: Friday 24 May 2019 7:31
by schulpr
Hi,

I'm getting this error:

Code: Select all

Error: (Chromecast) pychromecast is not up to date, it is currently version 3.2.2 it should be at least version 3.2.1. Please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade' and restart this plugin.
Updating as suggested doesn't solve it. Any solution?

Kind regards, Rob

Re: Python Plugin: Chromecast

Posted: Saturday 25 May 2019 19:08
by Robinjoo94
I have been facing the same issue, I just forced pychromecast to version 3.2.1 and restarted the Domoticz server by the following commands

Code: Select all

sudo pip3 install --force-reinstall pychromecast==3.2.1
sudo service domoticz.sh restart
So I installed the Chromcast plugin for the first time (quite new to Domoticz) and managed to get rid of the errors as stated above.

However I have no idea how to send a simple string to a normal Chromecast to be spoken (no experience at all in LUA).

I want te perform some tests on usability to see whether I am going to purchase Google home mini's or not.

So can anybody explain to me step by step how to send a message to the chromecast?
The description of the TS / author of the plugin in one of the first posts on this topic:
Just add a value to the created variabele and the text will be spoken.
I use it voor voice messages and fill the variable from a lua script
Is not really helpfull for me..

Re: Python Plugin: Chromecast

Posted: Monday 27 May 2019 9:43
by Justintime
Thanks for this Plugin.

I have a 7" Google Nest Hub In the startup log its says its not supported. Any chance it will be added?

Another thing:

WHen Domoticz has started no error messages are there. WHen i modify the Plugin in the HArdware section it gives a message in the Log i have to update to an earlier version?

Code: Select all

2019-05-27 09:41:41.424 Error: (Chromecast Plugin) pychromecast is not up to date, it is currently version 3.2.2 it should be at least version 3.2.1. Please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade' and restart this plugin.

Re: Python Plugin: Chromecast

Posted: Friday 31 May 2019 14:57
by snellejellep
i have a little problem, if i use the text to speech function, it works fine for one device, but if i let another device say something before the first device is finished speaking the whole python plugin framework crashes and the plugin no longer works including all my other plugins.
for now i disabled announcing on two of my google home mini's and announce on just one but i would like to be able to announce to all of them

Re: Python Plugin: Chromecast

Posted: Saturday 01 June 2019 20:42
by Ewaldharmsen
schulpr wrote: Friday 24 May 2019 7:31 Hi,

I'm getting this error:

Code: Select all

Error: (Chromecast) pychromecast is not up to date, it is currently version 3.2.2 it should be at least version 3.2.1. Please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade' and restart this plugin.
Updating as suggested doesn't solve it. Any solution?

Kind regards, Rob
Fixed in version 4.4.1, You need to install "sudo pip3 install packaging"

Re: Python Plugin: Chromecast

Posted: Saturday 01 June 2019 23:52
by Dnpwwo
@snellejellep,

Can you supply some details?

What version of the plugin are you using.
What version of Domoticz.
What platform you are running on.
Can you attach the log messages showing the framework crash.

Re: Python Plugin: Chromecast

Posted: Monday 03 June 2019 15:58
by snellejellep
Dnpwwo wrote: Saturday 01 June 2019 23:52 @snellejellep,

Can you supply some details?

What version of the plugin are you using.
What version of Domoticz.
What platform you are running on.
Can you attach the log messages showing the framework crash.
Of course,
i have the latest version of the plugin
running version 4.10717 of domoticz on a raspberry pi 3b with raspbian stretch updated to the latest.
some of the log messages:

Code: Select all

2019-06-03 15:53:47.672 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:53:47.672 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:53:47.672 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:54:15.712 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:54:15.712 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:54:15.713 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:54:29.715 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:54:29.716 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:54:29.716 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:54:43.719 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:54:43.719 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:54:43.719 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:54:57.729 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:54:57.729 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:54:57.729 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:55:13.414 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:55:13.415 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:55:13.415 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:55:27.418 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:55:27.418 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:55:27.418 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:55:41.429 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:55:41.430 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:55:41.430 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:55:55.433 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:55:55.433 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:55:55.433 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:56:09.436 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:56:09.436 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:56:09.436 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:56:23.441 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:56:23.441 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:56:23.442 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:56:37.445 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:56:37.445 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:56:37.445 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:56:51.448 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:56:51.449 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:56:51.449 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:57:05.452 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:57:05.452 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:57:05.452 Error: Chromecast hardware (34) thread seems to have ended unexpectedly
2019-06-03 15:57:19.455 Error: xiaomi vacuum hardware (19) thread seems to have ended unexpectedly
2019-06-03 15:57:19.455 Error: Buienradar hardware (29) thread seems to have ended unexpectedly
2019-06-03 15:57:19.456 Error: Chromecast hardware (34) thread seems to have ended unexpectedly

Re: Python Plugin: Chromecast

Posted: Monday 03 June 2019 19:02
by Robinjoo94
So can anybody explain to me step by step how to send a message to the chromecast?
The description of the TS / author of the plugin in one of the first posts on this topic:
Just add a value to the created variabele and the text will be spoken.
I use it voor voice messages and fill the variable from a lua script
Is not really helpfull for me..
Solved my issue, had to put the correct name of the chromecast in the hardware tab.
However facing the same
the whole python plugin framework crashes and the plugin no longer works including all my other plugins
issue.

Re: Python Plugin: Chromecast

Posted: Wednesday 12 June 2019 17:04
by snellejellep
no one a suggestion for the above problem?

Re: Python Plugin: Chromecast

Posted: Wednesday 12 June 2019 17:09
by Ewaldharmsen
guess that's not possible, you have to wait till the first is finished.
Will change that in the plugin

Re: Python Plugin: Chromecast

Posted: Monday 08 July 2019 14:03
by FunFair
Ewaldharmsen wrote: Monday 10 December 2018 14:23 I just have released version 3.0.1.
You can now update the hardware without the need to restart domoticz.
Devices which are no longer needed are automatically deleted

How can I disable the automatic deletion function?
I have a Rfxcom setup and it will scan every single 433 Mhz signal in the neighbourhood. So I have domoticz setup to not scan for new devices.
But every night I backup domoticz and restart the service. And this morning all Chromecast devices were gone... :(
It deleted the devices, but could not re-create them on startup.


Never mind... I changed the device names. After a restart of domoticz, the plugin did not detect them correctly anymore and deleted them apparently.

Re: Python Plugin: Chromecast

Posted: Wednesday 21 August 2019 23:17
by turnhob
When i power on a chromecast device my domoticz installation freezes and i have to restart it.

Im using a Raspberry pi 2. Just installed the lastest version of Raspian. No other software or tasks are running on the device. I installed from scratch, but the problem remains.

The log files dont show anything, so i dont understand. Is the raspberry to weak? (allthough memory and CPU usage is allmost 0 when it freezes.

Re: Python Plugin: Chromecast

Posted: Wednesday 23 October 2019 8:59
by maxtrash
Hi

Chromecast plugin is installed and seems to work fine.
Status: (Google) Initialized version 4.5.0, author 'Tsjippy'

I do however get this error in the log:
"Error: (Google) Error on line 423 Error is 'BasePlugin' object has no attribute 'SpotifyClient'"

what could it be?