dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

Notification not working #4

Closed rezzalex closed 5 years ago

rezzalex commented 5 years ago

Hello,

I have installed correctly the plugin and here is my parameter Here is my plug-in Conf

image

Here is My notification set-up image

When I activate my switch, the voice message notification is not working.

Here is my logs image

Thans for your help

RezzA

DutchHans commented 5 years ago

ok... it works!!! one small thing... the spokentext ends with a single quote followed by a double quote.. the single quote is spoken out loud.

DutchHans commented 5 years ago

The problem with the singlequote disappeared... found this in the log: 2019-04-08 15:13:39.863 (Chromecast) [Chromecast - Office speaker Volume] Update 2(2):'50'(20): 0(0) 2019-04-08 15:13:39.870 (Chromecast) [Chromecast - Home group Volume] Update 2(2):'50'(34): 0(0) 2019-04-08 15:13:40.036 (Chromecast) [Chromecast - Office speaker Volume] Update 0(2):'50'(50): 0(0) 2019-04-08 15:13:40.546 (Chromecast) [Chromecast - Office speaker Volume] Update 2(0):'50'(50): 0(0) 2019-04-08 15:13:40.549 (Chromecast) [Chromecast - Office speaker Playing] Update 2(0):'1'(0): 0(0) 2019-04-08 15:13:41.103 Error: (Chromecast) Transport is not connected, write directive to '192.168.188.28:55752' ignored.

No idea what it means

dnpwwo commented 5 years ago

That error is from the Python Framework not the plugin itself. It normally happens when the connection is closed while a 'Send' operation is still pending.

I've uploaded another version that better logs what the Google device is doing and it appears to open and close connections several times during a file transfer.

This is not a problem and the full file is transferred.