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"
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 » 05 avr. 2019, 19:38

Oui si te regardes dans tes logs, tu vas voir des "connexion: close". C'est Amazon qui nous rejette. On est sur le problème en bêta, en attendant tu peux redémarrer le 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 :)

cicis54
Timide
Messages : 87
Inscription : 11 août 2016, 19:29

Re: [Plugin Tiers] Plugin Alexa-API

Message par cicis54 » 06 avr. 2019, 11:53

Bonjour,

La dépendance ne fonctionne pas sur Jeedom SMART (STRETCH)
J'ai fait une réparation Nodejs, sans succès.
Ci joint Alexaapi_derp

Merci et cdlt

-0%
--[2019/04/06 09:47:29]-Mode Debug--
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ InRelease
Hit:3 http://www.deb-multimedia.org stretch InRelease
Ign:4 http://ftp.debian.org/debian stretch InRelease
Hit:5 http://repo.jeedom.com/odroid stable InRelease
Get:6 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:7 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release
Ign:8 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release.gpg
Hit:9 https://deb.nodesource.com/node_8.x stretch InRelease
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Hit:11 https://oph.mdrjr.net/meveric all InRelease
Get:12 http://security.debian.org stretch/updates/main Sources [199 kB]
Hit:13 https://oph.mdrjr.net/meveric stretch InRelease
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Get:14 http://ftp.debian.org/debian stretch-backports InRelease [91.9 kB]
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Get:15 http://security.debian.org stretch/updates/main arm64 Packages [464 kB]
Get:16 http://ftp.debian.org/debian stretch-proposed-updates InRelease [101 kB]
Hit:17 http://ftp.debian.org/debian stretch Release
Get:18 http://ftp.debian.org/debian stretch-backports/main Sources.diff/Index [27.8 kB]
Get:19 http://security.debian.org stretch/updates/main Translation-en [215 kB]
Get:21 http://ftp.debian.org/debian stretch-proposed-updates/main Sources.diff/Index [27.8 kB]
Get:22 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages.diff/Index [27.8 kB]
Get:23 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en.diff/Index [27.8 kB]
Get:24 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-05-2013.43.pdiff [44 B]
Get:25 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0217.21.pdiff [738 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0810.52.pdiff [44 B]
Get:27 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0210.33.pdiff [3171 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0810.52.pdiff [44 B]
Get:28 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0814.18.pdiff [2735 B]
Get:29 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-0210.33.pdiff [1416 B]
Get:30 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-0814.18.pdiff [8926 B]
Get:28 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0814.18.pdiff [2735 B]
Get:31 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-1409.20.pdiff [1080 B]
Get:31 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-1409.20.pdiff [1080 B]
Get:32 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-0210.33.pdiff [1937 B]
Get:33 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-0814.18.pdiff [2093 B]
Get:34 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-1409.20.pdiff [648 B]
Get:34 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-1409.20.pdiff [648 B]
Fetched 1390 kB in 11s (123 kB/s)
Reading package lists...
W: The repository 'http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release' is not signed.
W: No Hash entry in Release file /var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Release
W: Conflicting distribution: http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release (expected dists/stable/main/binary-arm64/ but got )
W: Duplicate sources.list entry http://repo.jeedom.com/odroid stable/main arm64 Packages (/var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Packages)
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
--45%
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 162 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 60.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
nodejs
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 126: npm: command not found
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 128: nodejs: command not found
Version actuelle :
--50%
--60%
Installation...
sudo: npm: command not found
chown: cannot access 'node_modules': No such file or directory
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
--[2019/04/06 09:47:53]--

seb76370
Timide
Messages : 12
Inscription : 05 nov. 2018, 19:55

Re: [Plugin Tiers] Plugin Alexa-API

Message par seb76370 » 06 avr. 2019, 12:01

hello
mon ancien post
viewtopic.php?f=140&t=43750&p=717129&hi ... 70#p717129

L’ancien post dit que le speak après qque minutes ou heures La fonction ne marche plus je vais essayé de poster un log dès que possible

par contre quand ca ne marchait pas j'ai refait la Génération manuelle du cookie Amazon et la ca remarche

voila Je post un log dès que cela ne marche plus, la ca remarche

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 » 06 avr. 2019, 13:57

cicis54 a écrit :Bonjour,

La dépendance ne fonctionne pas sur Jeedom SMART (STRETCH)
J'ai fait une réparation Nodejs, sans succès.
Ci joint Alexaapi_derp

Merci et cdlt

-0%
--[2019/04/06 09:47:29]-Mode Debug--
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ InRelease
Hit:3 http://www.deb-multimedia.org stretch InRelease
Ign:4 http://ftp.debian.org/debian stretch InRelease
Hit:5 http://repo.jeedom.com/odroid stable InRelease
Get:6 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:7 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release
Ign:8 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release.gpg
Hit:9 https://deb.nodesource.com/node_8.x stretch InRelease
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Hit:11 https://oph.mdrjr.net/meveric all InRelease
Get:12 http://security.debian.org stretch/updates/main Sources [199 kB]
Hit:13 https://oph.mdrjr.net/meveric stretch InRelease
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Get:14 http://ftp.debian.org/debian stretch-backports InRelease [91.9 kB]
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Get:15 http://security.debian.org stretch/updates/main arm64 Packages [464 kB]
Get:16 http://ftp.debian.org/debian stretch-proposed-updates InRelease [101 kB]
Hit:17 http://ftp.debian.org/debian stretch Release
Get:18 http://ftp.debian.org/debian stretch-backports/main Sources.diff/Index [27.8 kB]
Get:19 http://security.debian.org stretch/updates/main Translation-en [215 kB]
Get:21 http://ftp.debian.org/debian stretch-proposed-updates/main Sources.diff/Index [27.8 kB]
Get:22 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages.diff/Index [27.8 kB]
Get:23 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en.diff/Index [27.8 kB]
Get:24 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-05-2013.43.pdiff [44 B]
Get:25 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0217.21.pdiff [738 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0810.52.pdiff [44 B]
Get:27 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0210.33.pdiff [3171 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main Sources 2019-04-06-0810.52.pdiff [44 B]
Get:28 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0814.18.pdiff [2735 B]
Get:29 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-0210.33.pdiff [1416 B]
Get:30 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-0814.18.pdiff [8926 B]
Get:28 http://ftp.debian.org/debian stretch-proposed-updates/main Sources 2019-04-05-0814.18.pdiff [2735 B]
Get:31 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-1409.20.pdiff [1080 B]
Get:31 http://ftp.debian.org/debian stretch-proposed-updates/main arm64 Packages 2019-04-05-1409.20.pdiff [1080 B]
Get:32 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-0210.33.pdiff [1937 B]
Get:33 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-0814.18.pdiff [2093 B]
Get:34 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-1409.20.pdiff [648 B]
Get:34 http://ftp.debian.org/debian stretch-proposed-updates/main Translation-en 2019-04-05-1409.20.pdiff [648 B]
Fetched 1390 kB in 11s (123 kB/s)
Reading package lists...
W: The repository 'http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release' is not signed.
W: No Hash entry in Release file /var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Release
W: Conflicting distribution: http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release (expected dists/stable/main/binary-arm64/ but got )
W: Duplicate sources.list entry http://repo.jeedom.com/odroid stable/main arm64 Packages (/var/lib/apt/lists/repo.jeedom.com_odroid_dists_stable_main_binary-arm64_Packages)
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
--45%
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 162 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 60.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
nodejs
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 126: npm: command not found
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 128: nodejs: command not found
Version actuelle :
--50%
--60%
Installation...
sudo: npm: command not found
chown: cannot access 'node_modules': No such file or directory
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
--[2019/04/06 09:47:53]--
Je t'invite à faire un ticket sur le core, tu as un problème avec ton install, tu peux leur montrer le Log, le packet nodejs n'est pas signé sur le repo de jeedom


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 » 06 avr. 2019, 13:59

seb76370 a écrit :hello
mon ancien post
viewtopic.php?f=140&t=43750&p=717129&hi ... 70#p717129

L’ancien post dit que le speak après qque minutes ou heures La fonction ne marche plus je vais essayé de poster un log dès que possible

par contre quand ca ne marchait pas j'ai refait la Génération manuelle du cookie Amazon et la ca remarche

voila Je post un log dès que cela ne marche plus, la ca remarche
Il suffit de relancer le démon quand ça marche plus. On est sur le probleme


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

seb76370
Timide
Messages : 12
Inscription : 05 nov. 2018, 19:55

Re: [Plugin Tiers] Plugin Alexa-API

Message par seb76370 » 07 avr. 2019, 12:56

Salut

voici un log quand ca marche plus

bon dimanche

Alexa-API: Alexa.Speak
Alexa-API: device: G090U5078373080U
Alexa-API: text: test
Alexa-sendSequenceCommand: else
Alexa-Remote: No authentication check needed (time elapsed 44737)
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\":\"A32DOYMUN6DTXA\",\"deviceSerialNumber\":\"G090U5078373080U\",\"locale\":\"fr-FR\",\"customerId\":\"A2EY80M8HJCDL9\",\"textToSpeak\":\"test\"},\"type\":\"Alexa.Speak\"}}","status":"ENABLED"}
******************************************************
*********************DEBUG****************************
******************************************************
**DEBUG**DEBUG*Alexa-Remote: Response: No/Invalid JSON
HTTP/1.1 0 x-amzn-RequestId: 5c2692dd-5923-11e9-9e04-1f2499e24212
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: Sun, 07 Apr 2019 10:53:21 GMT
Connection: close
**DEBUG**DEBUG* Message Exception :Unexpected token H in JSON at position 0
******************************************************
******************************************************
******************************************************
***************FIND**CONNEXION CLOSE *****************

seb76370
Timide
Messages : 12
Inscription : 05 nov. 2018, 19:55

Re: [Plugin Tiers] Plugin Alexa-API

Message par seb76370 » 07 avr. 2019, 14:34

Ok J'avais pas vu le post

Relancer le demon et oui ca marche
Bon developpement
Merci encore

phyllox
Timide
Messages : 113
Inscription : 22 janv. 2019, 17:47

Re: [Plugin Tiers] Plugin Alexa-API

Message par phyllox » 08 avr. 2019, 17:01

Bonjour

Je découvre ce plugin qui me fait baver, tellement il me semble idéal, mais en voulant l'installer, il me vient un doute...

Il faut saisir son mot de passe Amazon, ce qui me semble somme toute logique, mais autant je peux accéder à mon Jeedom en https depuis l'extérieur, avec un certificat valide, autant depuis chez moi j'y accède en http via l'IP du serveur, et du coup, je voudrais savoir comment mon mot de passe va circuler, et surtout vers où...

Un mot de passe Amazon, c'est beaucoup d'infos et aussi des accès à un ou des moyens de paiements. Quand je déploie un skill Alexa, je donne à Amazon mon mot de passe de l'équipement du skill. Le contraire, ça m'interpelle un peu plus...

Est-il possible de savoir comment ce mot de passe est utilisé et aussi comment il est protégé ? S'il circule en clair, c'est un peu délicat particulièrement si on considère tous ces objets connectés qui sont des emmentals sécuritaires (le gruyère n'ayant pas de trous)... Une caméra piratée, une ampoule espionnée, un détecteur tracé et c'est l'accès ouvert au compte Amazon pour le pirate qui n'en demandait pas tant.

Merci d'avance

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 avr. 2019, 17:23

Il n'est pas utilisé, on capture le cookie de ta page, tu peux voir que ce mot de passe tu le met chez amazon, pas dans le plug-in !


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

phyllox
Timide
Messages : 113
Inscription : 22 janv. 2019, 17:47

Re: [Plugin Tiers] Plugin Alexa-API

Message par phyllox » 08 avr. 2019, 18:05

hello
Merci pour la réponse.
Fort de cette bonne nouvelle, j'ai voulu essayer de me connecter et j'ai cliqué sur le lien "identifiez vous sur Amazon pour créer le cookie d'authentification", mais ça ne fonctionne pas.
Le lien m'ouvre une petite fenêtre vide avec juste une barre d'adresse et une tentative de connexion à : Adresse_IP_de_mon_Jeedom:3457.
ce qui ne me paraît pas correspondre à une authentification chez Amazon.

Ca tourne éternellement si je ne fais rien. Si je clique ailleurs en dehors de cette fenêtre, sans que j'ai eu à saisir quoi que ce soit, la fenêtre se ferme, le message passe en orange quelques secondes puis affiche en vert au même endroit "Bravo, cookie d'authentification Amazon chargé". Mais bien entendu rien n'est chargé, le demon reste NOK. Je dois ressortir du plugin et y retourner pour avoir le message me demandant à nouveau de cliquer pour m'authentifier.

J'ai essayé d'accéder à jeedom aussi via le lien https, mais même chose. Aucune demande réelle d'authentification chez Amazon ne m'est proposée.

Je précise que je n'ai pas touché au zones qui affiche,t : amazon.fr et alexa.amazon.fr

J'ai loupé une marche ?

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 » 08 avr. 2019, 18:09

alors je vais t'expliquer un peu ce qui est dans la doc ;) puisque tout cela y est :D

on crée un proxy sur le port 3457 qui renvoie chez amazon, ce qui nous permet de capturer le cookie.

ca peut arriver si ton système est très lent que cette fenêtre n'affiche rien la première fois (le proxy n'est pas encore démarré) il suffit de faire un refresh dans cette fenêtre, tu te logs et quand ca dit que c'est ok, tu peux cliquer en dehors pour qu'il continue.
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 :)

phyllox
Timide
Messages : 113
Inscription : 22 janv. 2019, 17:47

Re: [Plugin Tiers] Plugin Alexa-API

Message par phyllox » 08 avr. 2019, 19:53

Hello
Pour la doc, j'avais cliqué sur documentation sur la page du plugin, lien qui m'a envoyé vers le forum... Je dois dire que je n'ai pas cherché plus loin...

En tout état de cause, le lien crée un proxy, voilà l'explication, ça ne fait pas bon ménage avec le VPN derrière mon routeur, même si la machine Jeedom est routée sur le WAN et pas sur le VPN. Et le désactivant j'arrive - en insistant bien - à une page de connexion.

Par contre, tu dis :
tu peux voir que ce mot de passe tu le met chez amazon, pas dans le plug-in
Mais je ne vois pas ce que je peux voir. Je suis bien entendu convaincu que tout est absolument clean, mais on ne peut pas le vérifier. J'ai une page qui ressemble à la page Amazon Alexa, mais la barre d'adresse contient toujours : IP_de_monJeedom:port. Impossible de vérifier l'URL, impossible de vérifier si on est sur un serveur Amazon, impossible de vérifier le protocole http ou https.

Ca fait hurler mon BitDefender et pour une fois il n'a pas tout à fait tort (il m'empêche déjà de me connecter à Jeedom en saisissant mon mot de passe quand j'utiliser l'IP sur mon réseau local, alors là...)

Bon, j'ai trouvé un moyen sans taper mon mot de passe, mais c'est quand même perturnant.
En tous cas 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 » 08 avr. 2019, 19:57

phyllox a écrit :Hello
Pour la doc, j'avais cliqué sur documentation sur la page du plugin, lien qui m'a envoyé vers le forum... Je dois dire que je n'ai pas cherché plus loin...

En tout état de cause, le lien crée un proxy, voilà l'explication, ça ne fait pas bon ménage avec le VPN derrière mon routeur, même si la machine Jeedom est routée sur le WAN et pas sur le VPN. Et le désactivant j'arrive - en insistant bien - à une page de connexion.

Par contre, tu dis :
tu peux voir que ce mot de passe tu le met chez amazon, pas dans le plug-in
Mais je ne vois pas ce que je peux voir. Je suis bien entendu convaincu que tout est absolument clean, mais on ne peut pas le vérifier. J'ai une page qui ressemble à la page Amazon Alexa, mais la barre d'adresse contient toujours : IP_de_monJeedom:port. Impossible de vérifier l'URL, impossible de vérifier si on est sur un serveur Amazon, impossible de vérifier le protocole http ou https.

Ca fait hurler mon BitDefender et pour une fois il n'a pas tout à fait tort (il m'empêche déjà de me connecter à Jeedom en saisissant mon mot de passe quand j'utiliser l'IP sur mon réseau local, alors là...)

Bon, j'ai trouvé un moyen sans taper mon mot de passe, mais c'est quand même perturnant.
En tous cas merci
Oui ça ne fonctionne que en local, pas à distance.

Tout est vérifiable dans le code source. Tu verras que tout est clean.

Perturbant oui mais ce n'est normalement pas autorisé directement par Amazon, c'est un contournement d'une fonctionnalité (http://alexa.amazon.fr).


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

latwingo
Actif
Messages : 504
Inscription : 24 nov. 2014, 10:58
Localisation : Cagnes Sur Mer

Re: [Plugin Tiers] Plugin Alexa-API

Message par latwingo » 09 avr. 2019, 11:10

Bonjour à tous les amis un grand merci pour ce super plugin
il y a t il un moyen de relancer
Le demon en automatique à une heure donner
Par exemple tout les jours à 1h du matin
Afin de pallier à la déconnexion d amazon
Par avance merci pour votre aide
Philippe

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 » 09 avr. 2019, 12:12

Oui tu peux via le plug-in jeelink.




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

latwingo
Actif
Messages : 504
Inscription : 24 nov. 2014, 10:58
Localisation : Cagnes Sur Mer

Re: [Plugin Tiers] Plugin Alexa-API

Message par latwingo » 09 avr. 2019, 12:47

Excuse mon ignorance mais je pensais que jeelink servait à faire communiquer 2 jeedom entre eux
À tu un principe de fonctionnement à me communiquer par avance 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 » 09 avr. 2019, 13:00

latwingo a écrit :Excuse mon ignorance mais je pensais que jeelink servait à faire communiquer 2 jeedom entre eux
À tu un principe de fonctionnement à me communiquer par avance merci
Oui il y a un petit "truc" en plus c'est que tu peux relier à ton propre jeedom et donc voir tes démons et les redémarrer via une commande.

Mais ça sera temporaire, on fait des essais pour éviter ce redémarrage manuel. Juste que pour l'instant on a pas de retour...


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

latwingo
Actif
Messages : 504
Inscription : 24 nov. 2014, 10:58
Localisation : Cagnes Sur Mer

Re: [Plugin Tiers] Plugin Alexa-API

Message par latwingo » 09 avr. 2019, 13:40

Oki j'ai réussi sais on a quelle heure amazon nous déconnecte et faut il redémarré le démon avant ou après la sauvegarde journalière

Merci pour votre aide Philippe

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 » 09 avr. 2019, 13:47

non si c'était si simple on aurait déjà une solution ;)

on ne sait pas quand c'est, ni pourquoi ca arrive... le retour amazon ne dit rien, juste 0
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 :)

craps88
Timide
Messages : 14
Inscription : 14 janv. 2016, 15:27

Re: [Plugin Tiers] Plugin Alexa-API

Message par craps88 » 09 avr. 2019, 16:37

salut a tous et merci pour le travaille pour ma part impossible de lancer le demon le cookie amazon a l'air de se charger mais disparaît ensuite .


si une bonne âme a une idée pour m aider .? :)

voici le log du cookie amazon ou se situe le probleme (je pense )

Code : Tout sélectionner

Alexa-Remote: Error from retrieving cookies
initCookie - SyntaxError: Unexpected end of JSON input
Alexa-Remote: No cookie given, generate one
Alexa-Cookie: Use as Login-Amazon-URL: amazon.fr
Alexa-Config (alexa-cookie.js): amazonserver=amazon.fr
Alexa-Config (alexa-cookie.js): alexaserver=alexa.amazon.fr
Alexa-Cookie: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Alexa-Cookie: Use as Accept-Language: fr-FR
Alexa-Cookie: Proxy mode disabled
[HPM] Proxy created: !/cookie-success  ->  https://alexa.amazon.com
[HPM] Proxy rewrite rule created: "^/www.amazon.com" ~> ""
[HPM] Proxy rewrite rule created: "^/alexa..amazon.com" ~> ""
events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::3457
at Server.setupListenHandle [as _listen2] (net.js:1360:14)
at listenInCluster (net.js:1401:12)
at Server.listen (net.js:1485:7)
at Function.listen (/var/www/html/plugins/alexaapi/resources/node_modules/express/lib/application.js:618:24)
at Object.initAmazonProxy (/var/www/html/plugins/alexaapi/resources/lib/proxy.js:302:22)
at Object.generateAlexaCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-cookie.js:345:21)
at AlexaRemote.generateCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:397:26)
at getCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:113:22)
at AlexaRemote.init (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:155:9)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:11:7)
Router: / / GET / {"host":"192.168.0.15:3457","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","referer":"http://192.168.0.15/index.php?v=d&p=plugin&id=alexaapi","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NRA26WTP9ZYB6GTAHKH4+s-NRA26WTP9ZYB6GTAHKH4|1554820060237&t:1554820060237&adb:adblk_yes"}
Alexa-Cookie: Initial Page Request: https://www.amazon.com/ap/signin?openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fmaplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns.oa2=http%3A%2F%2Fwww.amazon.com%2Fap%2Fext%2Foauth%2F2&openid.oa2.client_id=device%3A548157213148616177280040740248704155634813124848230768828327028123413249564c5635564d32573831&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.oa2.response_type=token&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=fr_FR
Alexa-Cookie: Proxy-Request: GET /
Alexa-Cookie: Headers: {"cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NRA26WTP9ZYB6GTAHKH4+s-NRA26WTP9ZYB6GTAHKH4|1554820060237&t:1554820060237&adb:adblk_yes","accept-language":"fr-FR","accept-encoding":"gzip, deflate","referer":"http://192.168.0.15/index.php?v=d&p=plugin&id=alexaapi","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","user-agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","upgrade-insecure-requests":"1","connection":"close","host":"www.amazon.com"}
Alexa-Cookie: Headers: {"cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NRA26WTP9ZYB6GTAHKH4+s-NRA26WTP9ZYB6GTAHKH4|1554820060237&t:1554820060237&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","accept-language":"fr-FR","accept-encoding":"gzip, deflate","referer":"http://192.168.0.15/index.php?v=d&p=plugin&id=alexaapi","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","user-agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","upgrade-insecure-requests":"1","connection":"close","host":"www.amazon.com"}
Alexa-Cookie: Proxy Response from Host: www.amazon.com
Alexa-Cookie: MODIFIED Response Body to rewrite URLs
Router: /www.amazon.com/ap/signin / POST / {"host":"192.168.0.15:3457","connection":"keep-alive","content-length":"9673","cache-control":"max-age=0","origin":"http://192.168.0.15:3457","upgrade-insecure-requests":"1","content-type":"application/x-www-form-urlencoded","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","referer":"http://192.168.0.15:3457/","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NM2TJQ8QX127MXVE3T7R+s-NM2TJQ8QX127MXVE3T7R|1554820079984&t:1554820079984&adb:adblk_yes"}
Alexa-Cookie: Proxy-Request: POST /www.amazon.com/ap/signin
Alexa-Cookie: Headers: {"cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NM2TJQ8QX127MXVE3T7R+s-NM2TJQ8QX127MXVE3T7R|1554820079984&t:1554820079984&adb:adblk_yes","accept-language":"fr-FR","accept-encoding":"gzip, deflate","referer":"http://192.168.0.15:3457/","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","user-agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","content-type":"application/x-www-form-urlencoded","upgrade-insecure-requests":"1","origin":"http://192.168.0.15:3457","cache-control":"max-age=0","content-length":"9673","connection":"close","host":"www.amazon.com"}
Alexa-Cookie: Headers: {"cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\"; csm-hit=tb:NM2TJQ8QX127MXVE3T7R+s-NM2TJQ8QX127MXVE3T7R|1554820079984&t:1554820079984&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","accept-language":"fr-FR","accept-encoding":"gzip, deflate","referer":"http://192.168.0.15:3457/","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","user-agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","content-type":"application/x-www-form-urlencoded","upgrade-insecure-requests":"1","origin":"http://192.168.0.15:3457","cache-control":"max-age=0","content-length":"9673","connection":"close","host":"www.amazon.com"}
Alexa-Cookie: Modify headers: Changed Referer
Alexa-Cookie: Modify headers: Delete Origin
Alexa-Cookie: Proxy Response from Host: www.amazon.com
Alexa-Cookie: Proxy detected SUCCESS!!
Alexa-Cookie: Proxy catched cookie: registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==
Alexa-Cookie: Proxy catched parameters: {"openid.assoc_handle":"amzn_dp_project_dee_ios","aToken":"Atza|IwEBINL65kgaNks5mkCJLJoSzHOU5CdEdkLUV40tm3hj6YkujfeGI7xpn2UDeNT3DzHeEHG06SJoIwtO9U2KhlKlDuNjiH5tc1wCA6X7bxkPuj014r9eQQQea22T9OsivxS5ljproD1Tz0U-JXKKQ9subYd5G6y0Bpp1AF743tm4Z6LDcdeTr15p43laC0OiiIUpmjGFVjKAlejZtcfxzjqhHxrjihIF0LEOs_-WgBAq0QvF1aTncHjDOx163yF1aPCn-UGbZYaXrthX5kUP0BU95OMziG8tBYnNW0CEoSrpWRr8rVsSUBfS_an0AwoWne-T7cELmctnKKsndbhXmi5xmkDhNz0ffM8BR-o2OPsr_YsZCxX4M0r2x4TVoXFwxav1WsA7lCM0pQmHjYsn_XzYL2oU8h3UnZppGGowbXqkOL89FFAZGCPbOrhBTXbATJN7LAE","openid.claimed_id":"https://www.amazon.com/ap/id/amzn1.account.AEWEWA76NHJEOUDLKUK6HZSSDAZA","openid.identity":"https://www.amazon.com/ap/id/amzn1.account.AEWEWA76NHJEOUDLKUK6HZSSDAZA","openid.mode":"id_res","openid.ns":"http://specs.openid.net/auth/2.0","openid.op_endpoint":"https://www.amazon.com/ap/signin","openid.response_nonce":"2019-04-09T14:28:07Z-4994402905134914204","openid.return_to":"https://www.amazon.com/ap/maplanding","openid.signed":"assoc_handle,aToken,claimed_id,identity,mode,ns,op_endpoint,response_nonce,return_to,ns.pape,pape.auth_policies,pape.auth_time,oa2.access_token,oa2.token_type,oa2.scope,signed","openid.ns.pape":"http://specs.openid.net/extensions/pape/1.0","openid.pape.auth_policies":"http://schemas.openid.net/pape/policies/2007/06/none","openid.pape.auth_time":"2019-04-09T14:28:07Z","openid.sig":"57XmKOrVY0wLPG9DU8kG1gJMwh9/kJCZJawsoabVEdc=","serial":"","openid.oa2.access_token":"Atna|EwICID1YdC4BZibgxSKS-JSQCfOjsbPYbCG5TiXtwaBNMTxTl-EpLluUw6v5-OoEdC9_H6H6YKjMV8KZLYxWJyfyFzGr1TUG4yTIi9w1nUdiFOHKfeYpT8T8eSKinbclU_QUfLLtZfW36Y-jPRZuJHLoVPaBAVoCsIr6nADHqdeoyCwfJ-QQk81SdVlYbwFhGqVqBr4ut2qUYIPP0Jl8kQ5u0egst0Pn48DTKu26hnEiNpCl0v8149CxLEpH4s4x5ExdaO94g75UI0FHQADsj4JUYSzys45mC6C_KwOhB6k-g_O6W4cK9hXDd2rdyHi7HxFi_MBfrnfFOqYL2PzLSTPfRRSf","openid.oa2.token_type":"bearer","openid.ns.oa2":"http://www.amazon.com/ap/ext/oauth/2","openid.oa2.scope":"device_auth_access"}
Handle token registration Start: {"loginCookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","accessToken":"Atna|EwICID1YdC4BZibgxSKS-JSQCfOjsbPYbCG5TiXtwaBNMTxTl-EpLluUw6v5-OoEdC9_H6H6YKjMV8KZLYxWJyfyFzGr1TUG4yTIi9w1nUdiFOHKfeYpT8T8eSKinbclU_QUfLLtZfW36Y-jPRZuJHLoVPaBAVoCsIr6nADHqdeoyCwfJ-QQk81SdVlYbwFhGqVqBr4ut2qUYIPP0Jl8kQ5u0egst0Pn48DTKu26hnEiNpCl0v8149CxLEpH4s4x5ExdaO94g75UI0FHQADsj4JUYSzys45mC6C_KwOhB6k-g_O6W4cK9hXDd2rdyHi7HxFi_MBfrnfFOqYL2PzLSTPfRRSf","frc":"aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==","map-md":"eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","deviceId":"548157213148616177280040740248704155634813124848230768828327028123413249564c5635564d32573831"}
Alexa-Cookie: Register App
{"host":"api.amazon.com","path":"/auth/register","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"fr-FR","Accept-Charset":"utf-8","Connection":"keep-alive","Content-Type":"application/json","Cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","Accept":"*/*","x-amzn-identity-auth-domain":"api.amazon.com"},"body":"{\"requested_extensions\":[\"device_info\",\"customer_info\"],\"cookies\":{\"website_cookies\":[{\"Value\":\"FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR\",\"Name\":\"registerDevice\"},{\"Value\":\"3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a\",\"Name\":\"jeedom_token\"},{\"Value\":\"lgjh5aulncqfc1aiompdseeh64\",\"Name\":\"sess_id\"},{\"Value\":\"130-1627418-2578040\",\"Name\":\"session-id\"},{\"Value\":\"2185425023l\",\"Name\":\"session-id-time\"},{\"Value\":\"133-2128171-5501750\",\"Name\":\"ubid-main\"},{\"Value\":\"lgjh5aulncqfc1aiompdseeh64\",\"Name\":\"PHPSESSID\"},{\"Value\":\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\",\"Name\":\"session-token\"},{\"Value\":\"tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes\",\"Name\":\"csm-hit\"},{\"Value\":\"aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==\",\"Name\":\"frc\"},{\"Value\":\"eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==\",\"Name\":\"map-md\"}],\"domain\":\".amazon.com\"},\"registration_data\":{\"domain\":\"Device\",\"app_version\":\"2.2.223830.0\",\"device_type\":\"A2IVLV5VM2W81\",\"device_name\":\"%FIRST_NAME%'s%DUPE_STRATEGY_1ST%ioBroker Alexa2\",\"os_version\":\"11.4.1\",\"device_serial\":\"f445519acbc8a4294a53d44675d5cb6f\",\"device_model\":\"iPhone\",\"app_name\":\"ioBroker Alexa2\",\"software_version\":\"1\"},\"auth_data\":{\"access_token\":\"Atna|EwICID1YdC4BZibgxSKS-JSQCfOjsbPYbCG5TiXtwaBNMTxTl-EpLluUw6v5-OoEdC9_H6H6YKjMV8KZLYxWJyfyFzGr1TUG4yTIi9w1nUdiFOHKfeYpT8T8eSKinbclU_QUfLLtZfW36Y-jPRZuJHLoVPaBAVoCsIr6nADHqdeoyCwfJ-QQk81SdVlYbwFhGqVqBr4ut2qUYIPP0Jl8kQ5u0egst0Pn48DTKu26hnEiNpCl0v8149CxLEpH4s4x5ExdaO94g75UI0FHQADsj4JUYSzys45mC6C_KwOhB6k-g_O6W4cK9hXDd2rdyHi7HxFi_MBfrnfFOqYL2PzLSTPfRRSf\"},\"user_context_map\":{\"frc\":\"aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==\"},\"requested_token_type\":[\"bearer\",\"mac_dms\",\"website_cookies\"]}"}
Alexa-Cookie: Sending Request with {"host":"api.amazon.com","path":"/auth/register","method":"POST","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"fr-FR","Accept-Charset":"utf-8","Connection":"keep-alive","Content-Type":"application/json","Cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==","Accept":"*/*","x-amzn-identity-auth-domain":"api.amazon.com"},"body":"{\"requested_extensions\":[\"device_info\",\"customer_info\"],\"cookies\":{\"website_cookies\":[{\"Value\":\"FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR\",\"Name\":\"registerDevice\"},{\"Value\":\"3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a\",\"Name\":\"jeedom_token\"},{\"Value\":\"lgjh5aulncqfc1aiompdseeh64\",\"Name\":\"sess_id\"},{\"Value\":\"130-1627418-2578040\",\"Name\":\"session-id\"},{\"Value\":\"2185425023l\",\"Name\":\"session-id-time\"},{\"Value\":\"133-2128171-5501750\",\"Name\":\"ubid-main\"},{\"Value\":\"lgjh5aulncqfc1aiompdseeh64\",\"Name\":\"PHPSESSID\"},{\"Value\":\"hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==\",\"Name\":\"session-token\"},{\"Value\":\"tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes\",\"Name\":\"csm-hit\"},{\"Value\":\"aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==\",\"Name\":\"frc\"},{\"Value\":\"eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==\",\"Name\":\"map-md\"}],\"domain\":\".amazon.com\"},\"registration_data\":{\"domain\":\"Device\",\"app_version\":\"2.2.223830.0\",\"device_type\":\"A2IVLV5VM2W81\",\"device_name\":\"%FIRST_NAME%'s%DUPE_STRATEGY_1ST%ioBroker Alexa2\",\"os_version\":\"11.4.1\",\"device_serial\":\"f445519acbc8a4294a53d44675d5cb6f\",\"device_model\":\"iPhone\",\"app_name\":\"ioBroker Alexa2\",\"software_version\":\"1\"},\"auth_data\":{\"access_token\":\"Atna|EwICID1YdC4BZibgxSKS-JSQCfOjsbPYbCG5TiXtwaBNMTxTl-EpLluUw6v5-OoEdC9_H6H6YKjMV8KZLYxWJyfyFzGr1TUG4yTIi9w1nUdiFOHKfeYpT8T8eSKinbclU_QUfLLtZfW36Y-jPRZuJHLoVPaBAVoCsIr6nADHqdeoyCwfJ-QQk81SdVlYbwFhGqVqBr4ut2qUYIPP0Jl8kQ5u0egst0Pn48DTKu26hnEiNpCl0v8149CxLEpH4s4x5ExdaO94g75UI0FHQADsj4JUYSzys45mC6C_KwOhB6k-g_O6W4cK9hXDd2rdyHi7HxFi_MBfrnfFOqYL2PzLSTPfRRSf\"},\"user_context_map\":{\"frc\":\"aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==\"},\"requested_token_type\":[\"bearer\",\"mac_dms\",\"website_cookies\"]}"}
Alexa-Cookie: Response (200)
Register App Response: {"response":{"success":{"extensions":{"device_info":{"device_name":"Georgel's 33ème ioBroker Alexa2","device_serial_number":"f445519acbc8a4294a53d44675d5cb6f","device_type":"A2IVLV5VM2W81"},"customer_info":{"account_pool":"AmazonJP","user_id":"amzn1.account.AH6Y7DOHWB2GC44ISINZJ33HJYHQ","home_region":"FE","name":"Georgel","given_name":"Georgel"}},"tokens":{"website_cookies":[{"Path":"/","Secure":"false","Value":"131-2236564-8533802","Expires":"4 Apr 2039 14:28:08 GMT","Domain":".amazon.com","HttpOnly":"false","Name":"session-id"},{"Path":"/","Secure":"false","Value":"134-1511153-3425303","Expires":"4 Apr 2039 14:28:08 GMT","Domain":".amazon.com","HttpOnly":"false","Name":"ubid-main"},{"Path":"/","Secure":"false","Value":"\"AVwUhynFB4RMQECYRH9NT8cqn@qLe7MpggqTrwX1olMkS8VRE?3mll1kM72SjCRT\"","Expires":"4 Apr 2039 14:28:08 GMT","Domain":".amazon.com","HttpOnly":"false","Name":"x-main"},{"Path":"/","Secure":"true","Value":"\"Atza|IwEBIFohlL6VXdq9urkz5RaBTFym8gaBnF57KaTiRCs7VwrEjjGZIxkJ_yxEbs_EhfJhAngvuS9_gW1kY9dMxNwooJOGu51urx3Cy5XiieQzjdEDCZOzuMJwV6JuMyrlf5GrYdSr1XmSpCasHOOiw3QA5ZAE9wBn2ezUYhwzYV3fVM-R1Ha5joY1a2e1AVgZM1HRRvfTA7kkf9r3boex3S7thvOAkNHMMk1Q9ZCeRSK9E2ESt38s-GYFnJsUM7reJEwMXgOt0k27DsTBwQTbaTCBpFuBZFDxy1iwxLSB1oKpRBMFXsPBeYFZmOkfG2ZSiz3TXttIc0P8ulmTabEDGmQ-LfYu3P6TiBltj4BppPYffDPVYAoJNLOU882k4zyEjx3IMSI8tsCG8LcCv6RcBrElGKQIKw_A6FlPqpQPSix5KcMjvORghT9ZesxtgfGW8KcAotk\"","Expires":"9 Apr 2019 15:28:08 GMT","Domain":".amazon.com","HttpOnly":"true","Name":"at-main"},{"Path":"/","Secure":"true","Value":"\"GKFfIz2pniOCPj3q0PriEigrmfAcfXsBasKt6SFd/hM=\"","Expires":"9 Apr 2019 15:28:08 GMT","Domain":".amazon.com","HttpOnly":"true","Name":"sess-at-main"}],"mac_dms":{"device_private_key":"MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD6Bnqe2hNpDV5WNGlFomrU9689By+nrPltwjHJnUysZyM5VNeAYu7NvY8a31pc1pPqFlKDCbXNDHGxE7j1QdUWNXQ8E7PiOV7e5nqSSHrP0tJVMTLHCkmT73fx5Gq3cWUmn7gqJxXjuH44rQU1HGhOfAEJ+RgdhyTthH/Fs/AC7n6MoEe+LnQTWx259IOLJTP4ZlVcJK+KzxenXG718FJONJ5SA7cL7iHQD3K7kQLEaUgoVMNNZdxSXWUIeLv1u4m3ILbOC+kaJOKP1uxRSPh6INKcaJXKowbEmwuIsdcXPhQMSDiT5Rt5veFTyBYMIWDut+p1ACiEryVzmReZtkNpAgMBAAECggEAWt3D7rt+1m0fXeEKaV5PyTqDG4DjFuNMe1FaWtWqKfYJ3Soyb9yEwY0k1zVZV+g8NZULQ8hhpDXjk+GBFNFqKfofVj4q4ArNqeDFpyhkSedqvb91ntTkTLl5NBY5mpXBlznw6pDt6acBaIOpItZCKlPy5Lb8xq55A0FmVmnAzq86tIGhUysAHUVlNH9Fe4w/YThaiox83stNa7OxBjHdflO1M0Ytea3ddgaI+C96hMgEKxTiTCfhkUhWxFvmPAl3fOUoasDr58c6iINMQyJVPwQBumO/93+AOozzljwDVMWoKllwpwZaiE5puQt3/SQZZjdxgI7F1Hqit5Sp/VEfIQKBgQD+/hqPqNp+K3GWP0TUwltfwnaxIH/0UhfzlQbBDCVRKS1f9XlohF/appVarTB8UCzyIMCrQrCAoYEWN201qegNDtb+QrBQmp85UWT4JkFBCS61uJUeD9uK6kUEWS9QEG6T9+oC9Wkcm9tERMefErlOR3ODvAwXkqsVdGOJtKJJ5QKBgQD7A1n0Trg/ra8TVewhdWKt8/H3OH5z3IQFMSuEZ7ACJyS93gT6dXaDI1Q6a8ucyTR6zE0/pf8B892eXffI2X2BtIMwISbFp4k/ZhCRJrl3PRVF25O6KVG1T+MK6cevlO8L/8zcpAUEnuQILkQlSBUMVH9IZCA3LIYfwFxLma2rNQKBgFVJaFjkgS/yF+vI/Zyr5SQCRvC3jhSJ4Lj3/2pSRaj/vM17rT/oBqd7UDkj9DOgHWhezBJ8G8zqN+LWZxCr45F6hS5F3/MVxGvHbZ4SLYEzMQxW0IldhHDSKoNp0QlWdaXIJd0XeDC5cH1FA/+Qo6oq+9fz7Zd01wQ2CZTldeKBAoGAGKl4ohdF5QPEisrLW3I0EtE/+cE0M1/8HKJ7GxQw59U+t+TjalQ2I6ZJ9T94Dtx56oK+KD2/80opgRDMcpBj02WP6h+nto3CX1dA03IRkNSQjX+IYScEHyNNNFpJw0eHwQ8N6rO2xoBx+RfKnDsbzk1TACLOQ319ZAs7RjZAKO0CgYEAzd/X3NJgKJKre8dYyU9WZKfgQTp6QlQQyG8+Jy/YKO4j1+h+fQMNx/ACKa7bJw9YMjomMPkjufUaMCC7QHENUi8Dt6w2oANtm3XnLXzxxR/l7OFGq2pAYUuZYx0tp1fxtN9o49PVa48/rVQNWwMziTtlHwxGZDnYEamescDVkPU=","adp_token":"{enc:ZMVut2yPL9/P8/o5jq0xB4qDEcBekyn3L3tHPe833p/+HMYTzSUVQEjPfFV5yiSSUslHJxaImsNRmYWwqp5fdQogkxpTAZ45VsTYP8Uvn1TZp2NZCrmnQaaWS3bcBRB8ltfNNiJYDSwyw2BmDXkjVCMfR8P8SRu7A59GLoZJSGN2ojkG6aIA6iwSlBNZjeO0AmPOluN1Voo5tKv9nVme6YWfwAZxdkzg1zXv2jTuph9ZnRx/c2IYhBpF0fVsv6WT/gL63ibmBPi/rKCC3Vy3IfWwGtShEKKZwSrSDGzaHJMUrtl8uZ6FpJ/ilDdLKmh3PrPOdnXSyEvVXhmSQE1IRUMJg3e5dtZPUQ92LfLSjxRDKguB3eAcWInT6B+dQ1msdGjrX51yGxAaM8I2b0PCRWCYNbzM6I2WxVFfYNmBImkfak9+HRjU0orRtrXPhhdtIO4sqprm3+6d8U/9d6A8Ib+m5i3ygygh3aOdHSbBmfMMBE2Fi6qK6j3tHCRN3TzudKBPMSYrgSsnzIzli7fQFp1X2MKgyuub7SKAFWyUcNq1f8rybcMQ1N+kCDZ2YLkmzEfMUrsh7zQ6uYWQDYGRZLOGuLXdm59QIYMIif7lxtbrWcv6+jylZ/yr4XW5zLtYMiDZu0r0tbfLt9B7X3thscb1cTxQwMl+jg+K1koVHY7kdlAWlq+CvTmQY0eP12icSSwrCBoYZoYcnJiu28Jl41JWFhbhasMSlRgD7wKoAZVhogG9v4r/glJBmsUCP7bhkZkaHtI3zBeEN15y4gsqSWTu71rY6rjSEkJ4dcCRaqIVqZnRqW6pmWs5RbZgvgJ8JVpdpLJ2ZiCQb/G09LKIyodTJHfeNI6LVp8SCHNWbMJNNjHwap0AuKrYV1LNxPe07FOhkwrfXKp5EzQami/vWbBhuiVaLZc23y0yVCRrWMQB53SEfPkCZ/yYjefPdcwy/JKj0kZZsI7gDy/dmn1867amTgg2T41KKEgJQcVAjeV6HtZoJxR+hHlO3PScav497Dvf9bYGqLfEe9VgWtnpDLCainFZH2QhlNL6iRDV8y3yXT34bo2/dzRivwLQpBE+}{key:BhxoKEkvrqJa67XG+ndVsgjk/tLCqmjVHy4BUQ1K7j9juXRRsGwm4Eao1HX1Z43dMfxnsmPWsyP/0ShfX1N+aH0rk4XsUAlMSVFgoM2vti9QHdxBEGaFS/JgqhneInMOMat8gJJVUt/TbeQCzCeVeB3b28rOlVlUpukLxVf332aab1Ji9hl6rOZ78SsynLVV4+ksmP2npFWttOCOwmK9yI0Cyb3+w8vv4Mw+9TRJHEp+OELf5OqQ1hRvZmVSHLBJA1AkVNdTWa5Hzuq6e9BqEnSYKoAmpP41tIrp0wzQTAjGsWNMg6p/oFtZGvx8c7/b68X7Lg+vhCyNyj+fxUESVA==}{iv:i5odcJfXSTdb8XLmC75WbQ==}{name:QURQVG9rZW5FbmNyeXB0aW9uS2V5}{serial:Mg==}"},"bearer":{"access_token":"Atna|EwICIPWd1r7ahVKT0XuBKzmUhqKobXyBFH1y_8h2OmIttWpJs9EL7LSvpzxmsVFQ9SyBrXtvT3sbOolz_qEUBnJvIcEn7F4Zen6jIF3EpJouskMkibBWqj8_oCFYuc0p_YBuU7aNcBylq-_xuPyUhMvVkd3Anj-BLgxH_VkSR7y7V-K-C6n-wfii-xD_wf9oaShNr51KA6O0Xpl4zhn4nMAanOskdsciF1y1TX_UOVwyJZHQaraPIu2gwOvhtoeRb_NhG4PA-UzW9qJKJhBL9-gD5reNx8Kuwul6QTwWfWbwnOxZzTep7z8YrHXj_DlMn11CemKj58TgkHeKOyLGjRnGgDs_dudTHfUSw6QY3LtL8NPCNQ","refresh_token":"Atnr|EwICIO3dZU_gS1Lake3v6iGngvjhV_xkd658TAZ2rG3SXCljHbMphf-CNX0Wf1fWSEShKWql64xTEto5Kdj9kgCeBfcGDCSQb0dHqW0_9JR-0D2Nz59xR_UmG-osaXBjAGUeb9DKyI02GwcmXdalG3Nay_5YsZx7ctL32x9w-dBnTshEtw_HNoQuNxqUvgGOXiva-2ujm78JrFMfhQOfL2PLc7DHaJ7txXCnbNfKy10KYMnIFn31CqjO234Epgf1O61PKLNc3KHNGJmigqHlYO4CWHSHNRp3wuBoqcemCfw93awtumz9hAKq5jo-EuEG2UMuiOv6cnowOLFJQa8pm3iX1km5ApsV6CA8HGVXM4hnTwI8aA","expires_in":"3600"}},"customer_id":"amzn1.account.AH6Y7DOHWB2GC44ISINZJ33HJYHQ"}},"request_id":"b22eee05-5ad3-11e9-a41b-ed608ad469d1"}
Alexa-Cookie: Get User data
{"host":"alexa.amazon.com","path":"/api/users/me?platform=ios&version=2.2.223830.0","method":"GET","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"fr-FR","Accept-Charset":"utf-8","Connection":"keep-alive","Accept":"application/json","Cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ=="}}
Alexa-Cookie: Sending Request with {"host":"alexa.amazon.com","path":"/api/users/me?platform=ios&version=2.2.223830.0","method":"GET","headers":{"User-Agent":"AmazonWebView/Amazon Alexa/2.2.223830.0/iOS/11.4.1/iPhone","Accept-Language":"fr-FR","Accept-Charset":"utf-8","Connection":"keep-alive","Accept":"application/json","Cookie":"registerDevice=FIJy8MwTmX7dy88w9UVMm8K8i3kM9WK9-LiHYZxuJHqhbeseRjDbtBQmDhjT7dfqR; jeedom_token=3uhpWT9u2jXWL4jEhxHWG01vyBTxMS8a; sess_id=lgjh5aulncqfc1aiompdseeh64; session-id=130-1627418-2578040; session-id-time=2185425023l; ubid-main=133-2128171-5501750; PHPSESSID=lgjh5aulncqfc1aiompdseeh64; session-token=hRlJlgc7UPPWqnvkgv5/HZYwa8MQJjk9Lc9gud98k7fuInXqEQRLHq7ZzjZlTKXpLvo+D11tiZ3vLV17KEQwvItePxDxbcALcy9aAn3xkdKCqsrcGlcqeLgjtMNHZ/BTBRepj8ydpLtsn2y2X4fzIEBEYK3SFQLdfvRE8HfT2f0jUoJruVblAChz6OzDxNs2vuq/YI5NVd+SubuNBoqjhg==; csm-hit=tb:XV25BX240VSKX6ZVRW86+s-XV25BX240VSKX6ZVRW86|1554819152281&t:1554819152281&adb:adblk_yes; frc=aVWiPYwE5aRLg2y3yiBN74xY3gIhbzPCoFwGkPLNVqRIOWhYUkWCwr0kvO3vTf6sLPbnWNm8M7RqnV/3xqbgSkRUVO56BWkNcnJauFTZwQUy0I6icTggpXtZv2hST+yyd/1SaM0Fj1F4xttmQNB+t4bz8BFhb5sySa+08JLqpz9+Sb4drakuc+y2UJErIyrudKgQ9PC0LVxHSfP6mUxXQNV6dtLxM8OqsqLx4v2zjXW3ePW3i39dd0iq7JB/mdQa22Z5+6JC0t5C2VbbJvtRl/SXRgPUl9Yh0Lgef80X99PELiXbAZfSkX0CuAvWnzjTN08omnuWZoo+uQIEnkqx+8pQn/mGSMp8E/5jBReQexkCExAnB/OhxZfuq7v1EPmHuWdvEICU923bIj3FygTSZLWJqZCp3WCuIw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ=="}}
Alexa-Cookie: Response (401)
Get User data Response: ""
Alexa-Remote: Error from retrieving cookies
initCookie - SyntaxError: Unexpected end of JSON input


Alexa-Remote: Error from retrieving cookies
initCookie - SyntaxError: Unexpected end of JSON input


merci de votre aide

Répondre

Revenir vers « [Catégorie] Communication »

Qui est en ligne ?

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