dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

notifications not workingt #15

Open geertvercamer opened 4 years ago

geertvercamer commented 4 years ago

Hi,

I heard the notification only once. No idea why it worked that time. In the log I get this:

2020-01-06 23:23:59.278 (Dummy) Lighting 1 (Play Time) 2020-01-06 23:23:59.260 Status: User: Admin initiated a switch command (20/Play Time/Off) 2020-01-06 23:23:59.271 Status: Notification: Play time is over 2020-01-06 23:24:00.141 (Google Devices) [Google Home Volume] Update 2(2):'30'(9): 0(0) 2020-01-06 23:24:01.356 (Google Devices) [Google Home Status] Update 9(9):'Default Media Receiver'(Screensaver): 0(0) 2020-01-06 23:24:02.136 (Google Devices) Notification sent to 'Google Home' completed 2020-01-06 23:24:02.173 (Google Devices) [Google Home Volume] Update 2(2):'9'(30): 0(0) 2020-01-06 23:24:02.373 (Google Devices) [Google Home Status] Update 9(9):'Screensaver'(Default Media Receiver): 0(0) 2020-01-06 23:24:02.425 (Google Devices) HTTP Details (3): 2020-01-06 23:24:02.425 (Google Devices) --->'Verb':'GET' 2020-01-06 23:24:02.425 (Google Devices) --->'URL':'/97dc6572-3aab-2692-958b-f94efc90ab13.mp3' 2020-01-06 23:24:02.425 (Google Devices) --->'Headers (8): 2020-01-06 23:24:02.426 (Google Devices) ------->'Host':'192.168.1.11:19859' 2020-01-06 23:24:02.426 (Google Devices) ------->'Connection':'keep-alive' 2020-01-06 23:24:02.426 (Google Devices) ------->'User-Agent':'Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.68 Safari/537.36 CrKey/1.44.184686' 2020-01-06 23:24:02.426 (Google Devices) ------->'Range':'bytes=0-' 2020-01-06 23:24:02.426 (Google Devices) ------->'Accept-Encoding':'identity;q=1, ;q=0' 2020-01-06 23:24:02.426 (Google Devices) ------->'Accept':'/*' 2020-01-06 23:24:02.426 (Google Devices) ------->'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-01-06 23:24:02.427 (Google Devices) ------->'Accept-Language':'en-US,en;q=0.9' 2020-01-06 23:24:02.425 Error: (Google Devices) Invalid web request received, file 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Google-Plugin\Messages/97dc6572-3aab-2692-958b-f94efc90ab13.mp3' does not exist

Any ideas? Latest Domoticz (4.11597), latest plugin. W10, folder exists... Maybe some coding glitch, the slash before the filename, instead of a backslash on Windows?

Thanks

Kind Regards,

Geert