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
Antoinekl1
Actif
Messages : 3927
Inscription : 23 mai 2015, 08:14

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

Message par Antoinekl1 » 13 juin 2018, 20:21

guirem a écrit :
13 juin 2018, 20:02
@Antoinekl1 : non mais libre à toi de l'implémenter. Le code est dispo à tous pour modification.
Je n'en suis pas capable mais le principe est relativement simple

Ton plugin reçoit une demande tts, il vérifie si le GH n'a pas un tts en cours, si oui il attend 2 secondes et recommence, si non il l'envoi

Après pour le code c'est toi le spécialiste :-) mais ce serait un vrais plus
JEEDOM Smart Ultimate + 40 modules zwave
A vendre ; pack POWER jeedom - Jeedom Mini+ - Console Clazio sous Android 6

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

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

Message par guirem » 13 juin 2018, 20:55

@Antoinekl1 : le principe des séquence est encore plus simple : tu mets toutes tes commandes dans une chaîne de caractères et tu envoies le tout qu'une fois. C'est surtout un vrai plus pour toi qui n'aura pas à trop modifier tes scénarios ;)

Loup
Timide
Messages : 249
Inscription : 23 févr. 2016, 21:30

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

Message par Loup » 13 juin 2018, 21:20

guirem a écrit :
13 juin 2018, 18:16

@Loup : peux tu mettre à jour puis envoyer les logs (GoogleCast) ?
[2018-06-13 10:10:16][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel info --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/ ... st.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.2.91:80 --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --cyclefactor 1 --defaultstatus ' '
[2018-06-13 10:10:18][INFO] : Process started. Sending known devices now...
[2018-06-13 14:05:32][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel info --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/ ... st.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.2.91:80 --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --cyclefactor 1 --defaultstatus ' '
[2018-06-13 14:05:34][INFO] : Process started. Sending known devices now...
[2018-06-13 15:11:31][INFO] : Début d'activation du plugin
[2018-06-13 15:11:33][INFO] : Info sur le démon : Array ( [log] => googlecast [state] => nok [launchable] => ok [launchable_message] => Gestion automatique désactivée [auto] => 0 [last_launch] => 2018-06-13 14:05:30 )
[2018-06-13 15:12:08][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel info --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/ ... st.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.2.91:80 --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --cyclefactor 1 --defaultstatus ' '
[2018-06-13 15:12:11][INFO] : Process started. Sending known devices now...
[2018-06-13 15:14:46][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel info --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/ ... st.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.2.91:80 --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --cyclefactor 1 --defaultstatus ' '
[2018-06-13 15:14:49][INFO] : Process started. Sending known devices now...

Toujours le même résultat.
Loup

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

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

Message par meute » 13 juin 2018, 22:27

guirem a écrit :
13 juin 2018, 20:55
@Antoinekl1 : le principe des séquence est encore plus simple : tu mets toutes tes commandes dans une chaîne de caractères et tu envoies le tout qu'une fois. C'est surtout un vrai plus pour toi qui n'aura pas à trop modifier tes scénarios ;)
+1, ne pas attendre un retour et le multithread sont des vrais plus et il faut rien changer à ça ... il faut juste faire table rase des limitations imposées par l'utilisation de stream2chromecast et profiter de la puissance de ce nouveau plugin.

De toute façon si on a plusieurs choses à dire à la queue il vaut mieux les concaténées dans un seul texte et le balancer en une fois. quand je demande l'état de ma maison la GH parle pendant plus de 25 secondes et tout ça en une seule phrase, je faisais déjà comme ça avec les scripts TTS.
Je n'envoyais pas l'état des portes, puis des fenêtres, puis des éclairages, puis ..., une phrase complète est construite depuis des scénarios qui analysent l'état de la maison et cette phrase est castée en TTS ensuite en une fois.

Pour des exemples de comment utiliser le plugin au mieux pour du TTS avec groupes, sans groupes, et compagnie j'en ai posté dans ces quelques pages :

ici : viewtopic.php?f=142&t=35863&start=240#p624892
ou encore ici : viewtopic.php?f=142&t=35863&start=360#p626411

Et par rapport à mes scripts, en utilisant un virtuel "TTS" je n'ai eu que des modifications mineures à faire dans mes scénarios qui consistaient surtout à faire pointer les messages TTS vers les commandes du nouveau virtuel "TTS" plutôt que vers les commandes des anciens scripts, le reste reste pareil.

Si tu relis le post à partir de la page 10 ou 11 tu auras toutes les infos nécessaires pour l'utiliser au mieux pour du TTS, Guirem, breizh22 et moi-même avons débattu d'à peu près tout ce qu'il y aurait à dire sur la partie TTS.
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

Avatar de l’utilisateur
Antoinekl1
Actif
Messages : 3927
Inscription : 23 mai 2015, 08:14

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

Message par Antoinekl1 » 14 juin 2018, 07:36

guirem a écrit :
13 juin 2018, 20:55
@Antoinekl1 : le principe des séquence est encore plus simple : tu mets toutes tes commandes dans une chaîne de caractères et tu envoies le tout qu'une fois. C'est surtout un vrai plus pour toi qui n'aura pas à trop modifier tes scénarios ;)
Comment tu fais quand un scénario "contrôle maison" lance plusieurs scénario qui eux font une série de test avec des messages, chaque sous scénario pouvant être utilisé indépendamment pour d'autres usages

Je pourrais en effet regrouper les messages au sein du scénario et ne l'envoyer qu'à la fin mais j'aurais quand même des longs messages qui vont se télescoper
JEEDOM Smart Ultimate + 40 modules zwave
A vendre ; pack POWER jeedom - Jeedom Mini+ - Console Clazio sous Android 6

guigro
Timide
Messages : 37
Inscription : 07 mai 2018, 16:47

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

Message par guigro » 14 juin 2018, 11:16

Et bah voilà, on ne peux plus partir tranquille en vacances sans que ce ne soit le bordel en rentrant !!
Et quel joyeux bordel ! Je ne peux que remercier et féliciter @guirem et @meute pour le boulot !! J'ai rarement vu ça c'est impressionnant !

Je reste connecté et dispo si besoin d'aide ou de test. Pour ma part je m'en sert principalement pour lancer des TTS avec Google Speech API afin de me faire des notifications dans mes scénarios alarmes etc. et pourquoi pas à l'avenir lancer des playlists Spotify et des films Plex :)

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

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

Message par guirem » 14 juin 2018, 12:38

Bonjour,

Maj beta/stable.

Changements :
- added broadcast parameter ('all' or uuid list)
- sequence improvement (recursive conversion)
- added scenario php example
- fix and doc update
Doc : https://github.com/guirem/plugin-google ... R/index.md

J'arrive au bout du projet donc normalement plus trop de maj à venir.

@Antoinekl1 : regarde la doc, j'ai rajouté un exemple de bloc php pour scénario qui attend la fin de la notif avant de continuer.
@Loup : c'était implicite dans ma demande mais ce sont les logs en mode debug que j'ai besoin...

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

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

Message par guirem » 14 juin 2018, 12:41

@breizh22: Tu peux aussi faire ta liste en appelant les raccourcis webradio

Code : Tout sélectionner

radio_pulsradio_trance|PulsRadio Trance;
radio_pulsradio_lounge|PulsRadio Lounge;
....

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

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

Message par meute » 14 juin 2018, 13:16

Antoinekl1 a écrit :
14 juin 2018, 07:36
Je pourrais en effet regrouper les messages au sein du scénario et ne l'envoyer qu'à la fin mais j'aurais quand même des longs messages qui vont se télescoper
Non, pourquoi ?

Il faut les regrouper dans une seule variable et transmettre cette variable en une fois au TTS.

Moi j'ai un scénario qui analyse les ouvrant, un autre qui analyse les éclairages intérieurs, un autre qui analyse les eclairage extérieur, et ainsi de suite ... ils construisent tous leur petite phrase d'état, ces scénarios sont soit appelé seul si je veux l'état que d'un type d'élément ou si je veux un état global alors c'est un scénario global qui lance chaque scénario d'analyse les un après les autres, il récupère chaque phrase pour les assembler et n'en faire qu'une puis l'envoie au TTS.

Comme ça la construction des phrases TTS d'état est totalement modulaire et au final on a qu'une phrase.

Les scénarios de construction s'occupent évidement de générer des phrases correctement syntaxées en fonction des pluriels, singulier, masculin féminin ...
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 » 14 juin 2018, 13:25

guigro a écrit :
14 juin 2018, 11:16
Et quel joyeux bordel ! Je ne peux que remercier et féliciter @guirem et @meute pour le boulot !!
Guirem certainement ... mais moi j'y suis pas pour grand chose, à part tester et faire mon chieur pour qu'il ajoute des trucs ma contribution s'est limitée à ça ...
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

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

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

Message par breizh22 » 14 juin 2018, 14:27

guirem a écrit :
14 juin 2018, 12:41
@breizh22: Tu peux aussi faire ta liste en appelant les raccourcis webradio

Code : Tout sélectionner

radio_pulsradio_trance|PulsRadio Trance;
radio_pulsradio_lounge|PulsRadio Lounge;
....
Oui, merci, je note. En tout cas, c'est top de pouvoir avoir une liste. Le fichier est stocké où en locale pour éventuellement changer un flux au besoin ou rajouter une radio ?

Edit, excuse, j'ai la réponse dans la doc, désolé
Dernière édition par breizh22 le 14 juin 2018, 15:43, édité 1 fois.
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.

Loup
Timide
Messages : 249
Inscription : 23 févr. 2016, 21:30

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

Message par Loup » 14 juin 2018, 15:35

Et Voila !


[2018-06-14 09:29:42][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=googlecast function=update callInstallFunction=1
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:44][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:44][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:45][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:45][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:46][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:46][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:46][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:46][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:46][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:47][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:47][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:48][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:49][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:50][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:50][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:51][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:51][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:53][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:53][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:53][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:29:54][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:29:54][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:14][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel debug --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/ ... st.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.2.91:80 --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxx --daemonname local --cyclefactor 1 --defaultstatus ' '
[2018-06-14 09:30:20][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:20][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:21][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : This is a message from googlecast program local
[2018-06-14 09:30:21][INFO] : Process started. Sending known devices now...
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:21][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:21][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:21][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:22][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:22][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:22][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:22][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:22][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:23][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:23][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:23][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Error while accessing device (offline ?)
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result error (previous result) : unknown
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result error (with default) : unknown => unknown
[2018-06-14 09:30:24][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:24][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:24][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:24][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:25][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:25][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].status|reterror=0
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : =>
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:25][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : unknown => unknown
[2018-06-14 09:30:25][DEBUG] : Envoi d'une commande depuis Jeedom
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2018-06-14 09:30:25][DEBUG] : getInfoHttp : Result success : 1243 => 1243
[2018-06-14 09:30:25][DEBUG] : Envoi d'une commande depuis Jeedom

Avatar de l’utilisateur
Antoinekl1
Actif
Messages : 3927
Inscription : 23 mai 2015, 08:14

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

Message par Antoinekl1 » 14 juin 2018, 16:06

meute a écrit :
14 juin 2018, 13:16
Antoinekl1 a écrit :
14 juin 2018, 07:36
Je pourrais en effet regrouper les messages au sein du scénario et ne l'envoyer qu'à la fin mais j'aurais quand même des longs messages qui vont se télescoper
Non, pourquoi ?

Il faut les regrouper dans une seule variable et transmettre cette variable en une fois au TTS.

Moi j'ai un scénario qui analyse les ouvrant, un autre qui analyse les éclairages intérieurs, un autre qui analyse les eclairage extérieur, et ainsi de suite ... ils construisent tous leur petite phrase d'état, ces scénarios sont soit appelé seul si je veux l'état que d'un type d'élément ou si je veux un état global alors c'est un scénario global qui lance chaque scénario d'analyse les un après les autres, il récupère chaque phrase pour les assembler et n'en faire qu'une puis l'envoie au TTS.

Comme ça la construction des phrases TTS d'état est totalement modulaire et au final on a qu'une phrase.

Les scénarios de construction s'occupent évidement de générer des phrases correctement syntaxées en fonction des pluriels, singulier, masculin féminin ...
je veux bien un exemple, comment fais tu pour savoir si c'est le sous-scenario qui envoie le TTS parce qu'il est appelé en directe ou si c'est le scenario père qui a appelé plusieurs sous-scenario ?
JEEDOM Smart Ultimate + 40 modules zwave
A vendre ; pack POWER jeedom - Jeedom Mini+ - Console Clazio sous Android 6

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

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

Message par meute » 14 juin 2018, 16:07

Les scenarios d'analyse ne font que construire la phrase, ensuite il faut un ou plusieurs scénarios qui appellent les sous scénarios et qui lance ensuite le TTS

T'expliquer dans le détail ferait l'objet d'un tuto, j'utilise aussi le TTS depuis la réponse aux interactions à partir de script en PHP (ce sur quoi j'ai déjà fais un tuto)

Un des scénarios qui construit sa petite phrase :
Capture1.PNG
Capture1.PNG (79.81 Kio) Consulté 1396 fois
Un scenario qui regroupe les autres pour faire un état global et construit la phrase finale :
Capture2.PNG
Capture2.PNG (214.26 Kio) Consulté 1396 fois
L'interaction qui appel le scenario et fait le retour TTS :
Capture3.PNG
Capture3.PNG (37.09 Kio) Consulté 1396 fois
Dernière édition par meute le 14 juin 2018, 16:17, édité 1 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

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

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

Message par meute » 14 juin 2018, 16:16

La commande de l'interaction qui lance le scenario
Capture4.PNG
Capture4.PNG (31.68 Kio) Consulté 1395 fois
Pour la façon de faire un retour TTS directement avec la réponse de l'interaction :

viewtopic.php?f=59&t=32319

Plus particulièrement : viewtopic.php?f=59&t=32182
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 » 14 juin 2018, 17:03

Un scenario qui donne l'état détaillé des ouvrants :

Code : Tout sélectionner

- Nom du scénario : Etat Portes Fenetres
- Mode du scénario : provoke



    
    SI #[Maison][Tous les Volets][Potes-Fenêtres Ouvertes]# == 0   
    ALORS
     (variable) Affectation de la variable : strEtat à Toutes les portes et fenêtres sont fermées
    SINON
         
        SI #[Maison][Tous les Volets][Portes-Fenêtres Fermées]# == 0  
        ALORS
         (variable) Affectation de la variable : strEtat à Toutes les portes et fenêtres sont ouvertes
        SINON
         (variable) Affectation de la variable : strEtat à 
             
            SI #[Maison][Porte Entrée][Ouvert]# == 1
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la porte de l'entrée
            SINON
             
            SI #[Volets Séjour][Fenêtre Cuisine][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la fenêtre de la cuisine
            SINON
             
            SI #[Volets Séjour][Porte Cuisine][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la porte de la cuisine
            SINON
             
            SI #[Volets Séjour][Baie Salon][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la baie du salon,
            SINON
             
            SI #[Volets Séjour][Baie Veranda][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la baie de la veranda,
            SINON
             
            SI #[Chambre Mathéo][Fenêtre Mathéo][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la fenêtre de Mathéo,
            SINON
             
            SI #[Chambre Florent][Fenêtre Florent][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la fenêtre de Florent,
            SINON
             
            SI #[Chambre Parents][Fenêtre Parents][Ouvert]# == 1  
            ALORS
                 
                SI variable(strEtat) != ""
                ALORS
                 (variable) Affectation de la variable : strEtat à variable(strEtat) et
                SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) la fenêtre des parents,
            SINON
             
            SI #[Maison][Tous les Volets][Potes-Fenêtres Ouvertes]# == 1  
            ALORS
             (variable) Affectation de la variable : strEtat à variable(strEtat) est ouverte
            SINON
             (variable) Affectation de la variable : strEtat à variable(strEtat) sont ouvertes
    
    ACTION
     (variable) Affectation de la variable : strEtatPortesFenêtres à variable(strEtat)
L'interaction qui le lance avec son retour
Capture1.PNG
Capture1.PNG (41.43 Kio) Consulté 1381 fois
et sa commande
Capture2.PNG
Capture2.PNG (31.87 Kio) Consulté 1381 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

speeed
Timide
Messages : 329
Inscription : 17 mai 2017, 19:09

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

Message par speeed » 14 juin 2018, 17:45

impossible de lancer les dépendances sur une smart
j'ai essayé la bêta pareil

Code : Tout sélectionner

Launch install of googlecast dependancies
-- Updating repo...
Ign http://repo.jeedom.com ./ InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://repo.jeedom.com ./ Packages
Ign http://repo.jeedom.com ./ Translation-en_US
Ign http://repo.jeedom.com ./ Translation-en
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/main arm64 Packages
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://ftp.debian.org jessie-updates/non-free Sources
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:5 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [26.0 kB]
Get:8 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:9 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:10 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Get:14 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:15 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [16.5 kB]
Get:16 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:17 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7,270 B]
Get:19 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:22 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [16.5 kB]
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net all InRelease
Hit http://oph.mdrjr.net jessie InRelease
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:23 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:24 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:25 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:26 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:27 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:28 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:29 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:30 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:31 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:34 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:35 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:36 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:37 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:38 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:39 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:40 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:41 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:44 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:45 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:46 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:47 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:48 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:49 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:50 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:51 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:53 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:54 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:55 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:56 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:57 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:58 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:59 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:60 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:61 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:63 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:64 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:65 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:66 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:67 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:68 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:69 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:70 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:71 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:72 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 359 kB in 32s (10.9 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installation of python3 and dependancies
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installed version of Python :
Python 3.4.2
-- Installation of pip for python3 and necessary libraries
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installation of TTS libraries
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Error: Cound not found pip3 program to install python dependencies !
Dernière édition par speeed le 14 juin 2018, 23:39, édité 1 fois.

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

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

Message par meute » 14 juin 2018, 17:52

Mettre des longs log entre les balises [ code][/code ] évite d'avoir des messages de 3Km
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

speeed
Timide
Messages : 329
Inscription : 17 mai 2017, 19:09

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

Message par speeed » 14 juin 2018, 17:56

OK désolé...

speeed
Timide
Messages : 329
Inscription : 17 mai 2017, 19:09

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

Message par speeed » 14 juin 2018, 18:01

bonjour
impossible de lancer les dépendances sur une smart
j'ai essayé la bêta pareil


Code : Tout sélectionner

Launch install of googlecast dependancies
-- Updating repo...
Ign http://repo.jeedom.com ./ InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://repo.jeedom.com ./ Packages
Ign http://repo.jeedom.com ./ Translation-en_US
Ign http://repo.jeedom.com ./ Translation-en
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/main arm64 Packages
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://ftp.debian.org jessie-updates/non-free Sources
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:5 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [26.0 kB]
Get:8 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:9 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:10 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Get:14 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:15 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [16.5 kB]
Get:16 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:17 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7,270 B]
Get:19 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:22 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [16.5 kB]
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net all InRelease
Hit http://oph.mdrjr.net jessie InRelease
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:23 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:24 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:25 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:26 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:27 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:28 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:29 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:30 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:31 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:34 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:35 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:36 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:37 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:38 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:39 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:40 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:41 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:44 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:45 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:46 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:47 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:48 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:49 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:50 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:51 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:53 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:54 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:55 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:56 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:57 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:58 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:59 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:60 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:61 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:63 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:64 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:65 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:66 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:67 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:68 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:69 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:70 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:71 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:72 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 359 kB in 32s (10.9 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installation of python3 and dependancies
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installed version of Python :
Python 3.4.2
-- Installation of pip for python3 and necessary libraries
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-- Installation of TTS libraries
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Error: Cound not found pip3 program to install python dependencies !
Si un modérateur pouvait supprimer le message précédent
Merci
Dernière édition par speeed le 14 juin 2018, 18:10, édité 1 fois.

Répondre

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

Qui est en ligne ?

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