Python Plugin: Domoticz-Google-Plugin

Python and python framework

Moderator: leecollings

tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

anyone got this plugin working?

the audio notifications works ony once.

or is there another similar working plugin?
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by Dnpwwo »

@tjabas,

Audio works pretty well for me although because the audio is created on the internet sometimes timing is an issue.

Can you turn on debugging on the plugin and post the log?
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
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

thank you for your answer, i havent got the plugin installed yet, but im thinking of install it again tonight, if it looks to be the timing issue you talked about, where can i change the setting for that?
jaaap
Posts: 59
Joined: Sunday 28 July 2019 22:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by jaaap »

Hi all,

I got the plugin working, adding devices, and controlling volume of the casts. Very nice! However, I can't find any Play, Pause, Next buttons. Where are they located?
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

Hi!


is there a way to disable the plugin from searching for new devices?

i have a smart tv with chromecast built in, this chromecast in the tv i dont use, and the tv is only on for a couple of hours every night, the problem is that when i turn on the tv this google plugin sees the tv and ads the tv in domoticz, but when the tv is of i constantly get messages in the log that the tv is unavalible, can i disable this somehow?
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

Is there a way to change to another voice when google talks back?
i have it set to swedish, and that women sounds slightly retarded :(

Or how can i get the voice to speak English instead?
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

is it possible to add several voice/devices?
so i can get the same spoken audio notification in several other google homes?
i have tried with a speakergroup i made in the google home app, its works for a while but the volume on each device included in the group i getting lower and lower after each voice notification, very strange
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by DewGew »

This plugin seems not to support Google Nest Hub:

Code: Select all

2020-07-01 15:16:59.811 Error: (Chromecast) Unsupported device type: 'Hall', Model: 'Google Nest Hub', UUID: '2078a80e-3b4c-e1b6-547e-126d7a185f15' + IP: '192.168.2.19:8009'
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by DAVIZINHO »

Hello,
Someone tested it on a docker container?
im trying but not discover any devices, maybe i make something wrong :-(
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by Flappie »

Hello,

Does anybody know how to use this plugin?
I installed it, and it found my Google Home Mini.

How do i send a notification to my Home Mini with blockly? Can't get it to work.

And when i enable or disable the plugin under "Hardware", my whole Domoticz crashes....
mark.sellwood
Posts: 101
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by mark.sellwood »

Hello,
I have the following issues with the plugin: -

When i enable or disable the plugin under "Hardware", my whole Domoticz crashes....
The plugin stops working after <24 hours, all the devices turn red
It only plays the first message then nothing
Long messages (over 5 - 6 words) are truncated, the mp3 file gets deleted while playing.
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

i had the same problem, mine also chrashed and the spoken audio chrashed, but after i updated domoticz to the latest stable version it suddenly worked.
mark.sellwood
Posts: 101
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by mark.sellwood »

I only built mine last week so I'm using the latest :-
Buster image (May 2020)
Domoticz 2020.2
Python version 3.7.3
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

mark.sellwood wrote: Tuesday 07 July 2020 12:04 I only built mine last week so I'm using the latest :-
Buster image (May 2020)
Domoticz 2020.2
Python version 3.7.3
ok, then i dont know :(
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

can i deactivate the automatic discovery of new devices somehow?
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

has anyone else encountered this error in the log?
(google ) Invalid web request received, file '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/Messages/4823bbe1-aaf8-3ed9-3a0b-20a7b5907208.mp3' does not exist

it has been working fine until a coulple of days ago.
DoMoAD
Posts: 13
Joined: Friday 11 May 2018 14:24
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Netherlands
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by DoMoAD »

I've got multiple nest devices in my house. I made a speakergroup in de google home app and changed the setting voice device/group to the speakergroup.
When i send a notification i only hear the message on one device. Any suggestion? I've tested the devices separatly and then they work.

update: just played spotify to the speakergroup en changed de audio. Now it also works for the domoticz notifications.
markjgabb
Posts: 142
Joined: Tuesday 24 January 2017 23:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Australia
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by markjgabb »

hey all

trawling trhough the forum i cant seem to find any examples of how to put together a dzvents script that uses the notification

i can see where everyone says use notifications, but im not sure how this si done?
V 2020.2 RPI 3
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by tjabas »

sorry to say but this plugin has stopped working.
markjgabb
Posts: 142
Joined: Tuesday 24 January 2017 23:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Australia
Contact:

Re: Python Plugin: Domoticz-Google-Plugin

Post by markjgabb »

damn.... any good replacements?
V 2020.2 RPI 3
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest