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] Plugin Alexa-API

Pour échanger sur les plugins classés en catégorie "Communication"
willyguillermin
Timide
Messages : 4
Inscription : 10 mai 2019, 13:12

Re: [DEV] Plugin Alexa-Api

Message par willyguillermin » 10 mai 2019, 19:16

Nebz a écrit :
10 mai 2019, 13:32
willyguillermin a écrit :
10 mai 2019, 13:26
Bonjour,

Je n'arrive pas a installer les dépendances du plug in ALEXA API.

Copie du fichier alexaapi_dep.

--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
sudo: unable to resolve host jeedom
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 241 not upgraded.
3 not fully installed or removed.
After this operation, 60.9 MB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 53391 files and directories currently installed.)
Removing nodejs (8.16.0-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules' not empty so not removed
Processing triggers for man-db (2.7.0.2-5) ...


Je ne sais pas comment faire.

Merci
Hello,

tu n'es pas au bon endroit, comme tu peux le lire dans le titre tu es dans le sujet BETA sur ce plugin... et comme tu n'as écrit qu'un seul message, ca m'etonnerait que tu sois en beta...

deuxièmement, ton log n'est pas complet, si tu pouvais tous fournir ca serait plus simple de t'aider...

je déplace ton sujet

Nebz


J'avais pourtant bien le plug in BETA.
Peu importe du coup j'ai installé la version stable.

Du coup je n'arrive toujours pas pour les dépendances.

J'ai fait une copie du log en entier cette fois ci.

--0%
sudo: unable to resolve host jeedom
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
sudo: unable to resolve host jeedom
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit https://deb.nodesource.com jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
sudo: unable to resolve host jeedom
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 241 not upgraded.
3 not fully installed or removed.
After this operation, 60.9 MB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 53391 files and directories currently installed.)
Removing nodejs (8.16.0-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules' not empty so not removed
Processing triggers for man-db (2.7.0.2-5) ...
Setting up bsd-mailx (8.1.2-0.20141216cvs-2) ...

Impossible d'aller plus loin.
Si vous avez une idée, je suis preneur.

Merci

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 10 mai 2019, 19:33

Impossible d'aller plus loin c'est à dire ? Tu as attendu combien de temps ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
fredlamour
Timide
Messages : 260
Inscription : 31 janv. 2016, 11:38
Localisation : Brissac Loire Aubance

Re: [Plugin Tiers] Plugin Alexa-API

Message par fredlamour » 10 mai 2019, 20:17

Bonjour,
J'ai un comportement étrange de la commande speak.
Le matin (6h45) et le soir (19h45), je lance plusieurs speak sur un echo spot pour la météo, éphémeride ....
Comme cela fait plus de 256 caractères, je l'ai tronqué et lorsque je l'exécute cela fonctionne bien.
Mon problème est que la première commande speak ne fonctionne jamais et me donne une erreur : cURL error : Operation timed out after 2001 milliseconds with 0 bytes received

Les autres speak qui s'enchainent fonctionne correctement.
J'ai l'impression que l'écho se met en veille et ne répond pas à la première commande. J'ai essayé un refresh avant, de lancer un speak avec rien pour le laisser en timeout et que la suite fonctionne mais cela ne fonctionne pas.
J'ai mis une surveillance réseau et lorsque cela arrive, je n'ai pas d'erreur de ping ni de latence.

Est ce que vous avez des idées ?
Merci d'avance

Avatar de l’utilisateur
edreams
Actif
Messages : 928
Inscription : 01 déc. 2014, 11:57
Localisation : Près de Montpellier

Re: [Plugin Tiers] Plugin Alexa-API

Message par edreams » 10 mai 2019, 20:56

Sigalou,


Peux-tu me dire s'il y a quelque chose à espérer à court terme pour le bug du démon qui plante lorsqu'on adresse un groupe d'enceintes ou si c'est trop complexe ou sans solution ?

Je comprends bien qu'il n'y a rien à exiger de quelqu'un qui fournit son plugin gratuitement mais j'ai modifié toute mon install pour vocaliser via ton plugin et notre "vie quotidienne" est un peu bouleversée par l'absence de cette fonctionnalité vocale ! Je n'ai pas spécialement envie d'à nouveau tout re-remodifier si tu pense qu'un correctif sera dispo prochainement.

Si tu as des news merci à toi !
* Jeedom VM sur Synology DS916+ 8Go/24To / Zwave AEON GEN5 / RfxTrx433E *

Matériel complet --> http://forum.jeedom.fr/memberlist.php?m ... ile&u=1001 <--

willyguillermin
Timide
Messages : 4
Inscription : 10 mai 2019, 13:12

Re: [Plugin Tiers] Plugin Alexa-API

Message par willyguillermin » 10 mai 2019, 21:49

Nebz a écrit :
10 mai 2019, 19:33
Impossible d'aller plus loin c'est à dire ? Tu as attendu combien de temps ?


Envoyé de mon iPhone en utilisant Tapatalk

Cela fait pas loin de 2h30 et toujours rien.
Impossible d'installer les dépendances.
Le statut est NOK.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 11 mai 2019, 07:34

willyguillermin a écrit :
Nebz a écrit :
10 mai 2019, 19:33
Impossible d'aller plus loin c'est à dire ? Tu as attendu combien de temps ?


Envoyé de mon iPhone en utilisant Tapatalk

Cela fait pas loin de 2h30 et toujours rien.
Impossible d'installer les dépendances.
Le statut est NOK.
Déjà il y a une erreur de hostname qui n'est pas configuré.

Ensuite pour l'installation qui bloque, le problème vient de ton système, je vois que tu es toujours en debian jessie... peut être passer en Stretch...


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

bbreton
Actif
Messages : 536
Inscription : 16 déc. 2014, 21:46
Localisation : Lyon
Contact :

Re: [Plugin Tiers] Plugin Alexa-API

Message par bbreton » 11 mai 2019, 07:47

Bonjour, pour info sur la version beta 10/05/19, il manque une virgule dans le info.json à la ligne 11 ce qui désactive le plugin.
Jeedom Beta / Debian sur Serveur ESXi (Intel NUC I3)

Installation :
Lumière,Volet,Chauffage en KNX
Google Home + Karotz+ Sonos + xiaomi

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 11 mai 2019, 07:49

bbreton a écrit :Bonjour, pour info sur la version beta 10/05/19, il manque une virgule dans le info.json à la ligne 11 ce qui désactive le plugin.
Bien vu ! Corrigé sur github mais pas poussé dans le market car il n'y a que @sigalou qui peut le faire


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

amerton
Actif
Messages : 522
Inscription : 28 août 2016, 12:11
Localisation : Espagne

Re: [Plugin Tiers] Plugin Alexa-API

Message par amerton » 11 mai 2019, 10:50

Bonjour

Comme un collègue plus haut, j’ai régulièrement l’erreur suivante - surtout la nuit mais pas que, et ça affecte mes dots - pas encore les echos je crois.

Ca a l’air mais sans certitude de remonter à la dernière ou l’avant dernière màj du core...

2019-05-11 05:30:06 alexaapi Erreur pour [Aucun][QP bureau] : Echec de la requête HTTP : http://192.168.1.72:3456/whennextalarm? ... device=xxx cURL error : Failed to connect to 192.168.1.72 port 3456: Connection refused

willyguillermin
Timide
Messages : 4
Inscription : 10 mai 2019, 13:12

Re: [Plugin Tiers] Plugin Alexa-API

Message par willyguillermin » 12 mai 2019, 18:26

Nebz a écrit :
11 mai 2019, 07:34
willyguillermin a écrit :
Nebz a écrit :
10 mai 2019, 19:33
Impossible d'aller plus loin c'est à dire ? Tu as attendu combien de temps ?


Envoyé de mon iPhone en utilisant Tapatalk

Cela fait pas loin de 2h30 et toujours rien.
Impossible d'installer les dépendances.
Le statut est NOK.
Déjà il y a une erreur de hostname qui n'est pas configuré.

Ensuite pour l'installation qui bloque, le problème vient de ton système, je vois que tu es toujours en debian jessie... peut être passer en Stretch...


Envoyé de mon iPhone en utilisant Tapatalk

Bonjour,

Merci encore.
En effet j'avais un problème avec Jessie.
Impossible de faire la mise a jour en Stretch.
J'ai tout refait depuis le zéro et maintenant c'est OK.
Merci

meuja
Timide
Messages : 36
Inscription : 29 janv. 2019, 09:33

Re: [Plugin Tiers] Plugin Alexa-API

Message par meuja » 14 mai 2019, 13:27

J'ai exactement le même comportement que fredlamour. La premiere commande Speak passe en time-out et le message est prononcé 2 fois, par contre pas de Pb pour les suivants. La différence c'est que j'utilise Alexa intégré dans une enceinte SonosOne.
Dans les logs alexaapi j'ai cela:

Code : Tout sélectionner

"Erreur exécution de la commande [...][Speak] : Echec de la requête HTTP : http://.... cURL error : Operation timed out after 2000 milliseconds with 0 bytes received"
Personne d'autre ne rencontre ce problème?

adriansinho
Timide
Messages : 6
Inscription : 27 nov. 2017, 15:44

Re: [Plugin Tiers] Plugin Alexa-API

Message par adriansinho » 14 mai 2019, 15:47

Bonne après-midi à tous,

De ce que je viens de lire, il me semble que il y a un certain nombre de usagers avec le même problème.

J'ai installé le plugin et tout me semblait parfait mais, aux 12 ou 14 heures de ça, j'ai perdu la cookie de amazon et il n'y a aucune manière de la charger une autre fois. Le pop up s'ouvre mais il n'y a rien en train de écouter dans le port et il y a une erreur en retour. J'ai essayé avec la réparation de NodeJs et avec la re-instalation de dependances mais quand même, il ne marche pas. Je dois reinstaller le plugin et la cookie une autre fois (un pop up s'ouvre au premier essai) et il fonctionne à nouveau. Aux 12 ou 14 heures après je perds la cookie encore une fois.

J'ai fait telnet à l'IP de mon Jeedom au port 3457 et il m'informe que la connexion ne peut pas être ouvert. Cependant, j'ai accès au 80 et au 443 sans problème.

J'ai le Jeedom (à la dernière version) virtualisé en VMWare.

Je suis capable par contre de me connecter à amazon.es. Je ne sais pas si ça peut être la cause mais, pendant 12/14 heures, il marche sans auncun problème.

Les erreurs provenant du log sont:

Log AlexaAPI:

Code : Tout sélectionner


[2019-05-14 08:55:01][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-05-14 09:00:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-05-14 09:00:33][ERROR] : Impossible de lancer le démon alexaapi, vérifiez le port
[2019-05-14 09:01:26][ERROR] : Error de ejecución del comando[Alexa][Echo Dot de Adrián][Speak] : Error en solicitud HTTP:http://192.168.1.116:3456/speak?text=Este+es+un+mensaje+de+prueba+para+el+comando+Speak&device=G090U50991050ACK cURL error : Failed to connect to 192.168.1.116 port 3456: Connection refused

Log Alexaapi_cookie:

Code : Tout sélectionner


/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)

Alexaapi_node:

Code : Tout sélectionner

SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)

/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
unnamed.png
unnamed.png (94.1 Kio) Consulté 1281 fois
Je vous envoie les logs au cas où ils vous aident à résoudre l'incident.
Bon travail et merci beaucoup ;)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 14 mai 2019, 16:00

adriansinho a écrit :Bonne après-midi à tous,

De ce que je viens de lire, il me semble que il y a un certain nombre de usagers avec le même problème.

J'ai installé le plugin et tout me semblait parfait mais, aux 12 ou 14 heures de ça, j'ai perdu la cookie de amazon et il n'y a aucune manière de la charger une autre fois. Le pop up s'ouvre mais il n'y a rien en train de écouter dans le port et il y a une erreur en retour. J'ai essayé avec la réparation de NodeJs et avec la re-instalation de dependances mais quand même, il ne marche pas. Je dois reinstaller le plugin et la cookie une autre fois (un pop up s'ouvre au premier essai) et il fonctionne à nouveau. Aux 12 ou 14 heures après je perds la cookie encore une fois.

J'ai fait telnet à l'IP de mon Jeedom au port 3457 et il m'informe que la connexion ne peut pas être ouvert. Cependant, j'ai accès au 80 et au 443 sans problème.

J'ai le Jeedom (à la dernière version) virtualisé en VMWare.

Je suis capable par contre de me connecter à amazon.es. Je ne sais pas si ça peut être la cause mais, pendant 12/14 heures, il marche sans auncun problème.

Les erreurs provenant du log sont:

Log AlexaAPI:

Code : Tout sélectionner


[2019-05-14 08:55:01][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-05-14 09:00:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-05-14 09:00:33][ERROR] : Impossible de lancer le démon alexaapi, vérifiez le port
[2019-05-14 09:01:26][ERROR] : Error de ejecución del comando[Alexa][Echo Dot de Adrián][Speak] : Error en solicitud HTTP:http://192.168.1.116:3456/speak?text=Este+es+un+mensaje+de+prueba+para+el+comando+Speak&device=G090U50991050ACK cURL error : Failed to connect to 192.168.1.116 port 3456: Connection refused

Log Alexaapi_cookie:

Code : Tout sélectionner


/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)
/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:1:73)

Alexaapi_node:

Code : Tout sélectionner

SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)

/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:80
httpsGetCall(path,callback,flags={}){let options={host:this.baseUrl,path:'',method:'GET',timeout:10000,headers:{'User-Agent':this._options.userAgent,'Content-Type':'application/json; charset=UTF-8','Referer':`https:'Origin':`https:'Content-Type':'application/json','csrf':this.csrf,'Cookie':this.cookie}};path=path.replace(/[
]/g,'');if(!path.startsWith('/')){path=path.replace(/^https:\/\//,'');let ar=path.match(/^([^\/]+)([\/]*.*$)/);options.host=ar[1];path=ar[2];}else{options.host=this.baseUrl;}
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/alexaapi.js:1:131)
unnamed.png
Je vous envoie les logs au cas où ils vous aident à résoudre l'incident.
Bon travail et merci beaucoup ;)
Attention, ton test de connexion vers 3457 n'a aucune valeur, le port est ouvert à la demande au début de la procédure puis fermé, le 3456 par contre est le port du démon .


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

adriansinho
Timide
Messages : 6
Inscription : 27 nov. 2017, 15:44

Re: [Plugin Tiers] Plugin Alexa-API

Message par adriansinho » 14 mai 2019, 16:38

Ok, j'ai testé le port 3456. Il n'arrête pas de me dire que je ne peux pas établir une connexion avec cette machine et ce port. On dirait qu'il n'y a rien qui écoute dans ce port.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 14 mai 2019, 17:05

adriansinho a écrit :Ok, j'ai testé le port 3456. Il n'arrête pas de me dire que je ne peux pas établir une connexion avec cette machine et ce port. On dirait qu'il n'y a rien qui écoute dans ce port.
J'ai donné une commande netstat plus haut, tu peux vérifier ? (Ou utiliser la nouvelle commande ss si dans une version récente de Linux)


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

adriansinho
Timide
Messages : 6
Inscription : 27 nov. 2017, 15:44

Re: [Plugin Tiers] Plugin Alexa-API

Message par adriansinho » 14 mai 2019, 18:14

J'ai lancé la commande et elle m'a renvoyé ce qui suit :

Code : Tout sélectionner


Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:34768         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:44764          Google-Home-Mini:8008   ESTABLISHED
tcp        0      0 JeedomX7:43340          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:34820         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:43756          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:34810         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:53048          Google-Home-Mini:8009   ESTABLISHED
tcp        0      0 localhost:58954         localhost:rfe           TIME_WAIT
tcp        0      0 localhost:43724         localhost:55019         TIME_WAIT
tcp        0      0 localhost:34816         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:60798          yeelink-light-mon:55443 TIME_WAIT
tcp        0      0 localhost:57062         localhost:55013         TIME_WAIT
tcp        0      0 localhost:34416         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:52674          yeelink-light-col:55443 TIME_WAIT
tcp        0      0 localhost:58950         localhost:rfe           TIME_WAIT
tcp        0      0 localhost:57054         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43898          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:43726         localhost:55019         TIME_WAIT
tcp        0      0 localhost:58958         localhost:rfe           TIME_WAIT
tcp        0      0 localhost:43720         localhost:55019         TIME_WAIT
tcp        0      0 JeedomX7:43604          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:57052         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:35014          yeelink-light-str:55443 TIME_WAIT
tcp        0      0 localhost:34340         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:43916          JeedomX7:http           TIME_WAIT
tcp        0      0 JeedomX7:37642          yeelink-light-str:55443 TIME_WAIT
tcp        0      0 localhost:58944         localhost:rfe           TIME_WAIT
tcp        0      0 localhost:57038         localhost:55013         TIME_WAIT
tcp        0      0 localhost:34818         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:43794          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:57066         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43764          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:34784         localhost:http          TIME_WAIT
tcp        0     68 JeedomX7:ssh            nsg-static-010.18:48894 ESTABLISHED
tcp        0      0 localhost:34286         localhost:http          TIME_WAIT
tcp        0     69 JeedomX7:ssh            122.15.65.70:63688      FIN_WAIT1
tcp        0      0 localhost:34782         localhost:http          TIME_WAIT
tcp        0      0 localhost:57034         localhost:55013         TIME_WAIT
tcp        0      0 localhost:43714         localhost:55019         TIME_WAIT
tcp        0      0 localhost:57058         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43634          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:43730         localhost:55019         TIME_WAIT
tcp        0      0 JeedomX7:43776          JeedomX7:http           TIME_WAIT
tcp        0      0 JeedomX7:43760          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:43722         localhost:55019         TIME_WAIT
tcp        0      0 localhost:34780         localhost:http          TIME_WAIT
tcp        0      0 localhost:57060         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43768          JeedomX7:http           TIME_WAIT
tcp        0      0 JeedomX7:43894          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:57036         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43950          JeedomX7:http           TIME_WAIT
tcp        0      0 JeedomX7:35214          yeelink-light-col:55443 TIME_WAIT
tcp        0      0 localhost:34814         localhost:http          TIME_WAIT
tcp        0      0 localhost:34786         localhost:http          TIME_WAIT
tcp        0      0 localhost:57056         localhost:55013         TIME_WAIT
tcp        0      0 localhost:43716         localhost:55019         TIME_WAIT
tcp        0      0 JeedomX7:45096          yeelink-light-col:55443 TIME_WAIT
tcp        0      0 localhost:34812         localhost:http          TIME_WAIT
tcp        0      0 localhost:57064         localhost:55013         TIME_WAIT
tcp        0      0 JeedomX7:43772          JeedomX7:http           TIME_WAIT
tcp        0      0 localhost:34808         localhost:http          TIME_WAIT
tcp        0      0 localhost:57040         localhost:55013         TIME_WAIT
tcp        0    224 JeedomX7:ssh            DESKTOP-UUNUL8U:55787   ESTABLISHED
tcp        0      0 localhost:34806         localhost:http          TIME_WAIT
tcp        0      0 JeedomX7:43750          JeedomX7:http           TIME_WAIT
tcp        0      0 JeedomX7:60830          yeelink-light-col:55443 TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57178       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43724          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43684          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57254       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57162       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43732          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43892          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43822          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43720          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43676          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57262       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57270       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57114       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57232       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43808          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43718          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56918     TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43664          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57152       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43868          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43864          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57116       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55788   ESTABLISHED
tcp6       0      0 JeedomX7:http           192.168.1.142:56903     TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57250       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57118       TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56923     ESTABLISHED
tcp6       0      0 JeedomX7:http           JeedomX7:43696          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43870          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57126       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43716          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57234       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57278       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55790   ESTABLISHED
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57124       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43786          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43856          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43816          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57200       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43778          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43652          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43962          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57292       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57220       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43784          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57188       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57202       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43660          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57140       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43796          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43806          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43780          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43650          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57216       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43714          TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55541   ESTABLISHED
tcp6       0      0 JeedomX7:http           JeedomX7:43706          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57284       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55540   ESTABLISHED
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57208       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57194       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57144       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43658          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57102       TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56916     TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43692          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43800          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43722          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57180       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43964          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57282       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43700          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57132       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57264       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57236       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57258       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57242       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43854          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43884          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56926     ESTABLISHED
tcp6       0      0 JeedomX7:http           JeedomX7:43862          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56913     TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43788          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43712          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57146       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43802          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56921     ESTABLISHED
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57204       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57196       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57212       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57226       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43782          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57134       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43710          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57176       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43858          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43880          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43882          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57136       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43810          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43798          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43860          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56924     ESTABLISHED
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57290       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57248       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55543   TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57246       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43820          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43890          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56910     TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57148       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43824          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43872          TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55542   ESTABLISHED
tcp6       0      0 JeedomX7:http           JeedomX7:43702          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57256       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43708          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57190       TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56914     TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43792          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57210       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57156       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55538   TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43888          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57272       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57170       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57164       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43866          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43848          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57154       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43734          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57142       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43874          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43812          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57268       TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55791   ESTABLISHED
tcp6       0      0 JeedomX7:http           JeedomX7:43726          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57244       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57228       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43694          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56919     TIME_WAIT
tcp6       0      0 JeedomX7:http           DESKTOP-UUNUL8U:55539   TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43790          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57186       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43826          TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57224       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57122       TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56922     TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43960          TIME_WAIT
tcp6       0      0 JeedomX7:http           192.168.1.142:56915     TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57218       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57288       TIME_WAIT
tcp6       0      0 JeedomX7:kerberos       raspberrypi:57172       TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43804          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43818          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43814          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43878          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43876          TIME_WAIT
tcp6       0      0 JeedomX7:http           JeedomX7:43886          TIME_WAIT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  3      [ ]         DGRAM                    10273    /run/systemd/notify
unix  2      [ ]         DGRAM                    10275    /run/systemd/cgroups-agent
unix  2      [ ]         DGRAM                    13150330 /run/user/1000/systemd/notify
unix  6      [ ]         DGRAM                    11415    /run/systemd/journal/socket
unix  2      [ ]         DGRAM                    11428    /run/systemd/journal/syslog
unix  10     [ ]         DGRAM                    11430    /run/systemd/journal/dev-log
unix  3      [ ]         STREAM     CONNECTED     13880
unix  3      [ ]         STREAM     CONNECTED     12733    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     12634
unix  3      [ ]         STREAM     CONNECTED     12705
unix  3      [ ]         STREAM     CONNECTED     12630    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     12948
unix  3      [ ]         STREAM     CONNECTED     13149298
unix  3      [ ]         STREAM     CONNECTED     10795    /run/systemd/journal/stdout
unix  2      [ ]         DGRAM                    14152
unix  3      [ ]         STREAM     CONNECTED     12546880 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13018780
unix  3      [ ]         STREAM     CONNECTED     12418489
unix  3      [ ]         STREAM     CONNECTED     12546879
unix  3      [ ]         STREAM     CONNECTED     11481032 /var/run/mysqld/mysqld.sock
unix  3      [ ]         DGRAM                    13150332
unix  3      [ ]         STREAM     CONNECTED     13149297
unix  3      [ ]         STREAM     CONNECTED     12936010 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     12936009
unix  3      [ ]         STREAM     CONNECTED     12819537
unix  3      [ ]         STREAM     CONNECTED     25880
unix  3      [ ]         STREAM     CONNECTED     13150309 /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     12270690 /var/run/mysqld/mysqld.sock
unix  2      [ ]         DGRAM                    26812
unix  2      [ ]         DGRAM                    13150319
unix  3      [ ]         STREAM     CONNECTED     12446270
unix  2      [ ]         DGRAM                    18235
unix  3      [ ]         STREAM     CONNECTED     12937858 /var/run/mysqld/mysqld.sock
unix  2      [ ]         DGRAM                    14260
unix  3      [ ]         STREAM     CONNECTED     13141920 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     12938461
unix  3      [ ]         DGRAM                    11824
unix  3      [ ]         STREAM     CONNECTED     14115
unix  3      [ ]         STREAM     CONNECTED     13019216 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     14116
unix  3      [ ]         STREAM     CONNECTED     13939
unix  3      [ ]         STREAM     CONNECTED     12949    /run/systemd/journal/stdout
unix  3      [ ]         DGRAM                    11825
unix  3      [ ]         STREAM     CONNECTED     12882
unix  2      [ ]         DGRAM                    12546
unix  3      [ ]         STREAM     CONNECTED     13149747
unix  3      [ ]         STREAM     CONNECTED     12881
unix  2      [ ]         DGRAM                    11709
unix  3      [ ]         STREAM     CONNECTED     10792    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     12961182
unix  3      [ ]         STREAM     CONNECTED     12696    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     13141061 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13142514
unix  3      [ ]         STREAM     CONNECTED     12447176
unix  3      [ ]         STREAM     CONNECTED     13141104 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13076528
unix  2      [ ]         STREAM     CONNECTED     18232
unix  3      [ ]         STREAM     CONNECTED     13143848
unix  3      [ ]         STREAM     CONNECTED     13149762
unix  3      [ ]         DGRAM                    10277
unix  3      [ ]         STREAM     CONNECTED     11481307
unix  2      [ ]         DGRAM                    14106
unix  3      [ ]         STREAM     CONNECTED     13141103
unix  3      [ ]         STREAM     CONNECTED     12730
unix  3      [ ]         STREAM     CONNECTED     12446608 /var/run/mysqld/mysqld.sock
unix  3      [ ]         DGRAM                    10278
unix  3      [ ]         STREAM     CONNECTED     12731
unix  3      [ ]         STREAM     CONNECTED     12269861
unix  3      [ ]         STREAM     CONNECTED     12446752 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13140943
unix  3      [ ]         STREAM     CONNECTED     11877
unix  2      [ ]         DGRAM                    13149756
unix  3      [ ]         STREAM     CONNECTED     25889    /var/run/dbus/system_bus_socket
unix  2      [ ]         DGRAM                    13150295
unix  2      [ ]         DGRAM                    14320
unix  3      [ ]         STREAM     CONNECTED     26816    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     13018781 /var/run/mysqld/mysqld.sock
unix  2      [ ]         DGRAM                    12699
unix  3      [ ]         STREAM     CONNECTED     12819538 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13076395 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     12419691 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13134554
unix  3      [ ]         DGRAM                    13150333
unix  2      [ ]         STREAM     CONNECTED     16535
unix  2      [ ]         DGRAM                    26818
unix  3      [ ]         STREAM     CONNECTED     25894    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     26880
unix  3      [ ]         STREAM     CONNECTED     12732    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     13143605 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     13143849 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     12621    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     13149761
unix  2      [ ]         DGRAM                    11479043
unix  3      [ ]         STREAM     CONNECTED     12695
unix  3      [ ]         STREAM     CONNECTED     13827
unix  3      [ ]         STREAM     CONNECTED     14126
unix  3      [ ]         STREAM     CONNECTED     13992
unix  2      [ ]         DGRAM                    11812
unix  2      [ ]         STREAM     CONNECTED     17418
unix  3      [ ]         STREAM     CONNECTED     12759    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     12747    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     13940    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     13019215
unix  3      [ ]         STREAM     CONNECTED     26824
unix  3      [ ]         STREAM     CONNECTED     13144265
unix  3      [ ]         STREAM     CONNECTED     11806
unix  3      [ ]         STREAM     CONNECTED     13133779 /var/run/mysqld/mysqld.sock
unix  3      [ ]         STREAM     CONNECTED     12960435 /var/run/mysqld/mysqld.sock



Merci beaucoup ;)

Avatar de l’utilisateur
Theking31
Actif
Messages : 1182
Inscription : 21 sept. 2017, 11:13
Localisation : Toulouse - Le Vernet

Re: [Plugin Tiers] Plugin Alexa-API

Message par Theking31 » 19 mai 2019, 18:18

Hello,

Je règle une nouvelle alarme tous les jours et c'est fonctionnel que si en début de scénario je fais un arrêt/démarrage du démon par jeelink, au moins une fois par jour :(
Pour info, je ne me sert d'alexa que pour le réveil donc aucune autre action qui relance la connexion ! J’essaierai demain sans relance du demon mais avec un speak en début....


Si il vous faut des log, n’hésitez pas que je passe le plugin en debug :)
Pièces jointes
Alexa.png
Alexa.png (128.49 Kio) Consulté 1182 fois
Jeedom 4.0.23 sur Intel NUC 6CAYH | Linux 4.9.0-11-amd64 | Debian 9.11
Rfxcom | Z-Wave Plus Z-Stick GEN5 | Conbee 2 | => sur hub alimenté
Blea| Brodlink | Xiaomi |ESPeasy | Wifilightv2

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 19 mai 2019, 18:20

Theking31 a écrit :Hello,

Je règle une nouvelle alarme tous les jours et c'est fonctionnel que si en début de scénario je fais un arrêt/démarrage du démon par jeelink, au moins une fois par jour :(
Pour info, je ne me sert d'alexa que pour le réveil donc aucune autre action qui relance la connexion ! J’essaierai demain sans relance du demon mais avec un speak en début....


Si il vous faut des log, n’hésitez pas que je passe le plugin en debug :)
Si tu faisais simplement un refresh à la place ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Theking31
Actif
Messages : 1182
Inscription : 21 sept. 2017, 11:13
Localisation : Toulouse - Le Vernet

Re: [Plugin Tiers] Plugin Alexa-API

Message par Theking31 » 19 mai 2019, 18:27

OK, je test ça demain... 😉

Je garde aussi le sleep de 5 ?

Merci
Jeedom 4.0.23 sur Intel NUC 6CAYH | Linux 4.9.0-11-amd64 | Debian 9.11
Rfxcom | Z-Wave Plus Z-Stick GEN5 | Conbee 2 | => sur hub alimenté
Blea| Brodlink | Xiaomi |ESPeasy | Wifilightv2

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 19 mai 2019, 18:46

Theking31 a écrit :OK, je test ça demain...

Je garde aussi le sleep de 5 ?

Merci
A tester


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Répondre

Revenir vers « [Catégorie] Communication »

Qui est en ligne ?

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