- Increased logging for notifications to help troubleshooting
- Support for applications other than default set
Edit: New version released, major change in the way status updating is handled, notifications cleaned up.
Moderator: leecollings
Code: Select all
2019-04-25 10:27:14.918 Status: User: Admin initiated a switch command (4/Hol/On)
2019-04-25 10:27:14.968 Status: Notification: good morning
2019-04-25 10:27:15.095 (RF_Link) Light/Switch (s1)
2019-04-25 10:27:16.268 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Default Media Receiver'(Screensaver): 0(0)
2019-04-25 10:27:27.263 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Screensaver'(Default Media Receiver): 0(0)
2019-04-25 10:27:27.251 Error: (Google Home) Notification sent to 'Kuchnia' timed out
Did you try to reinstall the plugin and tts? And what server port did you use for the message service?kniazio wrote: ↑Thursday 25 April 2019 6:33 That's what I do, and instead of the command I entered, I hear a short tune
logsCode: Select all
2019-04-25 10:27:14.918 Status: User: Admin initiated a switch command (4/Hol/On) 2019-04-25 10:27:14.968 Status: Notification: good morning 2019-04-25 10:27:15.095 (RF_Link) Light/Switch (s1) 2019-04-25 10:27:16.268 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Default Media Receiver'(Screensaver): 0(0) 2019-04-25 10:27:27.263 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Screensaver'(Default Media Receiver): 0(0) 2019-04-25 10:27:27.251 Error: (Google Home) Notification sent to 'Kuchnia' timed out
Code: Select all
2019-04-27 06:10:27.449 (Hol) Updating device from 1:'On-2' to have values 1:'On-1'.
2019-04-27 06:10:27.452 Notification sent (Google_Devices) => Success
2019-04-27 06:10:27.456 (Kuchnia) Update 1:'On-1' (Hol)
2019-04-27 06:10:27.456 (Google Home) onNotification: Hol,good morning,good morning,On,0,,/home/pi/domoticz/www/images/Push48_On.png
2019-04-27 06:10:27.457 (Google Home) handleMessage: 'good morning', to be sent to 'Kuchnia'
2019-04-27 06:10:27.450 Status: Notification: good morning
2019-04-27 06:10:28.833 (Google Home) '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/Messages/787f4ead-461b-cdb6-7662-ec863d510114.mp3' created, 4512 bytes
2019-04-27 06:10:28.904 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Default Media Receiver'(Screensaver): 0(0)
2019-04-27 06:10:30.003 (Google Home) Waiting for player (timeout in 9.99 seconds)
2019-04-27 06:10:30.504 (Google Home) Waiting for player (timeout in 9.49 seconds)
2019-04-27 06:10:31.004 (Google Home) Waiting for player (timeout in 8.99 seconds)
2019-04-27 06:10:31.505 (Google Home) Waiting for player (timeout in 8.49 seconds)
2019-04-27 06:10:32.006 (Google Home) Waiting for player (timeout in 7.99 seconds)
2019-04-27 06:10:32.506 (Google Home) Waiting for player (timeout in 7.49 seconds)
2019-04-27 06:10:32.957 (Kuchnia) Pushing 'onHeartbeatCallback' on to queue
2019-04-27 06:10:32.965 (Kuchnia) Processing 'onHeartbeatCallback' message
2019-04-27 06:10:32.965 (Kuchnia) Calling message handler 'onHeartbeat'.
2019-04-27 06:10:33.007 (Google Home) Waiting for player (timeout in 6.99 seconds)
2019-04-27 06:10:33.508 (Google Home) Waiting for player (timeout in 6.49 seconds)
2019-04-27 06:10:34.009 (Google Home) Waiting for player (timeout in 5.99 seconds)
2019-04-27 06:10:34.510 (Google Home) Waiting for player (timeout in 5.49 seconds)
2019-04-27 06:10:35.010 (Google Home) Waiting for player (timeout in 4.99 seconds)
2019-04-27 06:10:35.511 (Google Home) Waiting for player (timeout in 4.49 seconds)
2019-04-27 06:10:36.012 (Google Home) Waiting for player (timeout in 3.99 seconds)
2019-04-27 06:10:36.513 (Google Home) Waiting for player (timeout in 3.49 seconds)
2019-04-27 06:10:37.013 (Google Home) Waiting for player (timeout in 2.98 seconds)
2019-04-27 06:10:37.514 (Google Home) Waiting for player (timeout in 2.48 seconds)
2019-04-27 06:10:38.015 (Google Home) Waiting for player (timeout in 1.98 seconds)
2019-04-27 06:10:38.516 (Google Home) Waiting for player (timeout in 1.48 seconds)
2019-04-27 06:10:39.016 (Google Home) Waiting for player (timeout in 0.98 seconds)
2019-04-27 06:10:39.517 (Google Home) Waiting for player (timeout in 0.48 seconds)
2019-04-27 06:10:40.037 (Google Home) [Google Home - Kuchnia Status] Update 9(9):'Screensaver'(Default Media Receiver): 0(0)
2019-04-27 06:10:40.021 Error: (Google Home) Notification sent to 'Kuchnia' timed out
Code: Select all
Status: (Google Plugin) Started.
Error: (GoogleDevs) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
Error: (Google Plugin) Module Import failed, exception: 'ImportError'
Error: (Google Plugin) Module Import failed: ' Name: requests'
Error: (Google Plugin) Error Line details not available.
With Telegram this works fine:commandArray['SendNotification'] = 'Subject#Text of the message####Google_Devices'
@Dnpwwo What can I do to send notifications to my Google Home via Event System? (LUA or Blocky)commandArray['SendNotification'] = 'Subject#Text of the message####telegram'
Code: Select all
commandArray['My Device Name'] = "SendNotification Good morning"
Code: Select all
2019-05-16 17:48:04.969 Error: (Chromecasts) Error on line 413 Error is 'BasePlugin' object has no attribute 'ConnectedChromecasts'
Thanks for the quick reply. Working now!Dnpwwo wrote: ↑Thursday 16 May 2019 16:32 Do something like:
and it will say "Good morning"Code: Select all
commandArray['My Device Name'] = "SendNotification Good morning"
Users browsing this forum: Google [Bot] and 1 guest