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"
Richard_K
Timide
Messages : 27
Inscription : 30 janv. 2016, 20:28

Re: [Plugin Tiers] Plugin Alexa-API

Message par Richard_K » 07 mars 2019, 04:10

Bonjour, merci Nebz après réalisation de tes préco tout fonctionne correctement pour moi.
Bonne continuation à l’équipe , en attendant un début de gestion des routines d’Alexa.

daniel.louvel
Timide
Messages : 221
Inscription : 07 mars 2015, 12:29
Localisation : Le Havre
Contact :

Re: [Plugin Tiers] Plugin Alexa-API

Message par daniel.louvel » 07 mars 2019, 10:31

daniel.louvel a écrit :
06 mars 2019, 15:03
Merci beaucoup
Je viens de trouver ça
https://jeedom.github.io/documentation/ ... Anchor-1-5
Je teste ce soir aprés une bonne sauvegarde
Bonjour
Pour moi c'est OK après passage en stretch merci Nebz

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 » 07 mars 2019, 10:31

Parfait ;-)


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
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [Plugin Tiers] Plugin Alexa-API

Message par sigalou » 07 mars 2019, 12:31

Richard_K a écrit :
07 mars 2019, 04:10
Bonjour, merci Nebz après réalisation de tes préco tout fonctionne correctement pour moi.
Bonne continuation à l’équipe , en attendant un début de gestion des routines d’Alexa.
Bientôt ;)

Merci pour vos retours.
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



Gorgluk
Timide
Messages : 292
Inscription : 09 déc. 2014, 00:33
Localisation : paca

Re: [Plugin Tiers] Plugin Alexa-API

Message par Gorgluk » 07 mars 2019, 13:24

Bonjour,
Parfait aussi pour moi.
DIY nuc | Jeedom sur Proxmox | Zwave Aeon Gen5, RFXtrx433E, X10 CM15, BT 4.0, Xiaomi

gpga
Actif
Messages : 755
Inscription : 03 mars 2015, 10:29
Localisation : 67 proche de Strasbourg

Re: [Plugin Tiers] Plugin Alexa-API

Message par gpga » 07 mars 2019, 21:40

Voici ce que je vois lorsque j'utilise la commande speak+volume dans un scenario; je ne vois pas ou spécifier le volume
Croquis (9).png
Croquis (9).png (35.32 Kio) Consulté 1612 fois
Merci de m'aider à comprendre

Je suis sur la dernière version du plugin en stable
1x Nuc I3 cible / Stick Aeon Gen5 / +- 30 modules Zwave / 7 cameras (Surveillance station)
1 x RPi2 source / Teleinfo USB
1 x Odroid C2 / Stick Aeon Gen 5 / 10 modules Zwave

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 » 07 mars 2019, 21:46

mmm je pense que @sigalou utilise une fonction qui sera la dans la prochaine version du core... en attendant utilise les deux séparément
Capture d’écran 2019-03-07 à 21.46.38.png
Capture d’écran 2019-03-07 à 21.46.38.png (92.34 Kio) Consulté 1608 fois
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
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [Plugin Tiers] Plugin Alexa-API

Message par sigalou » 07 mars 2019, 21:55

gpga a écrit :
07 mars 2019, 21:40
Voici ce que je vois lorsque j'utilise la commande speak+volume dans un scenario; je ne vois pas ou spécifier le volume

Croquis (9).png

Merci de m'aider à comprendre

Je suis sur la dernière version du plugin en stable
Tu as quelle version ?
Supprime ton plugin si tu l'as installé par Github et installe le via le Market ou mets le à jour.
C'est étonnant qu'il te manque le volume.
Screenshot_2019-03-07 test - Jeedom.png
Screenshot_2019-03-07 test - Jeedom.png (4.23 Kio) Consulté 1603 fois
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



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 » 07 mars 2019, 21:56

Je pense que les template scénarios ne sont que en core bêta pour l'instant... il faudrait que je test

EDIT : ah si, je l'ai en stable aussi, comme @sigalou a dit alors, recréer

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 :)

tubezleb
Timide
Messages : 28
Inscription : 24 sept. 2016, 16:19
Localisation : Montréal

Re: [Plugin Tiers] Plugin Alexa-API

Message par tubezleb » 08 mars 2019, 00:41

Hello,

Je viens de voir le plugin sur le market et je l'ai installé.

Par contre tout se fait sur amazon.fr, je suis au canada et j'utilise amazon.com pour mes Alexa.

Est-ce que le plugin peut fonctionner si je change les Urls dans les fichiers de conf?

EDIT: Je me répond tout seul, j'ai modifier les urls qui étaient en amazon.fr en amazon.com ça fonctionne !

gpga
Actif
Messages : 755
Inscription : 03 mars 2015, 10:29
Localisation : 67 proche de Strasbourg

Re: [Plugin Tiers] Plugin Alexa-API

Message par gpga » 08 mars 2019, 06:21

Pour info

le plugin n'est pas installé sur ce jeedom, il est installé sur un autre (sur celui-ci il tombe tous les jours, je n'ai jamais réussi à le faire tenir malgrès toutes les modification apportées par les developpeurs) et il est utilisé au travers de jeelink. Sur le jeedom qui recoit alexaapi, il est en stable à la dernière version
est ce que cela peut être une explication ?
1x Nuc I3 cible / Stick Aeon Gen5 / +- 30 modules Zwave / 7 cameras (Surveillance station)
1 x RPi2 source / Teleinfo USB
1 x Odroid C2 / Stick Aeon Gen 5 / 10 modules Zwave

gpga
Actif
Messages : 755
Inscription : 03 mars 2015, 10:29
Localisation : 67 proche de Strasbourg

Re: [Plugin Tiers] Plugin Alexa-API

Message par gpga » 08 mars 2019, 06:28

Je confirme, sur le jeedom qui contient le plugin, l'appel à spek + volume genere les deux espaces, mais sur le jeedom qui récupere l'info par jeelink je n'ai qu'un seul espace qui se crée (uniquement message)

Cordialement
1x Nuc I3 cible / Stick Aeon Gen5 / +- 30 modules Zwave / 7 cameras (Surveillance station)
1 x RPi2 source / Teleinfo USB
1 x Odroid C2 / Stick Aeon Gen 5 / 10 modules Zwave

gpga
Actif
Messages : 755
Inscription : 03 mars 2015, 10:29
Localisation : 67 proche de Strasbourg

Re: [Plugin Tiers] Plugin Alexa-API

Message par gpga » 08 mars 2019, 07:43

En addition, si je crée une virtuel sur la base de l'équipement transféré par jeelink et que j'essaye d'utiliser la commande speak+volume

j'ai la ligne suivante qui se crée
Croquis (10).png
Croquis (10).png (39.08 Kio) Consulté 1554 fois
Est il possible de corriger ces détails

Merci d'avance
1x Nuc I3 cible / Stick Aeon Gen5 / +- 30 modules Zwave / 7 cameras (Surveillance station)
1 x RPi2 source / Teleinfo USB
1 x Odroid C2 / Stick Aeon Gen 5 / 10 modules Zwave

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 » 08 mars 2019, 08:11

gpga a écrit :Pour info

le plugin n'est pas installé sur ce jeedom, il est installé sur un autre (sur celui-ci il tombe tous les jours, je n'ai jamais réussi à le faire tenir malgrès toutes les modification apportées par les developpeurs) et il est utilisé au travers de jeelink. Sur le jeedom qui recoit alexaapi, il est en stable à la dernière version
est ce que cela peut être une explication ?
Oui c'est clairement la raison !!!

Je t'invite à aller voir du côté de jeelink, c'est ce plug-in qui doit gérer ça...


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
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 08 mars 2019, 08:13

gpga a écrit :En addition, si je crée une virtuel sur la base de l'équipement transféré par jeelink et que j'essaye d'utiliser la commande speak+volume

j'ai la ligne suivante qui se crée
Croquis (10).png
Est il possible de corriger ces détails

Merci d'avance
Idem, c'est du côté du plug-in virtuel que tu dois aller voir... à ma connaissance celui ci ne permet pas de personnaliser le template scénario


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
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 08 mars 2019, 08:14

gpga a écrit :Pour info

le plugin n'est pas installé sur ce jeedom, il est installé sur un autre (sur celui-ci il tombe tous les jours, je n'ai jamais réussi à le faire tenir malgrès toutes les modification apportées par les developpeurs) et il est utilisé au travers de jeelink. Sur le jeedom qui recoit alexaapi, il est en stable à la dernière version
est ce que cela peut être une explication ?
Pour résoudre ton problème il faudrait voir la raison initiale pourquoi il "tombe" tous les jours, que veux tu dire par "tombe" ?


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
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Plugin Alexa-API

Message par Nebz » 08 mars 2019, 08:16

tubezleb a écrit :Hello,

Je viens de voir le plugin sur le market et je l'ai installé.

Par contre tout se fait sur amazon.fr, je suis au canada et j'utilise amazon.com pour mes Alexa.

Est-ce que le plugin peut fonctionner si je change les Urls dans les fichiers de conf?

EDIT: Je me répond tout seul, j'ai modifier les urls qui étaient en amazon.fr en amazon.com ça fonctionne !
@sigalou

Tu pourrais gérer ça dans la config ?


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
sigalou
Actif
Messages : 1075
Inscription : 23 janv. 2017, 16:02

Re: [Plugin Tiers] Plugin Alexa-API

Message par sigalou » 08 mars 2019, 20:07

Nebz a écrit :
08 mars 2019, 08:16
tubezleb a écrit :Hello,

EDIT: Je me répond tout seul, j'ai modifier les urls qui étaient en amazon.fr en amazon.com ça fonctionne !
@sigalou

Tu pourrais gérer ça dans la config ?
Oui, je peux mettre l'option et récupérer cela pour tous les fichiers, faut que je vois par contre pour la bibliothèque avec Jbecker comment passer le paramètre...
Sigalou

Utilisateur/Développeur Plugin Jeedom
Créateur des plugins Alexa-API & WatchDog



bertrand
Timide
Messages : 101
Inscription : 15 janv. 2017, 07:41
Localisation : Marseille

Re: [Plugin Tiers] Plugin Alexa-API

Message par bertrand » 09 mars 2019, 06:20

Bonjour !

Installé sur une Debian 8 sans aucun souci.
Un peu chatouilleux pour retrouver le cookie amazon mais une fois fait c'est nickel

Un grand merci

gpga
Actif
Messages : 755
Inscription : 03 mars 2015, 10:29
Localisation : 67 proche de Strasbourg

Re: [Plugin Tiers] Plugin Alexa-API

Message par gpga » 09 mars 2019, 07:43

Après une journée de fonctionnement correct, mes Echos ne parlent plus ce matin

voila ce que je trouve dans le log

Code : Tout sélectionner

Alexa-API: Alexa.Speak
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: text: bonjour à tous
Alexa-API: volume:
Alexa-Remote: No authentication check needed (time elapsed 22740)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":0},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 22745)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":0},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 22751)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":0},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 22756)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 22760)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 22763)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4baed41-4235-11e9-9598-b1cceb68bfdb
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:43 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4bb3b95-4235-11e9-b9e4-4395a1846425
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:43 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4baed5b-4235-11e9-9ca8-93086b8bc601
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:43 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4bbd82e-4235-11e9-96fd-6d83d0b4bc5c
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:44 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4bbd850-4235-11e9-8947-752c29e63150
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:44 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b4bbd84f-4235-11e9-b398-cd56c2cece7a
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:44 GMT
Connection: close
Alexa-API: Alexa.Speak
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: text: bonjour à tous
Alexa-Remote: No authentication check needed (time elapsed 30038)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 30045)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 30054)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"bonjour à tous\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b9151ffb-4235-11e9-8681-354dbcd141aa
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:51 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b914aa74-4235-11e9-927b-df80ddff4328
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:51 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: b914f8ee-4235-11e9-8e20-b702af04bb3b
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:36:50 GMT
Connection: close
Alexa-API: Alexa.Speak
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: text: essai de message
Alexa-Remote: No authentication check needed (time elapsed 43958)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 43972)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 44000)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c163490e-4235-11e9-b8b8-e7fe194fbf9d
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:05 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c16433a3-4235-11e9-9a97-cd8fea907c91
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:05 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c1637070-4235-11e9-9cf6-93403dfbe88a
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:05 GMT
Connection: close
Alexa-API: Alexa.DeviceControls.Volume
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: value: 68
Alexa-Remote: No authentication check needed (time elapsed 51269)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":68},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 51275)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":68},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 51281)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":68},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
TypeError: Cannot read property 'length' of undefined
at app.get (/var/www/html/plugins/alexaapi/resources/alexaapi.js:121:11)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
at /var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:275:10)
at expressInit (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c5be3e6c-4235-11e9-96fd-6d83d0b4bc5c
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:12 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c5be3ecb-4235-11e9-8ed3-0d0a7299dd14
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:12 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c5be3e9a-4235-11e9-a67f-e7f04aab71e3
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:12 GMT
Connection: close
Alexa-API: Alexa.DeviceControls.Volume
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: value: 62
Alexa-Remote: No authentication check needed (time elapsed 53768)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":62},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 53774)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":62},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 53781)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"value\":62},\"type\":\"Alexa.DeviceControls.Volume\"}}","status":"ENABLED"}
TypeError: Cannot read property 'length' of undefined
at app.get (/var/www/html/plugins/alexaapi/resources/alexaapi.js:121:11)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
at /var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/index.js:275:10)
at expressInit (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/router/layer.js:95:5)
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c7385b79-4235-11e9-8a37-2fb840a940c9
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c73882a0-4235-11e9-9276-95fb324a9c1f
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c7394631-4235-11e9-9116-8d912f59f161
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Alexa-API: Alexa.Speak
Alexa-API: device: 56e0d09fc61d489daa26db16af150d0d
Alexa-API: text: essai de message
Alexa-Remote: No authentication check needed (time elapsed 54582)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A7WXQPH584YP\",\"deviceSerialNumber\":\"G090P308821404M3\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 54587)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A10A33FOX2NUBK\",\"deviceSerialNumber\":\"G070RQ108026058V\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: No authentication check needed (time elapsed 54593)
Alexa-Remote: Sending Request with {"host":"alexa.amazon.fr","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF11817301MT\",\"locale\":\"fr-FR\",\"customerId\":\"A37HI74YZC3PRV\",\"textToSpeak\":\"essai de message\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c7b33159-4235-11e9-8109-abffa303526f
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c7b3f452-4235-11e9-af32-7b7295d9796f
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: c7b41b63-4235-11e9-af32-7b7295d9796f
Access-Control-Allow-Origin: https://alexa.amazon.fr
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Sat, 09 Mar 2019 06:37:15 GMT
Connection: close
Si quelqu'un peu m'aider à rendre cette fonction stable, merci d'avance

Le plugin est installé sur un jeedom au dernier indice (officiel) sur un RPI3
1x Nuc I3 cible / Stick Aeon Gen5 / +- 30 modules Zwave / 7 cameras (Surveillance station)
1 x RPi2 source / Teleinfo USB
1 x Odroid C2 / Stick Aeon Gen 5 / 10 modules Zwave

Répondre

Revenir vers « [Catégorie] Communication »

Qui est en ligne ?

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