Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] Google Cast

Pour échanger sur les plugins classés en catégorie "Multimédia"
Avatar de l’utilisateur
Jeandhom
Actif
Messages : 1386
Inscription : 20 oct. 2015, 17:32

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par Jeandhom » 05 juin 2018, 20:14

meute a écrit :
05 juin 2018, 16:31
La seule solution que je vois pour l'instant c'est comme guirem disait d'introduire un silence au début du fichier à caster suffisamment long pour que tout le monde soit prêt avant que le texte ne commence, et faire ça que si on caste vers un groupe, vers une GH isolée ce n'est pas nécessaire.
Ou caster un nano-silence avant de caster le message qui se trouvera en deuxième position ?

Avatar de l’utilisateur
fwehrle
Actif
Messages : 2824
Inscription : 01 juil. 2015, 11:03
Localisation : Strasbourg

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par fwehrle » 05 juin 2018, 21:14

Hello.
Du coup, personne n'utilise l'info du statut ( status_text) des Chromecast ou Google Home ?
Moi, j'aimerais pouvoir piloter ma Chromecast pour pouvoir savoir quand elle est en lecture ou en pause. Mais le statut reste vide quand je suis en lecture Netflix par exemple.
Ça fait pas ça sur vos Google Home?

Envoyé de mon Nexus 6P en utilisant Tapatalk

Jeedom 3 sur Debian 9 en VM Proxmox 5 sur NUC Intel.
(Anciennement sur Docker sur Syno DS-415+ / MariaDB / DSM 6)
Teleinfo / RFXCom / Stick ZWave / IPX / Serveur Traccar / Blea

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 05 juin 2018, 21:48

Jeandhom a écrit :
05 juin 2018, 20:14
meute a écrit :
05 juin 2018, 16:31
La seule solution que je vois pour l'instant c'est comme guirem disait d'introduire un silence au début du fichier à caster suffisamment long pour que tout le monde soit prêt avant que le texte ne commence, et faire ça que si on caste vers un groupe, vers une GH isolée ce n'est pas nécessaire.
Ou caster un nano-silence avant de caster le message qui se trouvera en deuxième position ?
J'ai testé car l'idée était pas conne mais ca ne marche pas ...

Il me faut un silence de 5 secondes mini et c'est pas encore une science exacte pour avoir une chance que toutes les GH du groupe soient prêtes ... ça fait énorme, vais repasser sur des groupes géré manuellement et de toute façon limiter les notifications vers des groupes et privilégier les GH isolées.

Le seul truc qui doit vraiment être transmis vers un groupe chez moi c'est le "On Mange" ... et si chaque GH le lance avec 1 ou 2 secondes de décalage car je caste moi-même successivement c'est pas la mort du moment que ça sort, avec un groupe google c'est quitte ou double, soit ça marche par chance où y a rien qui sort ...

Faut croiser les doigts pour que google améliore cette gestion des groupes ... mais bon pour l'utilisation que google a prévu le retard ne pose pas de problème, si une web radio fini par sortir avec 5 secondes de retard c'est pas grave, donc peu de chance qu'il essayent d'améliorer ça, on est pas censé faire du TTS sur nos GH pour google ...
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 05 juin 2018, 22:52

fwehrle a écrit :
05 juin 2018, 21:14
Hello.
Du coup, personne n'utilise l'info du statut ( status_text) des Chromecast ou Google Home ?
Moi, j'aimerais pouvoir piloter ma Chromecast pour pouvoir savoir quand elle est en lecture ou en pause. Mais le statut reste vide quand je suis en lecture Netflix par exemple.
Ça fait pas ça sur vos Google Home?

Envoyé de mon Nexus 6P en utilisant Tapatalk
Je n'ai aucun soucis avec status_text sur chromecast. Ca affiche le nom de l'appli et pas si c'est en cours de lecture ou en pause (c'est player_state pour ça).
As tu essayé en supprimant le cast et relançant un scan ?

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 12:27

@guirem

Hello,

Suite aux problèmes de latence au démarrage entre GH membres d'un groupe Google je gère donc mes groupes de notification vers plusieurs GH moi-même via un virtuel, j'ai une action type message dans le virtuel qui ne fait rien mais dans les actions à effectuer avant j'ai toutes mes commandes TTS :
Capture.PNG
Capture.PNG (92.71 Kio) Consulté 1239 fois
(La première c'est le groupe Google Home mais l'action est désactivée au profit d'une action pour chaque GH comme ça je peux facilement switcher entre la gestion groupe google ou la mienne et activant et désactivant des actions).

Ce que je remarque c'est que tous les TTS vers chaque GH démarrent ensembles mais avec un temps de décalage inhérent à la "communication" entre Jeedom et le plugin, par exemple je peux voir dans le log que les demandes TTS sont arrivée au plugin Google Cast étalées sur 2 à 3 secondes et donc les GH font leur TTS ensembles mais avec ce décalage également.

L'idée serait de doter le plugin d'une fonction "Groupe" que l'on pourrait ajouter comme équipement manuellement au plugin afin que jeedom puisse s'adresser à ce groupe "virtuel" avec une seule commande et qu'ensuite le plugin se charge en interne de lancer le TTS sur tous les membres du groupe. Idéalement il faudrait que le plugin se charge de mémoriser le volume de toutes les GH indépendamment pour ensuite tous les restaurer individuellement, ça permettrait de réglé par la même occasion la gestion du volume d'un groupe google qui pour google est une moyenne du volume de tous les membres.
Comme c'est utile que pour du TTS cet équipement "Groupe virtuel" pourrait avoir des fonctionnalité simplifiée et limitées à du TTS, pas la peine d'afficher les statut, de pourvoir streamer du youtube ou autre ni d'aller rechercher les images de ce qui est en cours de streaming ... ça serait des groupes à vocation purement TTS.

Tu penses que c'est jouable ?
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 13:40

Ou, si tu as accès à la liste des membres qui composent un groupe google grâce à l'API il suffirait simplement d'ajouter une nouvelle commande genre [destination=groupe] [destination=membres] permettant de choisir si le tts doit être fait de façon traditionnelle vers le groupe Google ou bien vers les membres du groupe mais géré par le plugin.
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 14:05

Bonjour,

@meute:
Bon en théorie tout est possible mais là tu vas chercher vraiment loin pour un cas d'utilisation assez pointu qui ne concerne que très peu de gens.
D'autant plus qu'il y a une résolution simple qui est l'utilisation du paramètre 'silence' qui peut être relevé quand lancé sur un groupe. Si quelques secondes peuvent te paraître énorme quand tu es devant ton pc à tester, en réalité, ça ne se verra jamais même si il y a 10 secondes de silence le temps de synchroniser car tu n'entendra que la voix et pas le silence.
Ceci étant dit tu peux tenter les séquences en ajoutant un paramètre 'uuid' dans chaque commande qui redirigera vers le bon google cast dans un thread séparé (et donc en parallèle) puis envoyer cette séquence sur n'importe quel google cast accessible:

Code : Tout sélectionner

uuid=XXXXXXXXXX|cmd=...................$$uuid=YYYYYYYYYYYYYY|cmd=...................
Note: Il te faut mettre à jour la beta avant.

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 15:06

Je viens de tester mais j'ai une erreur :

Voilà la commande que je veux transmettre :

Code : Tout sélectionner

uuid=xxxxxxxx-a6c0-ca52-77ee-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#$$uuid=xxxxxxxx-0d32-5f02-bc97-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#$$uuid=xxxxxxxx-2f85-6eaf-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#
Donc un tts sur 3 GH et dans le log j'ai cette erreur :

Code : Tout sélectionner

[2018-06-06 15:04:37][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55318]
[2018-06-06 15:04:37][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf","cmd":"action","device":{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","source":"googlecast"},"command":[{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","cmd":"tts","value":"test","vol":""},{"uuid":"e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8","cmd":"tts","value":"test","vol":""},{"uuid":"94b39011-2f85-6eaf-94f8-836d4e112127","cmd":"tts","value":"test","vol":""}]}
[2018-06-06 15:04:37][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55318]
[2018-06-06 15:04:37][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-06-06 15:04:37][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2018-06-06 15:04:37][DEBUG] : SOCKET-READ------Attempt an action on a device
[2018-06-06 15:04:37][DEBUG] : SOCKET-READ------Action Thread Launched
Unhandled exception in thread started by <function action_handler at 0x7fe396828c80>
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 463, in action_handler
newCommand = command[:]
TypeError: unhashable type: 'slice'
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 15:17

@meute: c'est corrigé dans la maj

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 15:55

Merci ça marche par contre en analysant les log j'ai l'impression que pour 3 commandes TTS il en fait en faite 6, il semble répéter le tts sur l'équipement source pour chaque délégation (ça ne s'entend pas par contre) :

Code : Tout sélectionner

[2018-06-06 15:51:40][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:48860]
[2018-06-06 15:51:40][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf","cmd":"action","device":{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","source":"googlecast"},"command":[{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","cmd":"tts","value":"Bonjour comment \u00e7a va ?","vol":""},{"uuid":"e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8","cmd":"tts","value":"Bonjour comment \u00e7a va ?","vol":""},{"uuid":"94b39011-2f85-6eaf-94f8-836d4e112127","cmd":"tts","value":"Bonjour comment \u00e7a va ?","vol":""}]}
[2018-06-06 15:51:40][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:48860]
[2018-06-06 15:51:40][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-06-06 15:51:40][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2018-06-06 15:51:40][DEBUG] : SOCKET-READ------Attempt an action on a device
[2018-06-06 15:51:40][DEBUG] : SOCKET-READ------Action Thread Launched
[2018-06-06 15:51:40][DEBUG] : ACTION------DELEGATED command to other uuid : ee39e233-a6c0-ca52-77ee-e9857f29e008
[2018-06-06 15:51:40][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Bonjour comment ça va ? - media
[2018-06-06 15:51:40][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:40][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:40][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Bonjour comment ça va ? - media
[2018-06-06 15:51:40][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:40][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:40][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:40][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:40][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:40][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:40][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:40][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:40][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'BUFFERING', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:40][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:40][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'BUFFERING', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'BUFFERING', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293100, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : ACTION------DELEGATED command to other uuid : e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8
[2018-06-06 15:51:41][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Bonjour comment ça va ? - media
[2018-06-06 15:51:41][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:41][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:41][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:41][DEBUG] : ACTION------ action - tts - e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8 - Bonjour comment ça va ? - media
[2018-06-06 15:51:41][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:41][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:41][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 100, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Hangar', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Hangar
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 100, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Hangar', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 100, 'player_state': 'IDLE', 'uri': '192.168.1.33:8009', 'is_stand_by': True, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'friendly_name': 'Hangar', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': False, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}, 'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Default Media Receiver', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'IDLE', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'IDLE', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Hangar
[2018-06-06 15:51:41][DEBUG] : ACTION------DELEGATED command to other uuid : 94b39011-2f85-6eaf-94f8-836d4e112127
[2018-06-06 15:51:41][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Bonjour comment ça va ? - media
[2018-06-06 15:51:41][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:41][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:41][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:41][DEBUG] : ACTION------ action - tts - 94b39011-2f85-6eaf-94f8-836d4e112127 - Bonjour comment ça va ? - media
[2018-06-06 15:51:41][DEBUG] : ACTION------TTS action
[2018-06-06 15:51:41][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 15:51:41][DEBUG] : TTS------Sentence: 'Bonjour comment ça va ?' (gttsapidev,fr-FR)
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 100, 'player_state': 'BUFFERING', 'uri': '192.168.1.33:8009', 'is_stand_by': True, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'friendly_name': 'Hangar', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': False, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}, 'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'BUFFERING', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 56, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Bureau', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Bureau
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 56, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Bureau', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'94b39011-2f85-6eaf-94f8-836d4e112127': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 56, 'player_state': 'IDLE', 'uri': '192.168.1.32:8009', 'is_stand_by': True, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127', 'friendly_name': 'Bureau', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': False, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293055, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127'}, 'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'IDLE', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293101, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:42][DEBUG] : Detected changes in status of Bureau
[2018-06-06 15:51:42][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:42][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 100, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'PLAYING', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Hangar', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}
[2018-06-06 15:51:42][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:42][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:42][DEBUG] : SENDER------Send to jeedom : {'devices': {'94b39011-2f85-6eaf-94f8-836d4e112127': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 56, 'player_state': 'IDLE', 'uri': '192.168.1.32:8009', 'is_stand_by': True, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127', 'friendly_name': 'Bureau', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': False, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293102, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293055, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127'}, 'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Casting: TTS', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'BUFFERING', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293102, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:42][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:42][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:43][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '1', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'INTERRUPTED', 'supported_media_commands': 15, 'player_state': 'PLAYING', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:43][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:43][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '1', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 56, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'PLAYING', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Bureau', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': '94b39011-2f85-6eaf-94f8-836d4e112127'}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 100, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Hangar', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : Detected changes in status of Hangar
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': False, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 100, 'display_name': 'Default Media Receiver', 'duration': 2.115918, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': True, 'episode': None, 'friendly_name': 'Hangar', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom : {'devices': {'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Default Media Receiver', 'display_name': 'Default Media Receiver', 'volume_level': 100, 'player_state': 'IDLE', 'uri': '192.168.1.33:8009', 'is_stand_by': True, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8', 'friendly_name': 'Hangar', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': False, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293104, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8'}}}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Casting: TTS', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : Detected changes in status of Séjour
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom :  {'nowplaying': {'is_active_input': False, 'current_time': '0', 'status_text': 'Default Media Receiver', 'season': None, 'track': None, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'stream_type': 'LIVE', 'album_artist': None, 'artist': None, 'supports_pause': True, 'is_busy': True, 'series_title': None, 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'title': 'TTS', 'app_id': 'CC1AD845', 'volume_muted': False, 'volume_level': 73, 'display_name': 'Default Media Receiver', 'duration': 1.828571, 'idle_reason': 'FINISHED', 'supported_media_commands': 15, 'player_state': 'IDLE', 'is_stand_by': False, 'episode': None, 'friendly_name': 'Séjour', 'metadata_type': None, 'online': True, 'content_type': 'audio/mp3', 'album_name': None}, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
[2018-06-06 15:51:44][DEBUG] : SENDER------Send to jeedom : {'devices': {'ee39e233-a6c0-ca52-77ee-e9857f29e008': {'status': {'volume_muted': False, 'is_active_input': False, 'status_text': 'Default Media Receiver', 'display_name': 'Default Media Receiver', 'volume_level': 73, 'player_state': 'IDLE', 'uri': '192.168.1.30:8009', 'is_stand_by': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'friendly_name': 'Séjour', 'stream_type': 'LIVE', 'artist': None, 'series_title': None, 'is_busy': True, 'title': 'TTS', 'app_id': 'CC1AD845'}, 'lastSent': 1528293104, 'options': {'ignore_CEC': '0'}, 'lastScan': 1528293056, 'lastOfflineSent': 0, 'online': True, 'lastOnline': 1528293056, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008'}}}
[2018-06-06 15:51:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 15:51:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=PnP3HHxhIiFICIkwjTMYCqZB8DcHPlKf HTTP/1.1" 200 0
Aussi ça ne risque pas de poser problème dans le cas ou il faut générer un nouveau fichier TTS car il n'est pas encore en cache ? tous les délégations vont essayer de générer le TTS au même moment non ?
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 16:27

@meute : c'est réparé dans la maj
J'ai rajouté un paramètre pour tts (generateonly=1) qui génère le fichier en cache s'il n'existe pas avant.
Ainsi, si tu lances la commande suivante, la première commande s'assure que le son est en cache pour éviter des soucis.

Code : Tout sélectionner

cmd=tts|value=#message#|generateonly=1$$uuid=xxxxxxxx-a6c0-ca52-77ee-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#$$uuid=xxxxxxxx-0d32-5f02-bc97-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#$$uuid=xxxxxxxx-2f85-6eaf-xxxxxxxxxxxx|cmd=tts|value=#message#|vol=#title#

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 16:31

Oui, j'ai vu tes commits ;)

Par contre comme tu lances les délégation en multi-thread est-on certain que la génération sera terminée avant que les autres essayent d'y accéder ?
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 16:38

La délégation en parallèle n'est que s'il y a le paramètre uuid, autrement c'est en séquence

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 17:08

Ok, parfait !

Tu déchires là ... finalement sans faire ce que je demandais tu as implémenté un truc qui fait la même chose !!!, je peux gérer mes groupes et volumes en externe sans problème et ensuite tout lancer en même temps en multi-thread

Le résultat est pas mal ... c'est pas aussi synchrone que si c'est un groupe google mais on en est vraiment pas loin dans la majorité des cas, dans certains cas une GH peut mettre un peu plus de temps qu'une autre à réagir ce qui donne un petit délai mais c'est pas gênant vu qu'elles ne sont pas les unes à côté des autres.

Le principal est là, les notifications TTS sont faites, complètes et on peut ajuster et restaurer les volumes individuels de toutes les GH que l'on notifie. Ca permet même d'en faire notifier certaines avec un volume différent des autres pour la même groupe de notification.

Vraiment Top, ton plugin atteint un niveau de flexibilité exceptionnel, dans la veine de Jeedom en gros !
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 17:22

Et maintenant une option "nothread" en plus ... tu dis que je vais chercher loin mais je pense que tu vas encore bien plus loin :mrgreen: :mrgreen: ...
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 17:55

Bonsoir,

La beta est passée en stable !

Changements :
- Ajout de commandes 'info' : title, artist, player_state
- Ajout de l'option 'vol' pour chaque commande afin de modifier le volume
- Ajout du TextToSpeech (TTS) avec moteur (4 moteurs)
- Diffusion via serveur PLEX
- Correction de bugs et maj doc

Pour plus d'info et savoir comment configurer/utiliser, voir la doc https://github.com/guirem/plugin-google ... R/index.md
Dernière édition par guirem le 06 juin 2018, 18:04, édité 1 fois.

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 18:03

@meute : j'ai un cas d'utilisation assez complexe et spécifique de mon coté qui finalement n'est pas si loin du tien.
De tout façon, ça ne prend pas bcp plus de temps de rendre le plugin dispo pour tous et surtout ça permet d'étendre la couverture de test. C'est un peu l’intérêt d'un projet opensource...

meute
Actif
Messages : 1102
Inscription : 26 août 2017, 11:07
Localisation : Belgique

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par meute » 06 juin 2018, 18:10

Il reste un petit bug lorsque le TTS n'est pas en cache :

Code : Tout sélectionner

[2018-06-06 18:05:22][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:57870]
[2018-06-06 18:05:22][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"","cmd":"action","device":{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","source":"googlecast"},"command":[{"cmd":"tts","value":"Coucou bheu","generateonly":"1"},{"uuid":"ee39e233-a6c0-ca52-77ee-e9857f29e008","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"821de67f-0c04-0d14-b9f9-e84b4862f840","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"94b39011-2f85-6eaf-94f8-836d4e112127","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"61aca8a7-3bba-38a1-f217-bac64daa18cd","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"0bf4e402-f61f-2535-4233-3d3d6be79c97","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8","cmd":"tts","value":"Coucou bheu","vol":""},{"uuid":"e41e210c-d837-c776-49a9-11c75a09a788","cmd":"tts","value":"Coucou bheu","vol":""}]}
[2018-06-06 18:05:22][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:57870]
[2018-06-06 18:05:22][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-06-06 18:05:22][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2018-06-06 18:05:22][DEBUG] : SOCKET-READ------Attempt an action on a device
[2018-06-06 18:05:22][DEBUG] : SOCKET-READ------Action Thread Launched
[2018-06-06 18:05:22][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Coucou bheu - media
[2018-06-06 18:05:22][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:22][ERROR] : TTS------Only generating TTS file without playing
[2018-06-06 18:05:22][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:22][DEBUG] : Starting new HTTPS connection (1): www.google.com
[2018-06-06 18:05:22][DEBUG] : https://www.google.com:443 "GET /speech-api/v2/synthesize?enc=mpeg&client=chromium&key=&text=Coucou%20bheu&lang=fr-FR&speed=0.50&pitch=0.5 HTTP/1.1" 200 None
[2018-06-06 18:05:22][DEBUG] : TTS------Sentence: 'Coucou bheu' (gttsapidev,fr-FR,speed:0.50)
[2018-06-06 18:05:23][DEBUG] : SENDER------Send to jeedom :  {'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'nowplaying': {'volume_muted': False, 'status_text': 'Default Media Receiver', 'player_state': 'IDLE', 'online': True, 'season': None, 'album_name': None, 'volume_level': 73, 'title': 'TTS', 'episode': None, 'app_id': 'CC1AD845', 'idle_reason': 'FINISHED', 'current_time': '0', 'stream_type': 'LIVE', 'is_active_input': False, 'uuid': 'ee39e233-a6c0-ca52-77ee-e9857f29e008', 'duration': 1.018776, 'album_artist': None, 'series_title': None, 'metadata_type': None, 'supports_pause': True, 'is_busy': True, 'display_name': 'Default Media Receiver', 'image': 'http://192.168.1.20:80/plugins/googlecast/desktop/images/tts.png', 'track': None, 'artist': None, 'is_stand_by': False, 'supported_media_commands': 15, 'content_type': 'audio/mp3', 'friendly_name': 'Séjour'}}
[2018-06-06 18:05:23][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-06-06 18:05:23][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey= HTTP/1.1" 200 0
[2018-06-06 18:05:23][DEBUG] : Detected changes in status of Séjour
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : ee39e233-a6c0-ca52-77ee-e9857f29e008
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : 821de67f-0c04-0d14-b9f9-e84b4862f840
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : 94b39011-2f85-6eaf-94f8-836d4e112127
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : 61aca8a7-3bba-38a1-f217-bac64daa18cd
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : 0bf4e402-f61f-2535-4233-3d3d6be79c97
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - 94b39011-2f85-6eaf-94f8-836d4e112127 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - 61aca8a7-3bba-38a1-f217-bac64daa18cd - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - 0bf4e402-f61f-2535-4233-3d3d6be79c97 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : ACTION------DELEGATED command to other uuid : e41e210c-d837-c776-49a9-11c75a09a788
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - 821de67f-0c04-0d14-b9f9-e84b4862f840 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : Starting new HTTPS connection (1): www.google.com
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 18:05:23][DEBUG] : TTS------Sentence: 'Coucou bheu' (gttsapidev,fr-FR)
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - ee39e233-a6c0-ca52-77ee-e9857f29e008 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - e2ed2b8f-0d32-5f02-bc97-98fe8c338ae8 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : Starting new HTTPS connection (1): www.google.com
[2018-06-06 18:05:23][DEBUG] : ACTION------ action - tts - e41e210c-d837-c776-49a9-11c75a09a788 - Coucou bheu - media
[2018-06-06 18:05:23][DEBUG] : Starting new HTTPS connection (1): www.google.com
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : ACTION------TTS action
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Using from cache
[2018-06-06 18:05:23][DEBUG] : TTS------Sentence: 'Coucou bheu' (gttsapidev,fr-FR)
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:23][DEBUG] : Starting new HTTPS connection (1): www.google.com
[2018-06-06 18:05:23][DEBUG] : CMD-TTS------Generating file
[2018-06-06 18:05:23][DEBUG] : Starting new HTTPS connection (1): www.google.com
Il me semble que malgré l'utilisation de la génération du TTS avant les délégation multithread le fichier n'était pas encore dispo quand les délégations TTS se sont lancées.
Dernière édition par meute le 06 juin 2018, 22:38, édité 3 fois.
Jeedom VM ESXI sur NUC
Ilot I/O Modbus Wago Z-Wave (11 volets,prises,présences) + RFXCom (sondes T°+RH, prises)
Pont Hue et une vingtaine d'ampoules,une flopée de Xiaomi aquara, Harmony Elite
8 Google Home et un PC tactile All-In accroché au mur

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par guirem » 06 juin 2018, 18:42

@meute: tente avec un sleep=1 sur la première commande de generation tts ? Tu n'as pas désactivé le cache dans la config ou utilisé des forcetts ?

Avatar de l’utilisateur
breizh22
Actif
Messages : 1318
Inscription : 10 oct. 2015, 17:35

Re: [Plugin Tiers][Sujet Principal] Google Cast

Message par breizh22 » 06 juin 2018, 19:04

Merci les amis, que d'avancées, ça déchire grave, comme j'ai une mini et une home, pour les notifs, je peux mettre 60 et 50 en volume, c'est top, vraiment !!!!! Et en prime, la restauration du volume pour chaque

@Guirem, quel beau travail que tu fais pour nous, c'est vraiment top, C'est un plugin qui est désormais un INDISPENSABLE pour les personnes qui ont des "GHome".
HP Gen 8 / OMV4 sur SSD / Jeedom 3.3.37 VM Debian 9
RFLink - Sondes Oregon THN 132 N / THGR 122 NX / THGR 810 / THC238 - Prises DIO/Dedra/IDK.
Orvibo AllOne et S20 - Onduleur APC Back-UPS ES 700VA
Écosystème xiaomi - Dash buttons - GHome et mini.

Répondre

Revenir vers « [Catégorie] Multimédia »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 10 invités