Hi,
I tried to install this plugin, but I can't uderstand how it should work..
I installed following the few commands described on github, then I created the Hardware entry and I found that it had discovered 9 devices, 3 for a google Home Mini, 3 for a Sony amplifier and 3 for my "freebox fmini" which is a French setop box of my ISP (which also hosts a chromecast app).
(by the way, after having created these devices, I modified the name of the hardware in the hardware menu -> is it an issue ? I simply mdofied the name in the hardware menu and clicked on "modify" button, but the devices in devices menu kept the old name of hardware. Is it normal ?)
For instance, for my google home mini, I now see 3 switches: a "google Mini Status", a "google home mini Volume " and a "Google Mini Playing".
Same thing for my SONY amplifier: for that one I cold notice that volume device is chaning when I modify the volume of amplifier.. so that's good ! but the other switches don't change : they remain "off" (status=sleeping and Playing=Off)
I can see error messages in the log:
Code: Select all
2019-11-11 22:28:24.462 Status: (Chromecast-HW) Freebox Player Mini v2 is now: ConnectionStatus(status='LOST', address=NetworkAddress(address='192.168.0.24', port=8009))
2019-11-11 22:28:24.527 Status: (Chromecast-HW) Freebox Player Mini v2 is now: ConnectionStatus(status='CONNECTING', address=NetworkAddress(address='192.168.0.24', port=8009))
2019-11-11 22:28:24.531 Status: (Chromecast-HW) Freebox Player Mini v2 is now: ConnectionStatus(status='FAILED', address=NetworkAddress(address='192.168.0.24', port=8009))
2019-11-11 22:28:29.565 (Chromecast-HW) [Chromecast - Freebox Player Mini v2 Status] Update 9(9):'Screensaver'(Screensaver): 0(1)
2019-11-11 22:28:29.585 (Chromecast-HW) [Chromecast - Freebox Player Mini v2 Volume] Update 2(2):'16'(16): 0(1)
2019-11-11 22:28:29.610 (Chromecast-HW) [Chromecast - Freebox Player Mini v2 Playing] Update 0(0):''(): 0(1)
2019-11-11 22:28:29.538 Status: (Chromecast-HW) Freebox Player Mini v2 is now: ConnectionStatus(status='CONNECTING', address=NetworkAddress(address='192.168.0.24', port=8009))
2019-11-11 22:28:29.564 Status: (Chromecast-HW) Freebox Player Mini v2 is now: ConnectionStatus(status='CONNECTED', address=NetworkAddress(address='192.168.0.24', port=8009))
Is it normal ?
Also, my target would be to be able to make my Google Home Mini "speak" with various TTS depending on various events. I tried adding in that switch a notification and a text in its field, then pushing on the button but nothing happened. So I guess I do'nt do things properly.
- I read on this forum a mention related to installation of TTS. What should I do to enable TTS on my domoticz installation ? Anything more than the "sudo pip3 install gtts" ? Isn't it google home mini doing the job of translating text to speech instead of domoticz ?
- in domoticz, "settings" menu and "notifications" submenu, should I enable the "Google Cloud Messaging" ? I tried it and clicked on "test", but nothing happened..
- then I do'nt understand how notifications work : based on what I could read, notifications in switches are pre-defined and atatched to a status of that switch. For instance, in my google mini switch, I only see 3 "types" (switch on, switch off and Pause stream). So how can we trigger a google mini for saying whatever text message a script might define ?
Thanks a lot for your help,
ricorico94