[Plugin Tiers][Sujet Principal] Google Cast
Re: [Plugin Tiers][Sujet Principal] Google Cast
Par contre tu pouvais simplement éditer ton message précédent, le recréer ne servait à rien
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
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
Re: [Plugin Tiers][Sujet Principal] Google Cast
super remarque bien que je m'en doutait
un peu de ta faute quand meme
app.php/help/faq#f2r1
Veuillez noter que les utilisateurs normaux ne peuvent pas supprimer leur propre message si une réponse a été publiée.
un peu de ta faute quand meme
app.php/help/faq#f2r1
Veuillez noter que les utilisateurs normaux ne peuvent pas supprimer leur propre message si une réponse a été publiée.
Re: [Plugin Tiers][Sujet Principal] Google Cast
log en mode debug
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://repo.jeedom.com ./ Packages
Hit http://ftp.debian.org jessie Release.gpg
Ign http://repo.jeedom.com ./ Translation-en
Hit http://ftp.debian.org jessie Release
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 [3688 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]
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:8 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:9 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:10 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:11 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:12 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:13 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8530 B]
Get:14 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7960 B]
Get:15 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Get:16 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Get:17 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7762 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [16.5 kB]
Get:19 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4948 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7270 B]
Get:22 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:23 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8392 B]
Get:24 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:25 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [16.5 kB]
Get:26 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
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
Get:27 http://oph.mdrjr.net jessie/main Translation-en [326 B]
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
Get:28 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:29 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:30 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:31 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:34 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:35 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:36 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:37 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:38 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:39 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:40 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:41 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:44 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:45 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:46 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:47 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 359 kB in 6s (58.3 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 !
Re: [Plugin Tiers][Sujet Principal] Google Cast
Code : Tout sélectionner
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Envoyé de mon SM-A520F en utilisant Tapatalk
Re: [Plugin Tiers][Sujet Principal] Google Cast
sudo dpkg --configure -a
dans jeedom smart
réponse
[MySQL] Error code : 42000 (1064). You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sudo dpkg --configure -a' at line 1
dans jeedom smart
réponse
[MySQL] Error code : 42000 (1064). You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sudo dpkg --configure -a' at line 1
Re: [Plugin Tiers][Sujet Principal] Google Cast
C'est dans system qu'il faut lancer la commande ou en SSH, pas dans base de donnée
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
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
Re: [Plugin Tiers][Sujet Principal] Google Cast
merci meute
OK la commande passe mais aucune réponse
je relance l'installation des dépendances
ca ne fonctionne pas
voici les logs
OK la commande passe mais aucune réponse
je relance l'installation des dépendances
ca ne fonctionne pas
voici les logs
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://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://repo.jeedom.com ./ Packages
Hit http://ftp.debian.org jessie Release
Ign http://repo.jeedom.com ./ Translation-en
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
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 [3688 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 [8530 B]
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7960 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
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://oph.mdrjr.net all InRelease
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
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 [4948 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7270 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 [8392 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://oph.mdrjr.net jessie InRelease
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://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://oph.mdrjr.net all/c2 arm64 Packages
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/main arm64 Packages
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:23 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:24 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:25 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:26 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:27 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:28 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:29 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:30 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:31 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:34 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:35 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:36 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:37 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:38 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:39 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:40 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:41 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:44 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:45 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:46 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:47 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 359 kB in 6s (59.7 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 !
Re: [Plugin Tiers][Sujet Principal] Google Cast
Probablement à faire en SSH pour mieux voir ce qu'il se passe
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
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
Re: [Plugin Tiers][Sujet Principal] Google Cast
merci j'essayerai ce soir
super cela a fonctionner sous putty Dépendances OK
ça ma trouver ma Google home +mon Chromecast
merci
super cela a fonctionner sous putty Dépendances OK
ça ma trouver ma Google home +mon Chromecast
merci
Dernière édition par speeed le 14 juin 2018, 23:30, édité 1 fois.
Re: [Plugin Tiers][Sujet Principal] Google Cast
Bonsoir,
@Loup, as-tu résolu ton pb ?
J'ai le même en France Le retour de l'url donné par @guirem sur ma GH mini confirme mon alame à 6h30 du matin :
Date ssh sur Jeedom :
Log plugin :
@Loup, as-tu résolu ton pb ?
J'ai le même en France Le retour de l'url donné par @guirem sur ma GH mini confirme mon alame à 6h30 du matin :
Code : Tout sélectionner
fire_time 1529037000000
...
time_pattern
hour 6
minute 30
second 0
Code : Tout sélectionner
root@jeedom:~# date
jeudi 14 juin 2018, 18:57:02 (UTC+0200)
Code : Tout sélectionner
[2018-06-14 19:30:06][DEBUG] : getInfoHttp : cmd=getconfig|value=assistant/alarms|data=$.alarm.[0].fire_time|fnc=ts2long|reterror=Undefined
[2018-06-14 19:30:06][DEBUG] : getInfoHttp : Result success : 1529037000000 => 01-01-1970 01:00
- Antoinekl1
- Actif
- Messages : 3927
- Inscription : 23 mai 2015, 08:14
Re: [Plugin Tiers][Sujet Principal] Google Cast
meute a écrit : ↑14 juin 2018, 17:03Un scenario qui donne l'état détaillé des ouvrants :
L'interaction qui le lance avec son retourCode : 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)
Capture1.PNG
et sa commande
Capture2.PNG
Ok avec une interaction je comprends mais quand c'est un scénario qui peut être lancé par un autre scénario, voir le plugin alarme c'est plus complexe à gérer
Je vais lire vos liens et voir comment je peux gérer ça.
JEEDOM Smart Ultimate + 40 modules zwave
A vendre ; pack POWER jeedom - Jeedom Mini+ - Console Clazio sous Android 6
A vendre ; pack POWER jeedom - Jeedom Mini+ - Console Clazio sous Android 6
Re: [Plugin Tiers][Sujet Principal] Google Cast
Bonjour
Félicitation pour ton travail et ce plugin vraiement très complet
Pour ma part, il me manque la diffusion des playlist spotify, mais je n'y arrive pas
J'ai tenter de récupérer un token via ce script php https://gist.github.com/ahallora/4aac6d048742d5de0e65 en ayant créer auparavant un app sur https://developer.spotify.com/dashboard/applications
Je récupère bien un token
Code : Tout sélectionner
{
access_token: "BQDBf0zoE135RuQWc2acFcg1XFwc83cTirEUbI1jtwpuuWCMWdYPbns9U-3q73mbIK83sp75sPSmCFsLats",
token_type: "Bearer",
expires_in: 3600,
scope: ""
}
Log googlecast_local
Code : Tout sélectionner
[2018-06-15 09:06:35][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:59694]
[2018-06-15 09:06:35][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"C9HaIiMg4mGpFcsWD9fNWf2uKTVQn2f4","cmd":"action","device":{"uuid":"e2edc993-3b4b-b242-4ba9-cfdbb243a197","source":"googlecast"},"command":[{"app":"spotify","token":"BQDTmc8YRnssLsP5PN_yMKSBKrQlKEYCnQD-zr1u2Us7q1lcGvHLhpY_zZT3juXBhQUAQYddA4EBqBDHx2w","value":"track:54MFLMtI1lDZXzWCnrL2jo"}]}
[2018-06-15 09:06:35][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:59694]
[2018-06-15 09:06:36][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-06-15 09:06:36][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2018-06-15 09:06:36][DEBUG] : SOCKET-READ------Attempt an action on a device
[2018-06-15 09:06:36][DEBUG] : SOCKET-READ------Action Thread Launched
[2018-06-15 09:06:36][DEBUG] : ACTION------ action - NONE - e2edc993-3b4b-b242-4ba9-cfdbb243a197 - track:54MFLMtI1lDZXzWCnrL2jo - spotify
[2018-06-15 09:06:38][DEBUG] : JEEDOMCHROMECAST------ Initiating player urn:x-cast:com.spotify.chromecast.secure.v1
[2018-06-15 09:06:38][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': '', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': False, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': None, 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': ' ', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:40][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': '', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': False, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': None, 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': ' ', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:40][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': '', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': False, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': None, 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': ' ', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:41][DEBUG] : JEEDOMCHROMECAST------ Manage previous status : Removing previous playercmd!
[2018-06-15 09:06:41][DEBUG] : Detected changes in status of Cuisine
[2018-06-15 09:06:41][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': 'Spotify', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': True, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': 'CC32E753', 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': 'Spotify', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:41][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'title': '', 'player_state': 'UNKNOWN', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'series_title': '', 'artist': ''}
[2018-06-15 09:06:41][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': 'Spotify', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': True, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': 'CC32E753', 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': 'Spotify', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:41][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'title': '', 'player_state': 'UNKNOWN', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'series_title': '', 'artist': ''}
[2018-06-15 09:06:41][DEBUG] : SENDER------Send to jeedom : {'devices': {'e2edc993-3b4b-b242-4ba9-cfdbb243a197': {'options': {'ignore_CEC': '0'}, 'lastOnline': 1529046382, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'lastSent': 1529046401, 'online': True, 'lastOfflineSent': 1529028111, 'typemsg': 'info', 'lastScan': 1529046387, 'status': {'player_state': 'UNKNOWN', 'volume_muted': False, 'uri': '192.168.0.40:8009', 'is_stand_by': False, 'app_id': 'CC32E753', 'series_title': '', 'is_active_input': False, 'display_name': 'Spotify', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': 'Spotify', 'artist': '', 'stream_type': 'UNKNOWN', 'volume_level': 47, 'title': '', 'is_busy': True}}}}
[2018-06-15 09:06:41][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': 'Spotify', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': True, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': 'CC32E753', 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': 'Spotify', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:44][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat 22
[2018-06-15 09:06:44][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': True, 'display_name': 'Default Media Receiver', 'series_title': None, 'content_type': 'audio/mpeg', 'season': None, 'is_busy': False, 'album_name': None, 'idle_reason': 'INTERRUPTED', 'player_state': 'PLAYING', 'supports_pause': True, 'image': 'http://cdn-radiotime-logos.tunein.com/s6566q.png', 'current_time': '1455', 'duration': None, 'volume_level': 23, 'online': True, 'app_id': 'CC1AD845', 'album_artist': None, 'supported_media_commands': 15, 'episode': None, 'is_active_input': False, 'stream_type': 'BUFFERED', 'friendly_name': 'GH_salon', 'uuid': 'ea34301f-da02-70e3-0951-b28ae25f6a55', 'status_text': 'Casting: Europe1', 'artist': None, 'track': None, 'title': 'Europe1', 'metadata_type': None}, 'uuid': 'ea34301f-da02-70e3-0951-b28ae25f6a55'}
[2018-06-15 09:06:54][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'title': '', 'player_state': 'UNKNOWN', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'series_title': '', 'artist': ''}
[2018-06-15 09:06:54][DEBUG] : Detected changes in status of Cuisine
[2018-06-15 09:06:54][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': '', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': False, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': None, 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': ' ', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:54][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'volume_muted': False, 'is_stand_by': False, 'display_name': 'Spotify', 'series_title': None, 'content_type': None, 'season': None, 'is_busy': True, 'album_name': None, 'idle_reason': None, 'player_state': 'UNKNOWN', 'supports_pause': False, 'image': None, 'current_time': '0', 'duration': None, 'volume_level': 47, 'online': True, 'app_id': 'CC32E753', 'album_artist': None, 'supported_media_commands': 0, 'episode': None, 'is_active_input': False, 'stream_type': 'UNKNOWN', 'friendly_name': 'Cuisine', 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': 'Spotify', 'artist': None, 'track': None, 'title': None, 'metadata_type': None}, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197'}
[2018-06-15 09:06:54][DEBUG] : SENDER------Send to jeedom : {'devices': {'e2edc993-3b4b-b242-4ba9-cfdbb243a197': {'lastScan': 1529046387, 'lastOnline': 1529046382, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'online': True, 'lastSent': 1529046401, 'typemsg': 'info', 'lastOfflineSent': 1529028111, 'options': {'ignore_CEC': '0'}, 'status': {'volume_muted': False, 'player_state': 'UNKNOWN', 'is_stand_by': False, 'app_id': None, 'series_title': '', 'is_active_input': False, 'display_name': '', 'friendly_name': 'Cuisine', 'volume_level': 47, 'uuid': 'e2edc993-3b4b-b242-4ba9-cfdbb243a197', 'status_text': ' ', 'artist': '', 'stream_type': 'UNKNOWN', 'uri': '192.168.0.40:8009', 'title': '', 'is_busy': False}}}}
[2018-06-15 09:07:00][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat 16
Merci pour ton aide
Re: [Plugin Tiers][Sujet Principal] Google Cast
Pour récupérer le token (temporaire donc pour test), tu peux aller sous debugger une fois connecté sur le site de Spotify et aller récupérer le cookie wp_access_token comme sur ma capture. Ensuite, tu peux ajouter les mots-clés track, artist, album récupérés dans l'url (ou dans le debugger de mémoire)
Et au passage, j'en profite pour un énorme merci à Guirem pour son excellent plugin et son incroyable réactivité sur les demandes d'évolutions (et sans délaisser la doc) !
Et au passage, j'en profite pour un énorme merci à Guirem pour son excellent plugin et son incroyable réactivité sur les demandes d'évolutions (et sans délaisser la doc) !
- Pièces jointes
-
- spotify.png (58.95 Kio) Consulté 7700 fois
Re: [Plugin Tiers][Sujet Principal] Google Cast
@alcor_fr : Tu as la solution de noodom pour un token type web mais ce n'est vraiment que pour du test.
Ton script utilise le 'client credentials' flow. Ca permet de récupérer des stats et données sur les tracks mais pas d’autoriser un utilisateur à streamer.
Il faut t'orienter vers d'autres types de récupération de token (https://developer.spotify.com/documenta ... ion-guide/) qui permettent d'accéder aux données du compte (et streamer) et il faut probablement un compte Premium (ce que je n'ai pas).
Pour tes tests, utilise 'track:3Zwu2K0Qa5sT6teCCHPShP' car ce track fonctionne et ça t'évite déjà des erreurs potientielles.
Je suis intéressé par vos retours sur les tests spotify car il ne manque pas grand chose je pense à part la partie récupération de token...
Ton script utilise le 'client credentials' flow. Ca permet de récupérer des stats et données sur les tracks mais pas d’autoriser un utilisateur à streamer.
Il faut t'orienter vers d'autres types de récupération de token (https://developer.spotify.com/documenta ... ion-guide/) qui permettent d'accéder aux données du compte (et streamer) et il faut probablement un compte Premium (ce que je n'ai pas).
Pour tes tests, utilise 'track:3Zwu2K0Qa5sT6teCCHPShP' car ce track fonctionne et ça t'évite déjà des erreurs potientielles.
Je suis intéressé par vos retours sur les tests spotify car il ne manque pas grand chose je pense à part la partie récupération de token...
Re: [Plugin Tiers][Sujet Principal] Google Cast
@raqpub : j'ai poussé une nouvelle beta qui devrait réglé ce problème.
@Loup : peux tu renvoyer les logs avec cette nouvelle beta ?
@Loup : peux tu renvoyer les logs avec cette nouvelle beta ?
Re: [Plugin Tiers][Sujet Principal] Google Cast
Merci @Guirem.
Désolé de ne pas être réactif comme toi, mais je ne vogue qu'en stable donc je vais compter sur @Loup si il joue en béta (Merci pour la coopération intercontinentale).
Re: [Plugin Tiers][Sujet Principal] Google Cast
Je suis seulement en stable moi aussi.raqpub a écrit :Merci @Guirem.
Désolé de ne pas être réactif comme toi, mais je ne vogue qu'en stable donc je vais compter sur @Loup si il joue en béta (Merci pour la coopération intercontinentale).
Envoyé de mon LG-H831 en utilisant Tapatalk
Re: [Plugin Tiers][Sujet Principal] Google Cast
Vous mettez la beta, faites le test, informez guirem du résultat et vous reswitchez en stable si ça vous chante ... vous faut le beurre et la crémière ...
Entre la stable et la beta de guirem il n'y a quasi aucune différence hormis la résolution de votre problème d'alarme, les versions ont encore été synchronisée il a moins de 2 jours ...
Entre la stable et la beta de guirem il n'y a quasi aucune différence hormis la résolution de votre problème d'alarme, les versions ont encore été synchronisée il a moins de 2 jours ...
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
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
Qui est en ligne ?
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 11 invités