Have a look at the wiki for details around scripting events or click on the 'Events' menu option in the Domoticz web interface. Scripts can be triggered in a number of ways.
@EdwinK,
I haven't played with the grouping function yet. Good news is it looks like the plugin is made aware of their existence
I have a second Google Home that I will turn on this weekend and create a group to see what the pychromecast library allows us to do
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
I had some issues with Dnpwwo's plugin that was located on my side.
When I sent one notification it worked perfectly. But when trying to send another one right after that, it didn't play instantly. It could play a few minutes later.
In my home network I have an USG (Unifi Security Gateway) with IPS (Intrusion Prevention System) enabled. And in that log i found that it was handling those request as potential malware and therefore interfered with the communication. After creating a rule to suppress those packages everything worked like a charm.
Just wanted to share the solution if anyone else experience similar problems with an USG in there network.
OedzesG wrote: ↑Monday 11 March 2019 0:25
Like almost everyone I get the error: [(Chromecast) Could not create 'TV attic', result was ERR. Url used is http: //XXX.XXX.X.X: 8080 / json.htm? Type = command & param = saveuservariable & vname = TV attic & vtype = 2 & vvalue =]
But the big problem why this plugin does not work is:
[Error: (Chromecast) Error on line 319 Error is not join thread before it is started]
Can someone please help me?
This error is because of a new beta version, I will look into it
OedzesG wrote: ↑Monday 11 March 2019 0:25
Like almost everyone I get the error: [(Chromecast) Could not create 'TV attic', result was ERR. Url used is http: //XXX.XXX.X.X: 8080 / json.htm? Type = command & param = saveuservariable & vname = TV attic & vtype = 2 & vvalue =]
But the big problem why this plugin does not work is:
[Error: (Chromecast) Error on line 319 Error is not join thread before it is started]
I have the same error as mentioned by DutchHans ''Error: (Google Devices) Notification 'This is a testmessage', sent to 'Downstairs' timed out''. Is a solution already found?
I have the same error as mentioned by DutchHans ''Error: (Google Devices) Notification 'This is a testmessage', sent to 'Downstairs' timed out''. Is a solution already found?
Thanks for any suggestions!
Kind regards, Rob
Please use another Topic, this topic is about the Chromecasts plugin not the Domoticz-Google-Plugin
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
don't know if this will hurt anything?
also other plugins are reporting errors now, did you change anything that may affect these?
2019-03-25 21:07:47.202 Error: (Google Casting) Notification 'Hello there', sent to 'Mancave' timed out
The Google Home mini adjusts his volume and notification jingle for stream starts but then after 5 seconds it mutes back to the original volume and the above error appears.
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
don't know if this will hurt anything?
also other plugins are reporting errors now, did you change anything that may affect these?
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
don't know if this will hurt anything?
also other plugins are reporting errors now, did you change anything that may affect these?
looks like the plugin is respawning / crashing DZ. This will go on until the system becomes unstable and unresponsive.
When disabling the plugin (and restarting DZ) this issue is gone.
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
2019-03-25 19:56:14.795 Error: (Chromecasts) Error on line 611 Error is 'Chromecast' object has no attribute 'start'
don't know if this will hurt anything?
also other plugins are reporting errors now, did you change anything that may affect these?
looks like the plugin is respawning / crashing DZ. This will go on until the system becomes unstable and unresponsive.
When disabling the plugin (and restarting DZ) this issue is gone.
Strange.
Just to be sure can you do the following in your terminal?
Python3
Import pychromecast
Chromecasts = pychromecast.get_chromecasts()
for Chromecast in self.Chromecasts:
Chromecast.start()